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

rpm build problem



qmail-sql,
   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