Rpmbuild question

Paul Howarth paul at city-fan.org
Fri Aug 27 06:30:28 UTC 2004


On Fri, 2004-08-27 at 01:42, Dag Wieers wrote:
> Is it possible that you used --nodeps to have it continue ? Because the 
> SPEC file actually already takes care of it:
> 
> 	%{?_with_mysql:Requires: mysql}
> 	%{?_with_mysql:BuildRequires: mysql-devel, zlib-devel}
> 
> This will make sure that if you specify --with mysql, it will fail if you 
> don't have the BuildRequires installed.

He did have mysql-devel installed; building with mysql on FC2 requires
passing --with-libraries=%{_libdir}/mysql and also ensuring that mod_sql
is selected in addition to mod_sql_mysql. Those seemed to be the
problems that he came across.

Paul.
-- 
Paul Howarth <paul at city-fan.org>





More information about the fedora-list mailing list