[vchkpw] Compile erro
Hi, I'm trying to install Vpopmail 5.3.6with MySQL support on a Red Hat 8.0 When i do 'make' i got the following error: vauth.c:25:19: mysql.h: No such file or directoryIn file included from vauth.c:29:vmysql.h:50:22: warning: multi-line string literals are deprecatedvauth.c:32: parse error before "mysql_update"vauth.c:32: warning: type defaults to `int' in declaration of `mysql_update'vauth.c:32: warning: data definition has no type or storage classvauth.c:33: parse error before "mysql_read_getall"vauth.c:33: warning: type defaults to `int' in declaration of `mysql_read_getall'vauth.c:33: warning: data definition has no type or storage classvauth.c:51: parse error before '*' tokenvauth.c:51: warning: type defaults to `int' in declaration of `res_update'vauth.c:51: warning: data definition has no type or storage classvauth.c:52: parse error before '*' tokenvauth.c:52: warning: type defaults to `int' in declaration of `res_read_getall'vauth.c:52: warning: data definition has no type or storage classvauth.c:60: parse error before "row"vauth.c:60: warning: type defaults to `int' in declaration of `row'vauth.c:60: warning: data definition has no type or storage classvauth.c:61: parse error before "row_getall"vauth.c:61: warning: type defaults to `int' in declaration of `row_getall'vauth.c:61: warning: data definition has no type or storage classvauth.c: In function `vauth_open_update':vauth.c:105: warning: implicit declaration of function `mysql_init'vauth.c:108: warning: implicit declaration of function `mysql_real_connect'vauth.c:113: warning: implicit declaration of function `mysql_error'vauth.c:113: warning: format argument is not a pointer (arg 3)vauth.c:124: warning: format argument is not a pointer (arg 3)vauth.c:132: warning: implicit declaration of function `mysql_query'vauth.c:137: warning: format argument is not a pointer (arg 2)vauth.c:140: warning: implicit declaration of function `mysql_store_result'vauth.c:140: warning: assignment makes pointer from integer without a castvauth.c:141: warning: implicit declaration of function `mysql_free_result'vauth.c:144: warning: implicit declaration of function `mysql_select_db'vauth.c: In function `vauth_adddomain':vauth.c:236: warning: assignment makes pointer from integer without a castvauth.c: In function `vauth_adduser':vauth.c:311: warning: format argument is not a pointer (arg 2)vauth.c:314: warning: assignment makes pointer from integer without a castvauth.c: In function `vauth_getpw':vauth.c:365: warning: format argument is not a pointer (arg 2)vauth.c:369: warning: assignment makes pointer from integer without a castvauth.c:374: warning: implicit declaration of function `mysql_num_rows'vauth.c:393: warning: implicit declaration of function `mysql_fetch_row'vauth.c:394: subscripted value is neither array nor pointervauth.c:394: subscripted value is neither array nor pointervauth.c:394: subscripted value is neither array nor pointervauth.c:394: subscripted value is neither array nor pointervauth.c:394: subscripted value is neither array nor pointervauth.c:395: subscripted value is neither array nor pointervauth.c:395: subscripted value is neither array nor pointervauth.c:395: subscripted value is neither array nor pointervauth.c:395: subscripted value is neither array nor pointervauth.c:395: subscripted value is neither array nor pointervauth.c:395: subscripted value is neither array nor pointervauth.c:396: subscripted value is neither array nor pointervauth.c:396: subscripted value is neither array nor pointervauth.c:397: subscripted value is neither array nor pointervauth.c:397: subscripted value is neither array nor pointervauth.c:398: subscripted value is neither array nor pointervauth.c:398: subscripted value is neither array nor pointervauth.c:398: subscripted value is neither array nor pointervauth.c:398: subscripted value is neither array nor pointervauth.c:398: subscripted value is neither array nor pointervauth.c:398: subscripted value is neither array nor pointervauth.c:399: subscripted value is neither array nor pointervauth.c:399: subscripted value is neither array nor pointervauth.c:399: subscripted value is neither array nor pointervauth.c:399: subscripted value is neither array nor pointervauth.c:399: subscripted value is neither array nor pointervauth.c:399: subscripted value is neither array nor pointervauth.c:400: subscripted value is neither array nor pointervauth.c:400: subscripted value is neither array nor pointervauth.c:400: subscripted value is neither array nor pointervauth.c:400: subscripted value is neither array nor pointervauth.c:400: subscripted value is neither array nor pointervauth.c:400: subscripted value is neither array nor pointervauth.c:402: subscripted value is neither array nor pointervauth.c:402: subscripted value is neither array nor pointervauth.c:402: subscripted value is neither array nor pointervauth.c:402: subscripted value
[vchkpw] tcp.smtp issue
Hi, How do i change tcp.smtp.cdb from /etc to /home/vpopmail/etc ? Everything is working fine, but when i use my Outlook to check my messages i got the following error. 'tcprules: fatal: unable to create /etc/tcp.smtptmp.4236: access denied' If a change to owership of /etc to vpopmail.vchkpw everything works, but i don't wan to do this. Is there any other way? Thanks Thiago
[vchkpw] Del domains
Hi, I'm using Vpopmail 5.2.1 with MySQL, before i made it works i added some domains that i want to delete now. Whe i run ./vdeldomain domain.com i receive the following messagem Error: Domain does not exist But i can see in MySQL that exist an entry for this domain. How do i delete this domain? Thanks
[vchkpw] -lz instalation error
Hi, I'm getting the following error on my RH 7.3 This is my ./configure output vpopmail directory = /home/vpopmail uid = 89 gid = 89 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = OFF --enable-qmail-ext=n (default) roaming users = OFF --enable-roaming-users=n default user quota = OFF --enable-defaultquota=NOQUOTA default auth module = mysql --enable-mysql=y mysql replication = OFF --enable-mysql-replication=n default table optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = OFF --enable-file-sync=n default disable vdelivermail fsync auth logging = ON --enable-auth-logging=y default mysql logging = OFF --enable-mysql-logging=n default clear passwd = ON --enable-clear-passwd=y (default) valias processing = ON --enable-valias=y pop syslog = show only failure attempts --enable-logging=e default default domain = email.consult.eng.br --enable-default-domain=email.consult.eng.br auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz [root@email vpopmail-5.2.1]# make make all-recursive make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1' Making all in cdb make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1' gcc -g -O2 -Wall -o vchkpw vchkpw.o ibvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status make[2]: *** [vchkpw] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make: *** [all-recursive-am] Error 2
Re: [vchkpw] -lz instalation error
zlib is installed! [root@email vpopmail-5.2.1]# rpm -q zlib zlib-1.1.3-25.7 The libmysqlclient is in the /usr/lib/mysql - Original Message - From: Dzuy Nguyen [EMAIL PROTECTED] To: Thiago Campos [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 11:32 AM Subject: Re: [vchkpw] -lz instalation error Install zlib! Thiago Campos wrote: Hi, I'm getting the following error on my RH 7.3 This is my ./configure output vpopmail directory = /home/vpopmail uid = 89 gid = 89 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = OFF --enable-qmail-ext=n (default) roaming users = OFF --enable-roaming-users=n default user quota = OFF --enable-defaultquota=NOQUOTA default auth module = mysql --enable-mysql=y mysql replication = OFF --enable-mysql-replication=n default table optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = OFF --enable-file-sync=n default disable vdelivermail fsync auth logging = ON --enable-auth-logging=y default mysql logging = OFF --enable-mysql-logging=n default clear passwd = ON --enable-clear-passwd=y (default) valias processing = ON --enable-valias=y pop syslog = show only failure attempts --enable-logging=e default default domain = email.consult.eng.br --enable-default-domain=email.consult.eng.br auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz [root@email vpopmail-5.2.1]# make make all-recursive make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1' Making all in cdb make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1' gcc -g -O2 -Wall -o vchkpw vchkpw.o ibvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status make[2]: *** [vchkpw] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make: *** [all-recursive-am] Error 2
Re: [vchkpw] -lz instalation error
Thanks to everybody who helped me. The problem was solved when i installed the zlib-devel But now i'm getting the following error: make all-recursive make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1' Making all in cdb make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1' gcc -g -O2 -Wall -o clearopensmtp clearopensmtp.o libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm clearopensmtp.o: In function `main': /usr/local/src/vpopmail-5.2.1/clearopensmtp.c:53: undefined reference to `vclear_open_smtp' /usr/local/src/vpopmail-5.2.1/clearopensmtp.c:82: undefined reference to `update_rules' collect2: ld returned 1 exit status make[2]: *** [clearopensmtp] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make: *** [all-recursive-am] Error 2 Thiago - Original Message - From: Mike [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 11:49 AM Subject: RE: [vchkpw] -lz instalation error Hi, You should install zlib and zlib-devel. -Original Message- From: Thiago Campos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 9:42 AM To: [EMAIL PROTECTED] Subject: [vchkpw] -lz instalation error Hi, I'm getting the following error on my RH 7.3 This is my ./configure output vpopmail directory = /home/vpopmail uid = 89 gid = 89 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = OFF --enable-qmail-ext=n (default) roaming users = OFF --enable-roaming-users=n default user quota = OFF --enable-defaultquota=NOQUOTA default auth module = mysql --enable-mysql=y mysql replication = OFF --enable-mysql-replication=n default table optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = OFF --enable-file-sync=n default disable vdelivermail fsync auth logging = ON --enable-auth-logging=y default mysql logging = OFF --enable-mysql-logging=n default clear passwd = ON --enable-clear-passwd=y (default) valias processing = ON --enable-valias=y pop syslog = show only failure attempts --enable-logging=e default default domain = email.consult.eng.br --enable-default-domain=email.consult.eng.br auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz [root@email vpopmail-5.2.1]# make make all-recursive make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1' Making all in cdb make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1' gcc -g -O2 -Wall -o vchkpw vchkpw.o ibvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status make[2]: *** [vchkpw] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make: *** [all-recursive-am] Error 2
[vchkpw] Another make error
now i'm getting the following error: make all-recursive make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1' Making all in cdb make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1' gcc -g -O2 -Wall -o clearopensmtp clearopensmtp.o libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm clearopensmtp.o: In function `main': /usr/local/src/vpopmail-5.2.1/clearopensmtp.c:53: undefined reference to `vclear_open_smtp' /usr/local/src/vpopmail-5.2.1/clearopensmtp.c:82: undefined reference to `update_rules' collect2: ld returned 1 exit status make[2]: *** [clearopensmtp] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make: *** [all-recursive-am] Error 2 Thiago