Re: Rpmbuild question

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

 



Thomas E. Dukes wrote:
Thanks again for the help!  That solved one problem but I now have a new
one.  :-(

The last few lines:

Modules/mod_sql.o(.data+0x3c0):/usr/src/redhat/BUILD/proftpd-1.2.9/modules/m
od_sql.c:400 first defined here
Collect2: ld returned 1 exit status
Make: *** [profptd] Error 1
Error: Bad exit status from /var/tmp/rpm-tmp.32603 (%build)

Don't have a clue about this one.

I've just tried this with my own proftpd RPM. I found that if I specified the sql_mysql module without also specifying the sql module (first) then I got the same problem.


So I needed:

rpmbuild --rebuild --with mod_sql --with mod_sql_mysql proftpd.src.rpm

You might want to look for a similar option in your spec file.

I've now fixed my own RPM so that it automatically includes mod_sql if the mysql or postgres backends are selected. You can get the SRPM (1.2.10rc3) from:

http://www.city-fan.org/ftp/contrib/misc/

if you're interested. The binary RPMs don't have SQL support so you won't want those.

Cheers, Paul.



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

  Powered by Linux