RE: Rpmbuild question

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

 



Hello,
> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx 
> [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Paul Howarth
> Sent: Tuesday, August 31, 2004 3:24 AM
> To: For users of Fedora Core releases
> Subject: RE: Rpmbuild question
> 
> 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_pos
> > tgres}%{!?_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 ?

No, I didn't use --nodeps.  I did as Paul suggessted:
rpmbuild --rebuild --with mod_sql --with mod_sql_mysql
proftpd-1.2.10-0.rc3.2.src.rpm

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

No, I didn't touch the spec file.  I would'nt have know what to edit.

It rebuilt but I was unable to get proftpd setup so I went back to vsftpd.
I tried to setup up a db as in the example but could not get the tables to
create.  I finally changed a few things and created a db that was similar.
Then, I figured I'd have to manually insert all ftp users into the db. Then
I wondered could some users (virtual host) be authenticated using mysql and
others in a different virtual host by PAM or whatever vsftpd is using.

I was getting over my head fast so I just went back to vsftpd.

I do appreciate the help from both of you!!

Thanks!!




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

  Powered by Linux