FS#11084 - Proftpd rebuild breaks with mysql
Attached to Project:
Arch Linux
Opened by Omar Chicas (theone) - Friday, 01 August 2008, 06:08 GMT
Last edited by Douglas Soares de Andrade (dsa) - Sunday, 11 January 2009, 12:59 GMT
Opened by Omar Chicas (theone) - Friday, 01 August 2008, 06:08 GMT
Last edited by Douglas Soares de Andrade (dsa) - Sunday, 11 January 2009, 12:59 GMT
|
Details
Description:
Is it possible to build proftpd with mysql support? Would like mod_quotatab_sql mod_sql I tried myself with abs, but I get this error: make[1]: Entering directory `/root/abs/proftpd/src/proftpd-1.3.1/lib' gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I../lib/libltdl -march=i686 -mtune=generic -O2 -pipe -Wall -c pr_fnmatch.c In file included from /usr/include/asm/sigcontext.h:4, from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:333, from /usr/include/sys/wait.h:31, from ../include/conf.h:95, from pr_fnmatch.c:38: /usr/include/asm/types.h:6: error: conflicting types for 'mode_t' /usr/include/sys/types.h:72: error: previous declaration of 'mode_t' was here make[1]: *** [pr_fnmatch.o] Error 1 make[1]: Leaving directory `/root/abs/proftpd/src/proftpd-1.3.1/lib' make: *** [lib] Error 2 Steps to reproduce with or without abs: In PKGBUILD: ./configure --prefix=/usr --disable-pam \ --with-modules=mod_quotatab:mod_quotatab_file:mod_sql \ --sysconfdir=/etc --localstatedir=/var --enable-ctrls --enable-dso |
This task depends upon
Closed by Douglas Soares de Andrade (dsa)
Sunday, 11 January 2009, 12:59 GMT
Reason for closing: Not a bug
Sunday, 11 January 2009, 12:59 GMT
Reason for closing: Not a bug
./configure --prefix=/usr --disable-pam \
--with-modules=mod_quotatab:mod_quotatab_file:mod_quotatab_sql:mod_sql:mod_sql_mysql \
--sysconfdir=/etc --localstatedir=/var --enable-ctrls \
--with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql
Still no luck:
cd lib/ && make lib
make[1]: Entering directory `/home/builder/abs/proftpd/src/proftpd-1.3.1/lib'
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I../lib/libltdl -I/usr/include/ mysql -march=i686 -mtune=generic -O2 -pipe -Wall -c pr_fnmatch.c
In file included from /usr/include/asm/sigcontext.h:4,
from /usr/include/bits/sigcontext.h:28,
from /usr/include/signal.h:333,
from /usr/include/sys/wait.h:31,
from ../include/conf.h:95,
from pr_fnmatch.c:38:
/usr/include/asm/types.h:6: error: conflicting types for 'mode_t'
/usr/include/sys/types.h:72: error: previous declaration of 'mode_t' was here
make[1]: *** [pr_fnmatch.o] Error 1
make[1]: Leaving directory `/home/builder/abs/proftpd/src/proftpd-1.3.1/lib'
make: *** [lib] Error 2
==> ERROR: Build Failed.
Aborting...