VQADMIN ERROR

Amit Dalia <[email protected]> Sat, 14 Aug 2010 20:09:48 +0530
Newsgroups gmane.mail.vqadmin
Message-ID <[email protected]>
--_=_swift_v4_12817967884c66aab474e54_=_
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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!

--_=_swift_v4_12817967884c66aab474e54_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

Hi Everyone,<br>&nbsp;
<br>&nbsp; I had just compiled and installed vpopmail 5.5.0 with LDAP support from <br>&nbsp; source package. Now when I'm trying to install vqadmin it is giving <br>&nbsp; error. I'm installing vqadmin from source package.<br>&nbsp;<br>&nbsp;1) Output of "<font color="#ff0000">./configure --enable-cgibindir=/var/www/cgi-bin </font><font color="#ff0000">--enable-qmaildir=/var/qmail --enable-htmldir=/var/www/html</font>"<br>&nbsp;<br>&nbsp;<span style="background-color: rgb(255, 255, 0);">Current settings</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
---------------------------------------</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
vpopmail directory = /home/vpopmail</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
uid = 7807</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
gid = 7802</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
cgi-bin dir = /var/www/cgi-bin</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
vqadmin dir = /var/www/cgi-bin/vqadmin</span><br>&nbsp;
<br>&nbsp;
No error<br>&nbsp;
<br>&nbsp;
2) Output of "<font color="#ff0000">make &amp;&amp; make install</font>"<br>&nbsp; <br>&nbsp;<span style="background-color: rgb(255, 255, 0);"> make  all-recursive</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
make[1]: Entering directory `/root/Desktop/vqadmin-2.3.7'</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
make[2]: Entering directory `/root/Desktop/vqadmin-2.3.7'</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
gcc -I. -I/home/vpopmail/include/vpopmail -I. -I. -I.     -g -O2 -Wall
-c `test -f 'domain.c' || echo './'`domain.c</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
In file included from domain.c:32:&nbsp;
/home/vpopmail/include/vpopmail/vpopmail_config.h:244:1: warning:
"PACKAGE_NAME" redefined</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
In file included from domain.c:29:&nbsp;
config.h:68:1: warning: this is the location of the previous definition</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
In file included from domain.c:32:&nbsp;
/home/vpopmail/include/vpopmail/vpopmail_config.h:247:1: warning: "PACKAGE_STRING" redefined</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
In file included from domain.c:29:
config.h:71:1: warning: this is the location of the previous definition</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
In file included from domain.c:32:&nbsp;
/home/vpopmail/include/vpopmail/vpopmail_config.h:250:1: warning: "PACKAGE_TARNAME" redefined</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
In file included from domain.c:29:
config.h:74:1: warning: this is the location of the previous definition</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
In file included from domain.c:32:
/home/vpopmail/include/vpopmail/vpopmail_config.h:253:1: warning: "PACKAGE_VERSION" redefined</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
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’:&nbsp;
</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp; domain.c:105: error: ‘VPOPMAILDIR’ undeclared (first use in this function)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
domain.c:105: error: (Each undeclared identifier is reported only once</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
domain.c:105: error: for each function it appears in.)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
domain.c:105: error: ‘VPOPMAILUID’ undeclared (first use in this function)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
domain.c:105: error: ‘VPOPMAILGID’ undeclared (first use in this function)</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
make[2]: *** [domain.o] Error 1</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
make[2]: Leaving directory `/root/Desktop/vqadmin-2.3.7'</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
make[1]: *** [all-recursive] Error 1</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
make[1]: Leaving directory `/root/Desktop/vqadmin-2.3.7'</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">&nbsp;
make: *** [all] Error 2</span><br>&nbsp;
<br>Please help.<br>&nbsp;
<br>Thanks and regards,<br><br>
Amit


!DSPAM:4c66aac832711996956123!

--_=_swift_v4_12817967884c66aab474e54_=_--