Hi Lawrence, Now i'm getting below error:
In file included from domain.c:29: config.h:81:1: warning: this is the location of the previous definition domain.c: In function ‘add_domain’: domain.c:105: error: ‘VPOPMAILGID’ undeclared (first use in this function) domain.c:105: error: (Each undeclared identifier is reported only once domain.c:105: error: for each function it appears in.) make[2]: *** [domain.o] Error 1 make[2]: Leaving directory `/root/Desktop/vqadmin-2.3.7' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/vqadmin-2.3.7' make: *** [all] Error 2 Regards, Amit At Saturday, 14-08-2010 on 23:09 Lawrence Sheed wrote: IMHO Forget about 5.5, it doesn't play nice with the other tools. I just spent about 3 or 4 hours on this on a new 64bit server build on Wednesday. You can compile it by copying over the config.guess and config.sub files from the vpopmail source directory (so it has a slightly newer build map), and by adding in manually #define VPOPMAILDIR / VPOPMAILGUID / VPOPMAILUID into the config.h file, but it proves to be buggy and segfault at least in 64bit. You'd do this by adding something like the following (for your settings) into the config.h file for vqadmin #define VPOPMAILUID 7807 #define VPOPMAILGUID 7802 #define VPOPMAILDIR "/home/vpopmail" I've given up on 5.5, and stick to the 5.4 series, at least until the other utils that really make up vpopmail - vqadmin / qmailadmin are ready.. Lawrence / ComputerSolutions.cn [1] On Aug 14, 2010, at 10:39 PM, Amit Dalia wrote: Hi Everyone, I had just compiled and installed vpopmail 5.5.0 with LDAP support from source package. Now when I'm trying to install vqadmin it is giving error. I'm installing vqadmin from source package. 1) Output of "./configure --enable-cgibindir=/var/www/cgi-bin --enable-qmaildir=/var/qmail --enable-htmldir=/var/www/html" Current settings --------------------------------------- vpopmail directory = /home/vpopmail uid = 7807 gid = 7802 cgi-bin dir = /var/www/cgi-bin vqadmin dir = /var/www/cgi-bin/vqadmin No error 2) Output of "make && make install" make all-recursive make[1]: Entering directory `/root/Desktop/vqadmin-2.3.7' make[2]: Entering directory `/root/Desktop/vqadmin-2.3.7' gcc -I. -I/home/vpopmail/include/vpopmail -I. -I. -I. -g -O2 -Wall -c `test -f 'domain.c' || echo './'`domain.c In file included from domain.c:32: /home/vpopmail/include/vpopmail/vpopmail_config.h:244:1: warning: "PACKAGE_NAME" redefined In file included from domain.c:29: config.h:68:1: warning: this is the location of the previous definition In file included from domain.c:32: /home/vpopmail/include/vpopmail/vpopmail_config.h:247:1: warning: "PACKAGE_STRING" redefined In file included from domain.c:29: config.h:71:1: warning: this is the location of the previous definition In file included from domain.c:32: /home/vpopmail/include/vpopmail/vpopmail_config.h:250:1: warning: "PACKAGE_TARNAME" redefined In file included from domain.c:29: config.h:74:1: warning: this is the location of the previous definition In file included from domain.c:32: /home/vpopmail/include/vpopmail/vpopmail_config.h:253:1: warning: "PACKAGE_VERSION" redefined In file included from domain.c:29: config.h:77:1: warning: this is the location of the previous definition domain.c: In function ‘add_domain’: domain.c:105: error: ‘VPOPMAILDIR’ undeclared (first use in this function) domain.c:105: error: (Each undeclared identifier is reported only once domain.c:105: error: for each function it appears in.) domain.c:105: error: ‘VPOPMAILUID’ undeclared (first use in this function) domain.c:105: error: ‘VPOPMAILGID’ undeclared (first use in this function) make[2]: *** [domain.o] Error 1 make[2]: Leaving directory `/root/Desktop/vqadmin-2.3.7' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/vqadmin-2.3.7' make: *** [all] Error 2 Please help. Thanks and regards, Amit Links: ------ [1] http://ComputerSolutions.cn !DSPAM:4c66f2f132711224511487!
