Re: [vchkpw] compiling vusaged
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/22/2010 07:55 PM, Qmail List wrote: /home/vpopmail/include/vpopmail.h:149:1: warning: this is the location of the previous definition user.c: In function âcall_hooksâ: user.c:522: error: âVPOPMAILDIRâ undeclared (first use in this function) user.c:522: error: (Each undeclared identifier is reported only once user.c:522: error: for each function it appears in.) user.c: In function âset_qmaildefaultâ: user.c:627: error: âVPOPMAILDIRâ undeclared (first use in this function) make[1]: *** [user.o] Error 1 make[1]: Leaving directory `/var/src/qmailadmin-1.2.14' make: *** [all] Error 2 I had googled. But I still cant find any solution vpopmail 5.5 is a development branch, and so it's not entirely supported everywhere. You have to compile the development branch of qmailadmin against the development branch of vpopmail. You'll need to check out the trunk of the qmailadmin Subversion tree to compile against 5.5. - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwiHi8ACgkQIwet2/rgZyxt9QCgjiLMLT+MxHwvFpZcRQVxxZ+8 iooAnj8olZwOf1smNgFpvvDQsTkR7p0I =AAlF -END PGP SIGNATURE-
[vchkpw] Re: 05 - [vchkpw] compiling vusaged
On 22/06/2010, Qmail List listqm...@gmail.com wrote: Waitlist reason: vchkpw@inter7.com is not on your Guest List Approve sender: https://www.boxbe.com/anno?tc=3351973417_628435578 Approve domain: https://www.boxbe.com/anno?tc=3351973417_628435578dom _ Boxbe -- Chaminuka Mbanje +263913419550 personal +26311578018 spouse +26323420294 home !DSPAM:4c2247b332717437610175!
[vchkpw] compiling vusaged
Hi, I am trying out vusaged .. Installed a fresh copy of CentOS 5.5 i386. I got the below error. Anyone has a work-around? [r...@localhost vusaged]# cd /var/src/vpopmail-5.5.0/vusaged [r...@localhost vusaged]# make gcc -o vusaged vusaged.o socket.o grow.o signal.o packet.o query.o cache.o user.o directory.o userstore.o list.o domain.o queue.o shutdown.o vdb.o -L.. -lvpopmail -pthread -ldl -lcrypt -Xlinker -R -Xlinker /home/vpopmail/lib socket.o: In function `socket_init': socket.c:(.text+0xc16): undefined reference to `ev_io_start' socket.c:(.text+0xc7f): undefined reference to `ev_timer_start' socket.o: In function `ev_default_loop': socket.c:(.text+0xd21): undefined reference to `ev_default_loop_init' socket.o: In function `ev_default_loop_uc': socket.c:(.text+0xd31): undefined reference to `ev_default_loop_ptr' socket.o: In function `socket_listen': socket.c:(.text+0xd4e): undefined reference to `ev_loop' socket.o: In function `socket_accept': socket.c:(.text+0x1121): undefined reference to `ev_io_start' socket.c:(.text+0x117a): undefined reference to `ev_io_start' socket.o: In function `socket_close': socket.c:(.text+0x1656): undefined reference to `ev_io_stop' socket.c:(.text+0x166e): undefined reference to `ev_io_stop' socket.o: In function `socket_write': socket.c:(.text+0x1769): undefined reference to `ev_io_stop' socket.o: In function `socket_timer': socket.c:(.text+0x1952): undefined reference to `ev_unloop' collect2: ld returned 1 exit status make: *** [vusaged] Error 1 Thanks wL !DSPAM:4c20ba3b32718310010151!
Re: [vchkpw] compiling vusaged
Hi wL, The usage daemon uses libev, so you should install the libev development headers. In Debian/Ubuntu they're called libev3-dev. I'm not familiar with CentOS to know how to do this there, but I think this should help you out. -- Kind regards, Harm van Tilborg http://zeroxcool.net On 22-6-2010 15:27, Qmail List wrote: Hi, I am trying out vusaged .. Installed a fresh copy of CentOS 5.5 i386. I got the below error. Anyone has a work-around? [r...@localhost vusaged]# cd /var/src/vpopmail-5.5.0/vusaged [r...@localhost vusaged]# make gcc -o vusaged vusaged.o socket.o grow.o signal.o packet.o query.o cache.o user.o directory.o userstore.o list.o domain.o queue.o shutdown.o vdb.o -L.. -lvpopmail -pthread -ldl -lcrypt -Xlinker -R -Xlinker /home/vpopmail/lib socket.o: In function `socket_init': socket.c:(.text+0xc16): undefined reference to `ev_io_start' socket.c:(.text+0xc7f): undefined reference to `ev_timer_start' socket.o: In function `ev_default_loop': socket.c:(.text+0xd21): undefined reference to `ev_default_loop_init' socket.o: In function `ev_default_loop_uc': socket.c:(.text+0xd31): undefined reference to `ev_default_loop_ptr' socket.o: In function `socket_listen': socket.c:(.text+0xd4e): undefined reference to `ev_loop' socket.o: In function `socket_accept': socket.c:(.text+0x1121): undefined reference to `ev_io_start' socket.c:(.text+0x117a): undefined reference to `ev_io_start' socket.o: In function `socket_close': socket.c:(.text+0x1656): undefined reference to `ev_io_stop' socket.c:(.text+0x166e): undefined reference to `ev_io_stop' socket.o: In function `socket_write': socket.c:(.text+0x1769): undefined reference to `ev_io_stop' socket.o: In function `socket_timer': socket.c:(.text+0x1952): undefined reference to `ev_unloop' collect2: ld returned 1 exit status make: *** [vusaged] Error 1 Thanks wL !DSPAM:4c20bd5632711739016685!
RE: [vchkpw] compiling vusaged
Thanks Harm van Tilborg The usage daemon uses libev, so you should install the libev development headers. In Debian/Ubuntu they're called libev3-dev. I'm not familiar with CentOS to know how to do this there, but I think this should help you out. I had installed libev-3.9 via tarball. I did this cd /var/src tar -xzf tar/libev-3.9.tar.gz cd libev-3.9 ./configure make make install !DSPAM:4c20c1e432711917115304!
Re: [vchkpw] compiling vusaged
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/22/2010 08:59 AM, Qmail List wrote: Thanks Harm van Tilborg The usage daemon uses libev, so you should install the libev development headers. In Debian/Ubuntu they're called libev3-dev. I'm not familiar with CentOS to know how to do this there, but I think this should help you out. I had installed libev-3.9 via tarball. I did this cd /var/src tar -xzf tar/libev-3.9.tar.gz cd libev-3.9 ./configure make make install Why are you trying to build directly in the vusaged directory? The configure script in the main source directory should have detected (or not detected) libev and made the proper configurations or warnings. Back out into the main 5.5.0 source directory and run ./configure. It will build vusaged for you. - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwgwpEACgkQIwet2/rgZyx6UQCcDwqnZ2OtsHHnLwxo/n9xS0Jt r+AAnRIBcvT/HPs8UU/kFyDTdrnT+qwD =pe9R -END PGP SIGNATURE-
RE: [vchkpw] compiling vusaged
The usage daemon uses libev, so you should install the libev development headers. In Debian/Ubuntu they're called libev3-dev. I'm not familiar with CentOS to know how to do this there, but I think this should help you out. I had installed libev-3.9 via tarball. I did this cd /var/src tar -xzf tar/libev-3.9.tar.gz cd libev-3.9 ./configure make make install Why are you trying to build directly in the vusaged directory? The configure script in the main source directory should have detected (or not detected) libev and made the proper configurations or warnings. Back out into the main 5.5.0 source directory and run ./configure. It will build vusaged for you. Thanks Matt. Now I have another issue. Trying to compile qmailadmin. /home/vpopmail/include/vpopmail.h:149:1: warning: this is the location of the previous definition user.c: In function âcall_hooksâ: user.c:522: error: âVPOPMAILDIRâ undeclared (first use in this function) user.c:522: error: (Each undeclared identifier is reported only once user.c:522: error: for each function it appears in.) user.c: In function âset_qmaildefaultâ: user.c:627: error: âVPOPMAILDIRâ undeclared (first use in this function) make[1]: *** [user.o] Error 1 make[1]: Leaving directory `/var/src/qmailadmin-1.2.14' make: *** [all] Error 2 I had googled. But I still cant find any solution Thanks wL. !DSPAM:4c215b7d32711787462413!