Rpmbuild question

Paul Howarth paul at city-fan.org
Tue Aug 31 07:24:21 UTC 2004


On Tue, 2004-08-31 at 01:15, Dag Wieers wrote:
> On Fri, 27 Aug 2004, Paul Howarth wrote:
> > 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 ?

Well that all looks fine so I don't know what was happening. Somehow
he'd got it looking for but not finding the mysql libraries. I wonder if
he'd edited the spec file?

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





More information about the fedora-list mailing list