[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rpm rebuild error



Hello,

Try 'rpmbuild --rebuild ...'.

Kind regards,
Michael.

On Tue, Jul 13, 2004 at 11:52:43PM +0800, ?????? wrote:
> Dear michael??
>    i download qmail-sql-1.03-0.25_2.src.rpm  from your site,i want to run
>    rpm --rebuild --with pgsql qmail-sql-1.03-0.25_2.src.rpm 
> but i get following:
> --rebuild: unknown option
>  then i do:
>  rpm -i  qmail-sql-1.03-0.25_2.src.rpm
> cd /usr/src/redhat/SPECS 
> rpmbuild -bb qmail-sql.spec
>  then i get:
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.65347
> + umask 022
> + cd /usr/src/redhat/BUILD
> + db_defined=0
> + '[' 0 == 0 ']'
> + echo Build with rpm --with mysql to build qmail-sql with mysql
> Build with rpm --with mysql to build qmail-sql with mysql
> + echo Build with rpm --with pgsql to build qmail-sql with postgresql
> Build with rpm --with pgsql to build qmail-sql with postgresql
> + echo Build with rpm --with unixodbc to build qmail-sql with unixodbc
> Build with rpm --with unixodbc to build qmail-sql with unixodbc
> + exit 1
> error: Bad exit status from /var/tmp/rpm-tmp.65347 (%prep)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.65347 (%prep)
> how can i do?
> My system is redhat as3
> can you help me?
> thx
>                                       victor