Amit Dalia
2010-08-14 14:39:48 UTC
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
!DSPAM:4c66aac832711996956123!
Â
 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
!DSPAM:4c66aac832711996956123!