[vchkpw] Compiling error with mysql
I'm trying to compiling vpopmail 5.3.29 with mysql 4.1.0 and I'm getting errors. Here's my configure: ./configure \ --enable-roaming-users=y \ --enable-logging=p \ --enable-defaultquota=20971520S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-domain-quotas=n \ --enable-mysql=y \ --enable-many-domains=n \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-valias=y \ --enable-incdir=/usr/local/mysql/include \ --enable-libdir=/usr/local/mysql/lib And here are the errors on make: gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'vpopmail.c' || echo './'`vpopmail.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'md5.c' || echo './'`md5.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'bigdir.c' || echo './'`bigdir.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'vauth.c' || echo './'`vauth.c vauth.c:33:19: mysql.h: No such file or directory vauth.c:40: parse error before mysql_update vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update' vauth.c:40: warning: data definition has no type or storage class vauth.c:41: parse error before mysql_read_getall vauth.c:41: warning: type defaults to `int' in declaration of `mysql_read_getall' vauth.c:41: warning: data definition has no type or storage class vauth.c:59: parse error before '*' token vauth.c:59: warning: type defaults to `int' in declaration of `res_update' vauth.c:59: warning: data definition has no type or storage class vauth.c:60: parse error before '*' token vauth.c:60: warning: type defaults to `int' in declaration of `res_read_getall' vauth.c:60: warning: data definition has no type or storage class vauth.c:68: parse error before row vauth.c:68: warning: type defaults to `int' in declaration of `row' vauth.c:68: warning: data definition has no type or storage class vauth.c:69: parse error before row_getall vauth.c:69: warning: type defaults to `int' in declaration of `row_getall' vauth.c:69: warning: data definition has no type or storage class vauth.c: In function `vauth_open_update': vauth.c:203: warning: implicit declaration of function `mysql_init' vauth.c:204: warning: implicit declaration of function `mysql_options' vauth.c:204: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function) vauth.c:204: (Each undeclared identifier is reported only once vauth.c:204: for each function it appears in.) vauth.c:207: warning: implicit declaration of function `mysql_real_connect' vauth.c:226: warning: implicit declaration of function `mysql_query' vauth.c:231: warning: implicit declaration of function `mysql_error' vauth.c:231: warning: format argument is not a pointer (arg 3) vauth.c:236: warning: implicit declaration of function `mysql_select_db' vauth.c: In function `vauth_adduser': vauth.c:403: warning: format argument is not a pointer (arg 3) vauth.c: In function `vauth_getpw': vauth.c:454: warning: format argument is not a pointer (arg 3) vauth.c:458: warning: implicit declaration of function `mysql_store_result' vauth.c:458: warning: assignment makes pointer from integer without a cast vauth.c:463: warning: implicit declaration of function `mysql_num_rows' vauth.c:464: warning: implicit declaration of function `mysql_free_result' vauth.c:482: warning: implicit declaration of function `mysql_fetch_row' vauth.c:483: subscripted value is neither array nor pointer vauth.c:483: subscripted value is neither array nor pointer vauth.c:483: subscripted value is neither array nor pointer vauth.c:483: subscripted value is neither array nor pointer vauth.c:483: subscripted value is neither array nor pointer vauth.c:484: subscripted value is neither array nor pointer vauth.c:484: subscripted value is neither array nor pointer vauth.c:484: subscripted value is neither array nor pointer vauth.c:484: subscripted value is neither array nor pointer vauth.c:484: subscripted value is neither array nor pointer vauth.c:484: subscripted value is neither array nor pointer vauth.c:485: subscripted value is neither array nor pointer vauth.c:485: subscripted value is neither array nor pointer vauth.c:486: subscripted value is neither array nor pointer vauth.c:486: subscripted value is neither array nor pointer vauth.c:487: subscripted value is neither array nor pointer vauth.c:487: subscripted value is neither array nor pointer vauth.c:487: subscripted value is neither array nor pointer vauth.c:487: subscripted value is neither array nor pointer vauth.c:487: subscripted value is neither array nor pointer vauth.c:487: subscripted value is neither array nor pointer vauth.c:488: subscripted value is neither array nor pointer vauth.c:488: subscripted value is neither array nor pointer vauth.c:488: subscripted value is neither array nor pointer vauth.c:488: subscripted value is neither array nor pointer vauth.c:488: subscripted value is neither array nor pointer vauth.c:488:
[vchkpw] Compiling error with mysql
I'm trying to compiling vpopmail 5.3.29 with mysql 4.1.0 and I'm getting errors. Here's my configure: ./configure \ --enable-roaming-users=y \ --enable-logging=p \ --enable-defaultquota=20971520S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-domain-quotas=n \ --enable-mysql=y \ --enable-many-domains=n \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-valias=y \ --enable-incdir=/usr/local/mysql/include \ --enable-libdir=/usr/local/mysql/lib And here are the errors on make: gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'vpopmail.c' || echo './'`vpopmail.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'md5.c' || echo './'`md5.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'bigdir.c' || echo './'`bigdir.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'vauth.c' || echo './'`vauth.c vauth.c:33:19: mysql.h: No such file or directory vauth.c:40: parse error before mysql_update vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update' vauth.c:40: warning: data definition has no type or storage class vauth.c:41: parse error before mysql_read_getall vauth.c:41: warning: type defaults to `int' in declaration of vauth.c:693: subscripted value is neither array nor pointer vauth.c:693: subscripted value is neither array nor pointer vauth.c: In function `vauth_setpw': vauth.c:781: warning: format argument is not a pointer (arg 3) vauth.c: In function `vopen_smtp_relay': vauth.c:820: warning: format argument is not a pointer (arg 3) vauth.c:823: warning: implicit declaration of function `mysql_affected_rows' vauth.c: In function `vupdate_rules': vauth.c:838: warning: format argument is not a pointer (arg 3) vauth.c:842: warning: assignment makes pointer from integer without a cast vauth.c:847: subscripted value is neither array nor pointer vauth.c: In function `vcreate_relay_table': vauth.c:876: warning: format argument is not a pointer (arg 3) vauth.c: In function `vclose': vauth.c:891: warning: implicit declaration of function `mysql_close' vauth.c: In function `vread_dir_control': vauth.c:1038: warning: assignment makes pointer from integer without a cast vauth.c:1043: warning: comparison between pointer and integer ***some simular *** vauth.c:1391: subscripted value is neither array nor pointer vauth.c:1392: subscripted value is neither array nor pointer make[2]: *** [vauth.o] Error 1 make[2]: Leaving directory `/usr/src/qmail/vpopmail-5.3.29' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/qmail/vpopmail-5.3.29' make: *** [all] Error 2 == Ron Dyck Webbtech www.webbtech.net ==
Re: [vchkpw] Compiling error with mysql
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello I'm trying to compiling vpopmail 5.3.29 with mysql 4.1.0 and I'm getting errors. have you mysql-devel packages ? Here's my configure: ./configure \ --enable-roaming-users=y \ --enable-logging=p \ --enable-defaultquota=20971520S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-domain-quotas=n \ --enable-mysql=y \ --enable-many-domains=n \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-valias=y \ --enable-incdir=/usr/local/mysql/include \ --enable-libdir=/usr/local/mysql/lib And here are the errors on make: gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'vpopmail.c' || echo './'`vpopmail.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'md5.c' || echo './'`md5.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'bigdir.c' || echo './'`bigdir.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'vauth.c' || echo './'`vauth.c vauth.c:33:19: mysql.h: No such file or directory vauth.c:40: parse error before mysql_update vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update' vauth.c:40: warning: data definition has no type or storage class vauth.c:41: parse error before mysql_read_getall vauth.c:41: warning: type defaults to `int' in declaration of vauth.c:693: subscripted value is neither array nor pointer vauth.c:693: subscripted value is neither array nor pointer vauth.c: In function `vauth_setpw': vauth.c:781: warning: format argument is not a pointer (arg 3) vauth.c: In function `vopen_smtp_relay': vauth.c:820: warning: format argument is not a pointer (arg 3) vauth.c:823: warning: implicit declaration of function `mysql_affected_rows' vauth.c: In function `vupdate_rules': vauth.c:838: warning: format argument is not a pointer (arg 3) vauth.c:842: warning: assignment makes pointer from integer without a cast vauth.c:847: subscripted value is neither array nor pointer vauth.c: In function `vcreate_relay_table': vauth.c:876: warning: format argument is not a pointer (arg 3) vauth.c: In function `vclose': vauth.c:891: warning: implicit declaration of function `mysql_close' vauth.c: In function `vread_dir_control': vauth.c:1038: warning: assignment makes pointer from integer without a cast vauth.c:1043: warning: comparison between pointer and integer ***some simular *** vauth.c:1391: subscripted value is neither array nor pointer vauth.c:1392: subscripted value is neither array nor pointer make[2]: *** [vauth.o] Error 1 make[2]: Leaving directory `/usr/src/qmail/vpopmail-5.3.29' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/qmail/vpopmail-5.3.29' make: *** [all] Error 2 == Ron Dyck Webbtech www.webbtech.net == - -- Franck http://www.linuxpourtous.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/uRKc1zwfep5k9qERAiusAJ9rnL+0TLFA4OMkGpXT9/mevcYV7ACghAOh IngWclqzqzoY93u0Xv7bWS4= =235M -END PGP SIGNATURE-
Re: [vchkpw] Compiling error with mysql
I've compile mysql rather than install packages. I'd been using 4.1.0 and now I'm installing 4.0.16, the latest stable version to see whether vpopmail is not compatible with the the alpha. ron have you mysql-devel packages ? No. Where would I find them? What's your distribution and version ? ron Here's my configure: ./configure \ --enable-roaming-users=y \ --enable-logging=p \ --enable-defaultquota=20971520S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-domain-quotas=n \ --enable-mysql=y \ --enable-many-domains=n \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-valias=y \ --enable-incdir=/usr/local/mysql/include \ --enable-libdir=/usr/local/mysql/lib And here are the errors on make: gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'vpopmail.c' || echo './'`vpopmail.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'md5.c' || echo './'`md5.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'bigdir.c' || echo './'`bigdir.c gcc -I. -I/usr/local/mysql/include -I. -I. -I. -g -O2 -Wall -c `test -f 'vauth.c' || echo './'`vauth.c vauth.c:33:19: mysql.h: No such file or directory vauth.c:40: parse error before mysql_update vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update' vauth.c:40: warning: data definition has no type or storage class vauth.c:41: parse error before mysql_read_getall vauth.c:41: warning: type defaults to `int' in declaration of vauth.c:693: subscripted value is neither array nor pointer vauth.c:693: subscripted value is neither array nor pointer vauth.c: In function `vauth_setpw': vauth.c:781: warning: format argument is not a pointer (arg 3) vauth.c: In function `vopen_smtp_relay': vauth.c:820: warning: format argument is not a pointer (arg 3) vauth.c:823: warning: implicit declaration of function `mysql_affected_rows' vauth.c: In function `vupdate_rules': vauth.c:838: warning: format argument is not a pointer (arg 3) vauth.c:842: warning: assignment makes pointer from integer without a cast vauth.c:847: subscripted value is neither array nor pointer vauth.c: In function `vcreate_relay_table': vauth.c:876: warning: format argument is not a pointer (arg 3) vauth.c: In function `vclose': vauth.c:891: warning: implicit declaration of function `mysql_close' vauth.c: In function `vread_dir_control': vauth.c:1038: warning: assignment makes pointer from integer without a cast vauth.c:1043: warning: comparison between pointer and integer ***some simular *** vauth.c:1391: subscripted value is neither array nor pointer vauth.c:1392: subscripted value is neither array nor pointer make[2]: *** [vauth.o] Error 1 make[2]: Leaving directory `/usr/src/qmail/vpopmail-5.3.29' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/qmail/vpopmail-5.3.29' make: *** [all] Error 2 == Ron Dyck Webbtech www.webbtech.net == - -- Franck http://www.linuxpourtous.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/uRKc1zwfep5k9qERAiusAJ9rnL+0TLFA4OMkGpXT9/mevcYV7ACghAOh IngWclqzqzoY93u0Xv7bWS4= =235M -END PGP SIGNATURE- -- Franck http://www.linuxpourtous.com