Re: VQADMIN ERROR
Lawrence Sheed <[email protected]> Sun, 15 Aug 2010 01:39:24 +0800
| Newsgroups | gmane.mail.vqadmin |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-24-705170532 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=windows-1252 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 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 !DSPAM:4c66d4d232713477510152! --Apple-Mail-24-705170532 Content-Transfer-Encoding: 8bit Content-Type: text/html; charset=windows-1252 <html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">IMHO <div><br></div><div>Forget about 5.5, it doesn't play nice with the other tools.</div><div>I just spent about 3 or 4 hours on this on a new 64bit server build on Wednesday.<br><div><br></div><div>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.</div><div><br></div><div>You'd do this by adding something like the following (for your settings) into the config.h file for vqadmin</div><div><br></div><div><br></div ><div>#define VPOPMAILUID 7807</div><div>#define VPOPMAILGUID 7802</div><div>#define VPOPMAILDIR "/home/vpopmail"</div><div><br></div><div><br></div><div><br></div><div>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.</div><div><br></div><div>Lawrence / <a href="http://ComputerSolutions.cn">ComputerSolutions.cn</a></div><div><br><div><div>On Aug 14, 2010, at 10:39 PM, Amit Dalia wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Everyone,<br> <br> I had just compiled and installed vpopmail 5.5.0 with LDAP support from <br> source package. Now when I'm trying to install vqadmin it is giving <br> error. I'm installing vqadmin from source package.<br> <br> 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> <br> <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);"> ---------------------------------------</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> vpopmail directory = /home/vpopmail</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> uid = 7807</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> gid = 7802</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> cgi-bin dir = /var/www/cgi-bin</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> vqadmin dir = /var/www/cgi-bin/vqadmin</span><br> <br> No error<br> <br> 2) Output of "<font color="#ff0000">make && make install</font>"<br> <br> <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);"> 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);"> 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);"> 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);"> In file included from domain.c:32: /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);"> In file included from domain.c:29: 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);"> In file included from domain.c:32: /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);"> 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);"> In file included from domain.c:32: /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);"> 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);"> 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);"> 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: </span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> 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);"> 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);"> 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);"> 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);"> 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);"> make[2]: *** [domain.o] Error 1</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> 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);"> make[1]: *** [all-recursive] Error 1</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);"> 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);"> make: *** [all] Error 2</span><br> <br>Please help.<br> <br>Thanks and regards,<br><br> Amit </blockquote></div><br></div></div> !DSPAM:4c66d4d232713477510152! </body></html> --Apple-Mail-24-705170532--