Re: VQADMIN ERROR
Amit Dalia <[email protected]> Sun, 15 Aug 2010 12:03:20 +0530
| Newsgroups | gmane.mail.vqadmin |
|---|---|
| Message-ID | <[email protected]> |
--_=_swift_v4_12818540004c678a30732b5_=_ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Lawrence, Thanks and really sorry for not noticing such small thing. I think I had successfully compiled vqadmin now as "make && make install" didn't throw any other error. Thanks again. Regards, Amit At Sunday, 15-08-2010 on 8:04 Lawrence Sheed wrote: Suggest try using that squishy grey mass between your ears. VPOPMAILGID is what? Vpopmail group id perhaps? (which in your install was? 7802?) What on earth could you possibly try given an error like that, given that we resolved *exactly* that same issue somehow not 1 email previously. Could you either: Rename VPOPMAILGID to VPOPMAILGUID in domain.c? Or perhaps add yet another line in config.h defining this new variable? Stay tuned our next episode of "Give a man a fish and feed him for a day; Set a man on fire, keep him warm for life." On Aug 15, 2010, at 3:47 AM, Amit Dalia wrote: 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:4c678a3932716511615275! --_=_swift_v4_12818540004c678a30732b5_=_ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <font face="arial"><font face="arial">Hi Lawrence,<br><br>Thanks and really sorry for not noticing such small thing. I think I had successfully compiled vqadmin now as "make && make install" didn't throw any other error.<br><br>Thanks again.<br><br>Regards,<br><br>Amit<br><br></font></font><font face="arial"><br>At Sunday, 15-08-2010 on 8:04 Lawrence Sheed wrote:<br><blockquote style="border-width: 0pt 0pt 0pt 2px; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(34, 67, 127); padding: 0px 0px 0px 5px; margin: 0px 0px 0px 5px;">Suggest try using that squishy grey mass between your ears.<div><br></div><div>VPOPMAILGID is what?</div><div><br></div><div>Vpopmail group id perhaps? (which in your install was? 7802?)< /div><div><br></div><div>What on earth could you possibly try given an error like that, given that we resolved *exactly* that same issue somehow not 1 email previously.</div><div><br></div><div>Could you either:</div><div><br></div><div>Rename VPOPMAILGID to VPOPMAILGUID in domain.c?</div><div><br></div><div>Or perhaps add yet another line in config.h defining this new variable?</div><div><br></div><div>Stay tuned our next episode of "Give a man a fish and feed him for a day; Set a man on fire, keep him warm for life."</div><div><br></div><div><div><div>On Aug 15, 2010, at 3:47 AM, Amit Dalia wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font face="arial">Hi Lawrence,<br><br>Now i'm getting below error:<br><br style="background-color: rgb(255, 0, 0);"><span s tyle="background-color: rgb(255, 0, 0);">In file included from domain.c:29:</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">config.h:81:1: warning: this is the location of the previous definition</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">domain.c: In function ‘add_domain’:</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">domain.c:105: error: ‘VPOPMAILGID’ undeclared (first use in this function)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">domain.c:105: error: (Each undeclared identifier is reported only once</span><br style="background-color: rgb(255, 0, 0);"><span st yle="background-color: rgb(255, 0, 0);">domain.c:105: error: for each function it appears in.)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">make[2]: *** [domain.o] Error 1</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">make[2]: Leaving directory `/root/Desktop/vqadmin-2.3.7'</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">make[1]: *** [all-recursive] Error 1</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">make[1]: Leaving directory `/root/Desktop/vqadmin-2.3.7'</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">make: *** [all] Erro r 2</span><br><br>Regards,<br><br>Amit<br><br>At Saturday, 14-08-2010 on 23:09 Lawrence Sheed wrote:<br><blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(34, 67, 127); border-width: 0pt 0pt 0pt 2px; margin: 0px 0px 0px 5px; padding: 0px 0px 0px 5px;">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 prov es 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>&nb sp; <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> </blockquote></font> </blockquote></div><br></div> </blockquote></font> !DSPAM:4c678a3932716511615275! --_=_swift_v4_12818540004c678a30732b5_=_--