RE: Rpmbuild question

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

 



On Fri, 27 Aug 2004, Paul Howarth wrote:

> 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.

Well, I didn't mention it because it actually is there too. Look at:

	http://dag.wieers.com/packages/proftpd/proftpd.spec

You'll see:

	%{?_with_mysql:--with-libraries="%{_libdir}/mysql"} \
	%{?_with_postgresql:--with-libraries="%{_libdir}"} \
	--with-modules=mod_readme:mod_auth_pam%{?_with_ldap::mod_ldap}%{?_with_mysql::mod_sql:mod_sql_mysql}%{?_with_postgresql::mod_sql:mod_sql_postgres}%{!?_without_tls::mod_tls}

So it is well designed to handle all the situations and what has happened 
should not have happened, unless he did --nodeps. Or did I miss something ?

Kind regards,
--   dag wieers,  dag@xxxxxxxxxx,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux