Discussion:
vusaged compile error
Qmail List
2011-01-23 07:53:09 UTC
Permalink
Hi,

Tried to compile vusaged, but during the command ./configure i had encounter
the error

checking for vauth.h... yes
checking for vauth_getpw in -lvpopmail... no
checking for vauth_getall in -lvpopmail... no
checking for get_domain_entries in -lvpopmail... no
checking for client_query_quick in -lvpopmail... no
configure: error: No vauth_getpw in libvpopmail
What did i miss out?

Thanks
wL


!DSPAM:4d3bde6632712090815233!
Thibault Richard
2011-01-23 09:12:12 UTC
Permalink
Hello,

Try with this command before

cat > ~vpopmail/etc/vusagec.conf << __EOF__
Server:
Disable = True;
__EOF__

Thibault


Le dimanche 23 janvier 2011 à 15:53 +0800, Qmail List a écrit :
> Hi,
>
> Tried to compile vusaged, but during the command ./configure i had
> encounter the error
>
> checking for vauth.h... yes
> checking for vauth_getpw in -lvpopmail... no
> checking for vauth_getall in -lvpopmail... no
> checking for get_domain_entries in -lvpopmail... no
> checking for client_query_quick in -lvpopmail... no
> configure: error: No vauth_getpw in libvpopmail
>
> What did i miss out?
>
> Thanks
> wL
>
>



!DSPAM:4d3bf0da32711138398619!
Qmail List
2011-01-23 10:16:04 UTC
Permalink
Hi,

I had tried the command, but it i am still having the error.

Any other suggestion?

thanks
wL

On Sun, Jan 23, 2011 at 5:12 PM, Thibault Richard <***@thibs.com> wrote:
>
> Hello,
>
> Try with this command before
>
> cat > ~vpopmail/etc/vusagec.conf << __EOF__
> Server:
>    Disable = True;
> __EOF__
>
> Thibault
>
>
> Le dimanche 23 janvier 2011 à 15:53 +0800, Qmail List a écrit :
> > Hi,
> >
> > Tried to compile vusaged, but during the command ./configure i had
> > encounter the error
> >
> > checking for vauth.h... yes
> > checking for vauth_getpw in -lvpopmail... no
> > checking for vauth_getall in -lvpopmail... no
> > checking for get_domain_entries in -lvpopmail... no
> > checking for client_query_quick in -lvpopmail... no
> > configure: error: No vauth_getpw in libvpopmail
> >
> > What did i miss out?
> >
> > Thanks
> > wL
> >
> >
>
>
>
>
>

!DSPAM:4d3bffe632712002244127!
Matt Brookings
2011-01-24 15:09:14 UTC
Permalink
On 01/23/2011 01:53 AM, Qmail List wrote:
> Hi,
>
> Tried to compile vusaged, but during the command ./configure i had
> encounter the error
>
> checking for vauth.h... yes
> checking for vauth_getpw in -lvpopmail... no
> checking for vauth_getall in -lvpopmail... no
> checking for get_domain_entries in -lvpopmail... no
> checking for client_query_quick in -lvpopmail... no
> configure: error: No vauth_getpw in libvpopmail
> What did i miss out?

What version are you compiling vusaged under? In the 5.4 tree, you
have to already have the version installed that vusaged compiles against.

If you're compiling a 5.4 version, run "make install" in the main
source directory, and then try to compile vusaged.
- --
/*
Matt Brookings <***@inter7.com> GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
Qmail List
2011-01-24 15:32:12 UTC
Permalink
Hi Matt,

I am trying to compile 5.4.32. I had also did make install in
/var/src/vpopmail-5.4.32 but still having the same problem.

What can i try next?

Thanks
wL

On Mon, Jan 24, 2011 at 11:09 PM, Matt Brookings <***@inter7.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 01/23/2011 01:53 AM, Qmail List wrote:
>> Hi,
>>
>> Tried to compile vusaged, but during the command ./configure i had
>> encounter the error
>>
>> checking for vauth.h... yes
>> checking for vauth_getpw in -lvpopmail... no
>> checking for vauth_getall in -lvpopmail... no
>> checking for get_domain_entries in -lvpopmail... no
>> checking for client_query_quick in -lvpopmail... no
>> configure: error: No vauth_getpw in libvpopmail
>> What did i miss out?
>
> What version are you compiling vusaged under?  In the 5.4 tree, you
> have to already have the version installed that vusaged compiles against.
>
> If you're compiling a 5.4 version, run "make install" in the main
> source directory, and then try to compile vusaged.
> - --
> /*
>    Matt Brookings <***@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/
>
> iEYEARECAAYFAk09lhoACgkQIwet2/rgZyyOmgCgi+yZ/jr5hnVzXtAxLcd+Ie7F
> vbwAn3DnWLkvdCiTOP7zBSKQHugAJq53
> =Fzow
> -----END PGP SIGNATURE-----
>

!DSPAM:4d3d9b7e32711815617620!
Matt Brookings
2011-01-24 15:34:17 UTC
Permalink
On 01/24/2011 09:32 AM, Qmail List wrote:
> Hi Matt,
>
> I am trying to compile 5.4.32. I had also did make install in
> /var/src/vpopmail-5.4.32 but still having the same problem.
>
> What can i try next?

The error means the protocol API used by the vusage daemon is not in
the vpopmail library. vauth_getpw is not found either, which is a
staple vpopmail API call. It looks like it may not be able to find
the vpopmail library.
- --
/*
Matt Brookings <***@inter7.com> GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
Qmail List
2011-01-24 15:46:45 UTC
Permalink
Hi,

I wanted to recompile vpopmail. So i did a make clean. I noticed
vusagec. Is this the daemon you were mentioning about?

Is there a way to check why am i missing vusage and vauth_getpw?

test -z "libvpopmail.a" || rm -f libvpopmail.a
test -z "vchkpw vdelivermail clearopensmtp vadddomain vdeldomain
vpasswd vadduser vdeluser vaddaliasdomain vsetuserquota vpopbull
vdeloldusers vmoduser valias vuserinfo vmkpasswd vipmap vdominfo
vconvert vkill vmoddomlimits vchangepw dotqmail2valias vpopmaild vlist
authvchkpw vusagec" || rm -f vchkpw vdelivermail clearopensmtp
vadddomain vdeldomain vpasswd vadduser vdeluser vaddaliasdomain
vsetuserquota vpopbull vdeloldusers vmoduser valias vuserinfo
vmkpasswd vipmap vdominfo vconvert vkill vmoddomlimits vchangepw
dotqmail2valias vpopmaild vlist authvchkpw vusagec

Thanks
wL

On Mon, Jan 24, 2011 at 11:34 PM, Matt Brookings <***@inter7.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 01/24/2011 09:32 AM, Qmail List wrote:
>> Hi Matt,
>>
>> I am trying to compile 5.4.32. I had also did make install in
>> /var/src/vpopmail-5.4.32 but still having the same problem.
>>
>> What can i try next?
>
> The error means the protocol API used by the vusage daemon is not in
> the vpopmail library.  vauth_getpw is not found either, which is a
> staple vpopmail API call.  It looks like it may not be able to find
> the vpopmail library.
> - --
> /*
>    Matt Brookings <***@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/
>
> iEYEARECAAYFAk09m/gACgkQIwet2/rgZyy/5wCfQcKTOeIPUw3cunbMxUQJAX5F
> 14cAn1CGBz5mSh5TpiudYYJQzP4U3kHq
> =qyi4
> -----END PGP SIGNATURE-----
>

!DSPAM:4d3d9ee832711976258561!
Matt Brookings
2011-01-24 15:52:22 UTC
Permalink
On 01/24/2011 09:46 AM, Qmail List wrote:
> Hi,
>
> I wanted to recompile vpopmail. So i did a make clean. I noticed
> vusagec. Is this the daemon you were mentioning about?
>
> Is there a way to check why am i missing vusage and vauth_getpw?
>
> test -z "libvpopmail.a" || rm -f libvpopmail.a
> test -z "vchkpw vdelivermail clearopensmtp vadddomain vdeldomain
> vpasswd vadduser vdeluser vaddaliasdomain vsetuserquota vpopbull
> vdeloldusers vmoduser valias vuserinfo vmkpasswd vipmap vdominfo
> vconvert vkill vmoddomlimits vchangepw dotqmail2valias vpopmaild vlist
> authvchkpw vusagec" || rm -f vchkpw vdelivermail clearopensmtp
> vadddomain vdeldomain vpasswd vadduser vdeluser vaddaliasdomain
> vsetuserquota vpopbull vdeloldusers vmoduser valias vuserinfo
> vmkpasswd vipmap vdominfo vconvert vkill vmoddomlimits vchangepw
> dotqmail2valias vpopmaild vlist authvchkpw vusagec

What is the configure line you're using? Also, post the config.log
and config.h the configure generates (using pastebin or some other
service).
- --
/*
Matt Brookings <***@inter7.com> GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
Qmail List
2011-01-24 16:22:31 UTC
Permalink
Hi,

For Vpopmail, i did this.

./configure --enable-logging=v \
make
make install-strip

Vpopmail config.log
http://pastebin.com/5xZT1EiH

Vpopmail config.h
http://pastebin.com/t6FQzp0U

For Vusaged, i did this.
./configure
make

Vusaged config.log
http://pastebin.com/78MsKPjh

Vusaged config.h
http://pastebin.com/k9kk7Zff


Thanks
wL

On Mon, Jan 24, 2011 at 11:52 PM, Matt Brookings <***@inter7.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 01/24/2011 09:46 AM, Qmail List wrote:
>> Hi,
>>
>> I wanted to recompile vpopmail. So i did a make clean. I noticed
>> vusagec. Is this the daemon you were mentioning about?
>>
>> Is there a way to check why am i missing vusage and vauth_getpw?
>>
>> test -z "libvpopmail.a" || rm -f libvpopmail.a
>> test -z "vchkpw vdelivermail clearopensmtp vadddomain vdeldomain
>> vpasswd vadduser vdeluser vaddaliasdomain vsetuserquota vpopbull
>> vdeloldusers vmoduser valias vuserinfo vmkpasswd vipmap vdominfo
>> vconvert vkill vmoddomlimits vchangepw dotqmail2valias vpopmaild vlist
>> authvchkpw vusagec" || rm -f vchkpw vdelivermail clearopensmtp
>> vadddomain vdeldomain vpasswd vadduser vdeluser vaddaliasdomain
>> vsetuserquota vpopbull vdeloldusers vmoduser valias vuserinfo
>> vmkpasswd vipmap vdominfo vconvert vkill vmoddomlimits vchangepw
>> dotqmail2valias vpopmaild vlist authvchkpw vusagec
>
> What is the configure line you're using?  Also, post the config.log
> and config.h the configure generates (using pastebin or some other
> service).
> - --
> /*
>    Matt Brookings <***@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/
>
> iEYEARECAAYFAk09oDYACgkQIwet2/rgZywdTwCgkLr6kDrsWkBZgKom55hHGqjn
> ht8AnRBwwVltwRLVYwwosUNS10DCO+PF
> =BenR
> -----END PGP SIGNATURE-----
>

!DSPAM:4d3da74a32711311418038!
Matt Brookings
2011-01-24 16:26:41 UTC
Permalink
On 01/24/2011 10:22 AM, Qmail List wrote:
> Hi,
>
> For Vpopmail, i did this.
>
> ./configure --enable-logging=v \
> make
> make install-strip
>
> Vpopmail config.log
> http://pastebin.com/5xZT1EiH
>
> Vpopmail config.h
> http://pastebin.com/t6FQzp0U
>
> For Vusaged, i did this.
> ./configure
> make
>
> Vusaged config.log
> http://pastebin.com/78MsKPjh
>
> Vusaged config.h
> http://pastebin.com/k9kk7Zff

In the vusaged source directory, run "make clean", then "export
LDFLAGS='-ldl'", then try to build again.
- --
/*
Matt Brookings <***@inter7.com> GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
Matt Brookings
2011-01-24 16:27:18 UTC
Permalink
On 01/24/2011 10:26 AM, Matt Brookings wrote:
> On 01/24/2011 10:22 AM, Qmail List wrote:
>> Hi,
>
>> For Vpopmail, i did this.
>
>> ./configure --enable-logging=v \
>> make
>> make install-strip
>
>> Vpopmail config.log
>> http://pastebin.com/5xZT1EiH
>
>> Vpopmail config.h
>> http://pastebin.com/t6FQzp0U
>
>> For Vusaged, i did this.
>> ./configure
>> make
>
>> Vusaged config.log
>> http://pastebin.com/78MsKPjh
>
>> Vusaged config.h
>> http://pastebin.com/k9kk7Zff
>
> In the vusaged source directory, run "make clean", then "export
> LDFLAGS='-ldl'", then try to build again.

Er... Run "make distclean" .. set LDFLAGS as above, and then
./configure && make.
- --
/*
Matt Brookings <***@inter7.com> GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
Qmail List
2011-01-24 16:34:55 UTC
Permalink
Hi,

I followed your instruction.

export > LDFLAGS='-ldl'
./configure && make

Still i am getting the same error.

checking for vauth_getpw in -lvpopmail... no
checking for vauth_getall in -lvpopmail... no
checking for get_domain_entries in -lvpopmail... no
checking for client_query_quick in -lvpopmail... no
configure: error: No vauth_getpw in libvpopmail

Please dont give up on me.

Thanks
wL


On Tue, Jan 25, 2011 at 12:27 AM, Matt Brookings <***@inter7.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 01/24/2011 10:26 AM, Matt Brookings wrote:
>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>> Hi,
>>
>>> For Vpopmail, i did this.
>>
>>> ./configure --enable-logging=v \
>>> make
>>> make install-strip
>>
>>> Vpopmail config.log
>>> http://pastebin.com/5xZT1EiH
>>
>>> Vpopmail config.h
>>> http://pastebin.com/t6FQzp0U
>>
>>> For  Vusaged, i did this.
>>> ./configure
>>> make
>>
>>> Vusaged config.log
>>> http://pastebin.com/78MsKPjh
>>
>>> Vusaged config.h
>>> http://pastebin.com/k9kk7Zff
>>
>> In the vusaged source directory, run "make clean", then "export
>> LDFLAGS='-ldl'", then try to build again.
>
> Er... Run "make distclean" .. set LDFLAGS as above, and then
> ./configure && make.
> - --
> /*
>    Matt Brookings <***@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/
>
> iEYEARECAAYFAk09qGYACgkQIwet2/rgZywAwACZAYLxh1ikvIx4TwXGgDp8nSIe
> bYIAn2Fh/WiqMrQ0aR6YheHe3pqmKXi/
> =tV5t
> -----END PGP SIGNATURE-----
>

!DSPAM:4d3daa3132711011516965!
Matt Brookings
2011-01-24 16:37:15 UTC
Permalink
On 01/24/2011 10:34 AM, Qmail List wrote:
> Hi,
>
> I followed your instruction.
>
> export > LDFLAGS='-ldl'

It's "export LDFLAGS='-ldl'. There's no ">" in it.
- --
/*
Matt Brookings <***@inter7.com> GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
Qmail List
2011-01-24 16:45:31 UTC
Permalink
Thanks Matt. I am able to proceed.

On Tue, Jan 25, 2011 at 12:37 AM, Matt Brookings <***@inter7.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 01/24/2011 10:34 AM, Qmail List wrote:
>> Hi,
>>
>> I followed your instruction.
>>
>> export > LDFLAGS='-ldl'
>
> It's "export LDFLAGS='-ldl'.  There's no ">" in it.
> - --
> /*
>    Matt Brookings <***@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/
>
> iEYEARECAAYFAk09qrsACgkQIwet2/rgZyyoqQCeMW5JswM/TQREdpvqSEP1wan0
> /ogAoIc1xoSHC/MF3A0tDhGwEQ+8sGc+
> =bwIs
> -----END PGP SIGNATURE-----
>

!DSPAM:4d3dacad32714254211647!
Franko Fang
2013-03-05 15:45:38 UTC
Permalink
Dear Matt:

Matt Brookings <matt <at> inter7.com> writes:

>
>
> On 01/24/2011 10:22 AM, Qmail List wrote:
> > Hi,
> >
> > For Vpopmail, i did this.
> >
> > ./configure --enable-logging=v \
> > make
> > make install-strip
> >
> > Vpopmail config.log
> > http://pastebin.com/5xZT1EiH
> >
> > Vpopmail config.h
> > http://pastebin.com/t6FQzp0U
> >
> > For Vusaged, i did this.
> > ./configure
> > make
> >
> > Vusaged config.log
> > http://pastebin.com/78MsKPjh
> >
> > Vusaged config.h
> > http://pastebin.com/k9kk7Zff
>
> In the vusaged source directory, run "make clean", then "export
> LDFLAGS='-ldl'", then try to build again.

--I did the same compile on Ubuntu 12.04 32bit system,
and the error still exists.
checking for vauth_getpw in -lvpopmail... no
checking for vauth_getall in -lvpopmail... no
checking for get_domain_entries in -lvpopmail... no
checking for client_query_quick in -lvpopmail... yes
configure: error: No vauth_getpw in libvpopmail

--Any ideas for my issue?

Best Regards,
Franko Fang




!DSPAM:5135f9e634148231815428!
Remo Mattei
2013-03-05 16:55:54 UTC
Permalink
which version of vpop?

On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:

> Dear Matt:
>
> Matt Brookings <matt <at> inter7.com> writes:
>
>>
>>
>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>> Hi,
>>>
>>> For Vpopmail, i did this.
>>>
>>> ./configure --enable-logging=v \
>>> make
>>> make install-strip
>>>
>>> Vpopmail config.log
>>> http://pastebin.com/5xZT1EiH
>>>
>>> Vpopmail config.h
>>> http://pastebin.com/t6FQzp0U
>>>
>>> For Vusaged, i did this.
>>> ./configure
>>> make
>>>
>>> Vusaged config.log
>>> http://pastebin.com/78MsKPjh
>>>
>>> Vusaged config.h
>>> http://pastebin.com/k9kk7Zff
>>
>> In the vusaged source directory, run "make clean", then "export
>> LDFLAGS='-ldl'", then try to build again.
>
> --I did the same compile on Ubuntu 12.04 32bit system,
> and the error still exists.
> checking for vauth_getpw in -lvpopmail... no
> checking for vauth_getall in -lvpopmail... no
> checking for get_domain_entries in -lvpopmail... no
> checking for client_query_quick in -lvpopmail... yes
> configure: error: No vauth_getpw in libvpopmail
>
> --Any ideas for my issue?
>
> Best Regards,
> Franko Fang
>
>
>
>
>
>
>
>
>


!DSPAM:5136083034141093680365!
Marcello Lupo
2013-12-12 17:16:06 UTC
Permalink
Hello,
any news on this issue?
I have exactly this issue on ubuntu server 12.04 LTS x86_64 .

checking for vauth_getpw in -lvpopmail... no
checking for vauth_getall in -lvpopmail... no
checking for get_domain_entries in -lvpopmail... no
checking for client_query_quick in -lvpopmail... yes
configure: error: No vauth_getpw in libvpopmail

I tried vpopmail version 5.4.32 and 5.4.33 .

This are the options:

./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
--disable-roaming-users \
--enable-onchange-script \
--enable-auth-module=mysql \
--enable-logging=p \
--enable-mysql-limits \
--enable-valias \
--disable-clear-passwd \
--enable-sql-logging \
--enable-auth-logging \
--enable-qmail-newu=/var/qmail/bin/qmail-newu \
--enable-qmail-inject=/var/qmail/bin/qmail-inject \
--enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh

I already tried all the solutions suggested in this thread with no success.

Thank you all for any help.
Bye
Marcello


Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <***@italy1.com> ha scritto:

> which version of vpop?
>
> On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:
>
>> Dear Matt:
>>
>> Matt Brookings <matt <at> inter7.com> writes:
>>
>>>
>>>
>>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>>> Hi,
>>>>
>>>> For Vpopmail, i did this.
>>>>
>>>> ./configure --enable-logging=v \
>>>> make
>>>> make install-strip
>>>>
>>>> Vpopmail config.log
>>>> http://pastebin.com/5xZT1EiH
>>>>
>>>> Vpopmail config.h
>>>> http://pastebin.com/t6FQzp0U
>>>>
>>>> For Vusaged, i did this.
>>>> ./configure
>>>> make
>>>>
>>>> Vusaged config.log
>>>> http://pastebin.com/78MsKPjh
>>>>
>>>> Vusaged config.h
>>>> http://pastebin.com/k9kk7Zff
>>>
>>> In the vusaged source directory, run "make clean", then "export
>>> LDFLAGS='-ldl'", then try to build again.
>>
>> --I did the same compile on Ubuntu 12.04 32bit system,
>> and the error still exists.
>> checking for vauth_getpw in -lvpopmail... no
>> checking for vauth_getall in -lvpopmail... no
>> checking for get_domain_entries in -lvpopmail... no
>> checking for client_query_quick in -lvpopmail... yes
>> configure: error: No vauth_getpw in libvpopmail
>>
>> --Any ideas for my issue?
>>
>> Best Regards,
>> Franko Fang
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>


!DSPAM:52a9ef5634261418742760!
Eric Shubert
2013-12-12 18:09:24 UTC
Permalink
Have you done as Matt suggested?

# make distclean
# export LDFLAGS='-ldl'
# ./configure && make.

On 12/12/2013 10:16 AM, Marcello Lupo wrote:
> Hello,
> any news on this issue?
> I have exactly this issue on ubuntu server 12.04 LTS x86_64 .
>
> checking for vauth_getpw in -lvpopmail... no
> checking for vauth_getall in -lvpopmail... no
> checking for get_domain_entries in -lvpopmail... no
> checking for client_query_quick in -lvpopmail... yes
> configure: error: No vauth_getpw in libvpopmail
>
> I tried vpopmail version 5.4.32 and 5.4.33 .
>
> This are the options:
>
> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
> --disable-roaming-users \
> --enable-onchange-script \
> --enable-auth-module=mysql \
> --enable-logging=p \
> --enable-mysql-limits \
> --enable-valias \
> --disable-clear-passwd \
> --enable-sql-logging \
> --enable-auth-logging \
> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>
> I already tried all the solutions suggested in this thread with no success.
>
> Thank you all for any help.
> Bye
> Marcello
>
>
> Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <***@italy1.com> ha scritto:
>
>> which version of vpop?
>>
>> On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:
>>
>>> Dear Matt:
>>>
>>> Matt Brookings <matt <at> inter7.com> writes:
>>>
>>>>
>>>>
>>>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>>>> Hi,
>>>>>
>>>>> For Vpopmail, i did this.
>>>>>
>>>>> ./configure --enable-logging=v \
>>>>> make
>>>>> make install-strip
>>>>>
>>>>> Vpopmail config.log
>>>>> http://pastebin.com/5xZT1EiH
>>>>>
>>>>> Vpopmail config.h
>>>>> http://pastebin.com/t6FQzp0U
>>>>>
>>>>> For Vusaged, i did this.
>>>>> ./configure
>>>>> make
>>>>>
>>>>> Vusaged config.log
>>>>> http://pastebin.com/78MsKPjh
>>>>>
>>>>> Vusaged config.h
>>>>> http://pastebin.com/k9kk7Zff
>>>>
>>>> In the vusaged source directory, run "make clean", then "export
>>>> LDFLAGS='-ldl'", then try to build again.
>>>
>>> --I did the same compile on Ubuntu 12.04 32bit system,
>>> and the error still exists.
>>> checking for vauth_getpw in -lvpopmail... no
>>> checking for vauth_getall in -lvpopmail... no
>>> checking for get_domain_entries in -lvpopmail... no
>>> checking for client_query_quick in -lvpopmail... yes
>>> configure: error: No vauth_getpw in libvpopmail
>>>
>>> --Any ideas for my issue?
>>>
>>> Best Regards,
>>> Franko Fang
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>
>


--
-Eric 'shubes'


!DSPAM:52a9fbdb34268319221288!
Marcello Lupo
2013-12-13 11:38:01 UTC
Permalink
Hello,
Yes i have done it but it is not woking.
Anyway the make distclean is useless in the vusaged directory. It doesn’t produce any effect since the Makefile have still to be created because ./configure is not working.
The libvpopmail.a is correctly found and loaded in the LDCONFIG.
Any hint?
Thank you
Bye
Marcello

Il giorno 12/dic/2013, alle ore 19:09, Eric Shubert <***@shubes.net> ha scritto:

> Have you done as Matt suggested?
>
> # make distclean
> # export LDFLAGS='-ldl'
> # ./configure && make.
>
> On 12/12/2013 10:16 AM, Marcello Lupo wrote:
>> Hello,
>> any news on this issue?
>> I have exactly this issue on ubuntu server 12.04 LTS x86_64 .
>>
>> checking for vauth_getpw in -lvpopmail... no
>> checking for vauth_getall in -lvpopmail... no
>> checking for get_domain_entries in -lvpopmail... no
>> checking for client_query_quick in -lvpopmail... yes
>> configure: error: No vauth_getpw in libvpopmail
>>
>> I tried vpopmail version 5.4.32 and 5.4.33 .
>>
>> This are the options:
>>
>> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
>> --disable-roaming-users \
>> --enable-onchange-script \
>> --enable-auth-module=mysql \
>> --enable-logging=p \
>> --enable-mysql-limits \
>> --enable-valias \
>> --disable-clear-passwd \
>> --enable-sql-logging \
>> --enable-auth-logging \
>> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
>> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
>> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>>
>> I already tried all the solutions suggested in this thread with no success.
>>
>> Thank you all for any help.
>> Bye
>> Marcello
>>
>>
>> Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <***@italy1.com> ha scritto:
>>
>>> which version of vpop?
>>>
>>> On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:
>>>
>>>> Dear Matt:
>>>>
>>>> Matt Brookings <matt <at> inter7.com> writes:
>>>>
>>>>>
>>>>>
>>>>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>>>>> Hi,
>>>>>>
>>>>>> For Vpopmail, i did this.
>>>>>>
>>>>>> ./configure --enable-logging=v \
>>>>>> make
>>>>>> make install-strip
>>>>>>
>>>>>> Vpopmail config.log
>>>>>> http://pastebin.com/5xZT1EiH
>>>>>>
>>>>>> Vpopmail config.h
>>>>>> http://pastebin.com/t6FQzp0U
>>>>>>
>>>>>> For Vusaged, i did this.
>>>>>> ./configure
>>>>>> make
>>>>>>
>>>>>> Vusaged config.log
>>>>>> http://pastebin.com/78MsKPjh
>>>>>>
>>>>>> Vusaged config.h
>>>>>> http://pastebin.com/k9kk7Zff
>>>>>
>>>>> In the vusaged source directory, run "make clean", then "export
>>>>> LDFLAGS='-ldl'", then try to build again.
>>>>
>>>> --I did the same compile on Ubuntu 12.04 32bit system,
>>>> and the error still exists.
>>>> checking for vauth_getpw in -lvpopmail... no
>>>> checking for vauth_getall in -lvpopmail... no
>>>> checking for get_domain_entries in -lvpopmail... no
>>>> checking for client_query_quick in -lvpopmail... yes
>>>> configure: error: No vauth_getpw in libvpopmail
>>>>
>>>> --Any ideas for my issue?
>>>>
>>>> Best Regards,
>>>> Franko Fang
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
> --
> -Eric 'shubes'
>
>
>
>


!DSPAM:52aaf19734261071129162!
Eric Shubert
2013-12-13 17:58:02 UTC
Permalink
Is the system finding the correct libvpopmail?
Perhaps search the entire system for all libvpopmail files to be sure
there's not another one being picked up inadvertently?
--
-Eric 'shubes'

On 12/13/2013 04:38 AM, Marcello Lupo wrote:
> Hello,
> Yes i have done it but it is not woking.
> Anyway the make distclean is useless in the vusaged directory. It doesn’t produce any effect since the Makefile have still to be created because ./configure is not working.
> The libvpopmail.a is correctly found and loaded in the LDCONFIG.
> Any hint?
> Thank you
> Bye
> Marcello
>
> Il giorno 12/dic/2013, alle ore 19:09, Eric Shubert <***@shubes.net> ha scritto:
>
>> Have you done as Matt suggested?
>>
>> # make distclean
>> # export LDFLAGS='-ldl'
>> # ./configure && make.
>>
>> On 12/12/2013 10:16 AM, Marcello Lupo wrote:
>>> Hello,
>>> any news on this issue?
>>> I have exactly this issue on ubuntu server 12.04 LTS x86_64 .
>>>
>>> checking for vauth_getpw in -lvpopmail... no
>>> checking for vauth_getall in -lvpopmail... no
>>> checking for get_domain_entries in -lvpopmail... no
>>> checking for client_query_quick in -lvpopmail... yes
>>> configure: error: No vauth_getpw in libvpopmail
>>>
>>> I tried vpopmail version 5.4.32 and 5.4.33 .
>>>
>>> This are the options:
>>>
>>> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
>>> --disable-roaming-users \
>>> --enable-onchange-script \
>>> --enable-auth-module=mysql \
>>> --enable-logging=p \
>>> --enable-mysql-limits \
>>> --enable-valias \
>>> --disable-clear-passwd \
>>> --enable-sql-logging \
>>> --enable-auth-logging \
>>> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
>>> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
>>> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>>>
>>> I already tried all the solutions suggested in this thread with no success.
>>>
>>> Thank you all for any help.
>>> Bye
>>> Marcello
>>>
>>>
>>> Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <***@italy1.com> ha scritto:
>>>
>>>> which version of vpop?
>>>>
>>>> On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:
>>>>
>>>>> Dear Matt:
>>>>>
>>>>> Matt Brookings <matt <at> inter7.com> writes:
>>>>>
>>>>>>
>>>>>>
>>>>>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> For Vpopmail, i did this.
>>>>>>>
>>>>>>> ./configure --enable-logging=v \
>>>>>>> make
>>>>>>> make install-strip
>>>>>>>
>>>>>>> Vpopmail config.log
>>>>>>> http://pastebin.com/5xZT1EiH
>>>>>>>
>>>>>>> Vpopmail config.h
>>>>>>> http://pastebin.com/t6FQzp0U
>>>>>>>
>>>>>>> For Vusaged, i did this.
>>>>>>> ./configure
>>>>>>> make
>>>>>>>
>>>>>>> Vusaged config.log
>>>>>>> http://pastebin.com/78MsKPjh
>>>>>>>
>>>>>>> Vusaged config.h
>>>>>>> http://pastebin.com/k9kk7Zff
>>>>>>
>>>>>> In the vusaged source directory, run "make clean", then "export
>>>>>> LDFLAGS='-ldl'", then try to build again.
>>>>>
>>>>> --I did the same compile on Ubuntu 12.04 32bit system,
>>>>> and the error still exists.
>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>> checking for vauth_getall in -lvpopmail... no
>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>
>>>>> --Any ideas for my issue?
>>>>>
>>>>> Best Regards,
>>>>> Franko Fang
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> -Eric 'shubes'
>>
>>
>>
>>
>
>
>
>
>




!DSPAM:52ab4ab034261127822959!
Marcello Lupo
2013-12-13 18:14:55 UTC
Permalink
Hi,
yes all is correct:

the only libvpopmail.a found are:

/usr/src/vpopmail-5.4.33/libvpopmail.a
/home/vpopmail/lib/libvpopmail.a

and are identical files.

I think the issue can reside in the way the configure script make the check of vauth_getpw in the libvpopmail or depending on some configure option i used.
I tried to dig a little bit in the sources but was not able to understand so much. I’m not so skilled coder.
Thank you if you have any other suggestion.
Eventually i can give you access to the system of you need it. I really need to compile it otherwise the server will never start.
Thank you
Bye
Marcello

Il giorno 13/dic/2013, alle ore 18:58, Eric Shubert <***@shubes.net> ha scritto:

> Is the system finding the correct libvpopmail?
> Perhaps search the entire system for all libvpopmail files to be sure there's not another one being picked up inadvertently?
> --
> -Eric 'shubes'
>
> On 12/13/2013 04:38 AM, Marcello Lupo wrote:
>> Hello,
>> Yes i have done it but it is not woking.
>> Anyway the make distclean is useless in the vusaged directory. It doesn’t produce any effect since the Makefile have still to be created because ./configure is not working.
>> The libvpopmail.a is correctly found and loaded in the LDCONFIG.
>> Any hint?
>> Thank you
>> Bye
>> Marcello
>>
>> Il giorno 12/dic/2013, alle ore 19:09, Eric Shubert <***@shubes.net> ha scritto:
>>
>>> Have you done as Matt suggested?
>>>
>>> # make distclean
>>> # export LDFLAGS='-ldl'
>>> # ./configure && make.
>>>
>>> On 12/12/2013 10:16 AM, Marcello Lupo wrote:
>>>> Hello,
>>>> any news on this issue?
>>>> I have exactly this issue on ubuntu server 12.04 LTS x86_64 .
>>>>
>>>> checking for vauth_getpw in -lvpopmail... no
>>>> checking for vauth_getall in -lvpopmail... no
>>>> checking for get_domain_entries in -lvpopmail... no
>>>> checking for client_query_quick in -lvpopmail... yes
>>>> configure: error: No vauth_getpw in libvpopmail
>>>>
>>>> I tried vpopmail version 5.4.32 and 5.4.33 .
>>>>
>>>> This are the options:
>>>>
>>>> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
>>>> --disable-roaming-users \
>>>> --enable-onchange-script \
>>>> --enable-auth-module=mysql \
>>>> --enable-logging=p \
>>>> --enable-mysql-limits \
>>>> --enable-valias \
>>>> --disable-clear-passwd \
>>>> --enable-sql-logging \
>>>> --enable-auth-logging \
>>>> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
>>>> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
>>>> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>>>>
>>>> I already tried all the solutions suggested in this thread with no success.
>>>>
>>>> Thank you all for any help.
>>>> Bye
>>>> Marcello
>>>>
>>>>
>>>> Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <***@italy1.com> ha scritto:
>>>>
>>>>> which version of vpop?
>>>>>
>>>>> On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:
>>>>>
>>>>>> Dear Matt:
>>>>>>
>>>>>> Matt Brookings <matt <at> inter7.com> writes:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> For Vpopmail, i did this.
>>>>>>>>
>>>>>>>> ./configure --enable-logging=v \
>>>>>>>> make
>>>>>>>> make install-strip
>>>>>>>>
>>>>>>>> Vpopmail config.log
>>>>>>>> http://pastebin.com/5xZT1EiH
>>>>>>>>
>>>>>>>> Vpopmail config.h
>>>>>>>> http://pastebin.com/t6FQzp0U
>>>>>>>>
>>>>>>>> For Vusaged, i did this.
>>>>>>>> ./configure
>>>>>>>> make
>>>>>>>>
>>>>>>>> Vusaged config.log
>>>>>>>> http://pastebin.com/78MsKPjh
>>>>>>>>
>>>>>>>> Vusaged config.h
>>>>>>>> http://pastebin.com/k9kk7Zff
>>>>>>>
>>>>>>> In the vusaged source directory, run "make clean", then "export
>>>>>>> LDFLAGS='-ldl'", then try to build again.
>>>>>>
>>>>>> --I did the same compile on Ubuntu 12.04 32bit system,
>>>>>> and the error still exists.
>>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>>> checking for vauth_getall in -lvpopmail... no
>>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>>
>>>>>> --Any ideas for my issue?
>>>>>>
>>>>>> Best Regards,
>>>>>> Franko Fang
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> -Eric 'shubes'
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>
>
>


!DSPAM:52ab4e9d34261008010253!
Eric Shubert
2013-12-13 19:11:57 UTC
Permalink
For your reference, here's the .spec file I'm using for the QMailToaster
version of vpopmail:
https://github.com/QMailToaster/vpopmail/blob/master/vpopmail.spec
This is building ok on CentOS 5 & 6, and both x86_64 and i386 arch's.

You might try running autoreconf && automake && autoconf before running
the configure script, and see what that does for you.

HTH.
--
-Eric 'shubes'

On 12/13/2013 11:14 AM, Marcello Lupo wrote:
> Hi,
> yes all is correct:
>
> the only libvpopmail.a found are:
>
> /usr/src/vpopmail-5.4.33/libvpopmail.a
> /home/vpopmail/lib/libvpopmail.a
>
> and are identical files.
>
> I think the issue can reside in the way the configure script make the check of vauth_getpw in the libvpopmail or depending on some configure option i used.
> I tried to dig a little bit in the sources but was not able to understand so much. I’m not so skilled coder.
> Thank you if you have any other suggestion.
> Eventually i can give you access to the system of you need it. I really need to compile it otherwise the server will never start.
> Thank you
> Bye
> Marcello
>
> Il giorno 13/dic/2013, alle ore 18:58, Eric Shubert <***@shubes.net> ha scritto:
>
>> Is the system finding the correct libvpopmail?
>> Perhaps search the entire system for all libvpopmail files to be sure there's not another one being picked up inadvertently?
>> --
>> -Eric 'shubes'
>>
>> On 12/13/2013 04:38 AM, Marcello Lupo wrote:
>>> Hello,
>>> Yes i have done it but it is not woking.
>>> Anyway the make distclean is useless in the vusaged directory. It doesn’t produce any effect since the Makefile have still to be created because ./configure is not working.
>>> The libvpopmail.a is correctly found and loaded in the LDCONFIG.
>>> Any hint?
>>> Thank you
>>> Bye
>>> Marcello
>>>
>>> Il giorno 12/dic/2013, alle ore 19:09, Eric Shubert <***@shubes.net> ha scritto:
>>>
>>>> Have you done as Matt suggested?
>>>>
>>>> # make distclean
>>>> # export LDFLAGS='-ldl'
>>>> # ./configure && make.
>>>>
>>>> On 12/12/2013 10:16 AM, Marcello Lupo wrote:
>>>>> Hello,
>>>>> any news on this issue?
>>>>> I have exactly this issue on ubuntu server 12.04 LTS x86_64 .
>>>>>
>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>> checking for vauth_getall in -lvpopmail... no
>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>
>>>>> I tried vpopmail version 5.4.32 and 5.4.33 .
>>>>>
>>>>> This are the options:
>>>>>
>>>>> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
>>>>> --disable-roaming-users \
>>>>> --enable-onchange-script \
>>>>> --enable-auth-module=mysql \
>>>>> --enable-logging=p \
>>>>> --enable-mysql-limits \
>>>>> --enable-valias \
>>>>> --disable-clear-passwd \
>>>>> --enable-sql-logging \
>>>>> --enable-auth-logging \
>>>>> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
>>>>> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
>>>>> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>>>>>
>>>>> I already tried all the solutions suggested in this thread with no success.
>>>>>
>>>>> Thank you all for any help.
>>>>> Bye
>>>>> Marcello
>>>>>
>>>>>
>>>>> Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <***@italy1.com> ha scritto:
>>>>>
>>>>>> which version of vpop?
>>>>>>
>>>>>> On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:
>>>>>>
>>>>>>> Dear Matt:
>>>>>>>
>>>>>>> Matt Brookings <matt <at> inter7.com> writes:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> For Vpopmail, i did this.
>>>>>>>>>
>>>>>>>>> ./configure --enable-logging=v \
>>>>>>>>> make
>>>>>>>>> make install-strip
>>>>>>>>>
>>>>>>>>> Vpopmail config.log
>>>>>>>>> http://pastebin.com/5xZT1EiH
>>>>>>>>>
>>>>>>>>> Vpopmail config.h
>>>>>>>>> http://pastebin.com/t6FQzp0U
>>>>>>>>>
>>>>>>>>> For Vusaged, i did this.
>>>>>>>>> ./configure
>>>>>>>>> make
>>>>>>>>>
>>>>>>>>> Vusaged config.log
>>>>>>>>> http://pastebin.com/78MsKPjh
>>>>>>>>>
>>>>>>>>> Vusaged config.h
>>>>>>>>> http://pastebin.com/k9kk7Zff
>>>>>>>>
>>>>>>>> In the vusaged source directory, run "make clean", then "export
>>>>>>>> LDFLAGS='-ldl'", then try to build again.
>>>>>>>
>>>>>>> --I did the same compile on Ubuntu 12.04 32bit system,
>>>>>>> and the error still exists.
>>>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>>>> checking for vauth_getall in -lvpopmail... no
>>>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>>>
>>>>>>> --Any ideas for my issue?
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> Franko Fang
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> -Eric 'shubes'
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>




!DSPAM:52ab5c0234262134724148!
Marcello Lupo
2013-12-13 20:08:42 UTC
Permalink
Hi,
Thank you.

I tried in vpopmail-5.4.33 dir:

make distclean
autoreconf
automake
autoconf

./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
--disable-roaming-users \
--enable-onchange-script \
--enable-auth-module=mysql \
--enable-logging=p \
--disable-mysql-limits \
--enable-valias \
--disable-clear-passwd \
--enable-sql-logging \
--enable-auth-logging \
--enable-qmail-newu=/var/qmail/bin/qmail-newu \
--enable-qmail-inject=/var/qmail/bin/qmail-inject \
--enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh

make
make install-strip
ldconfig

All compiled fine and installed.
When compile vusaged i get the same error both with or without the export LDFLAGS='-ldl’ command.
Other hints?
Thank you
Bye
Marcello

Il giorno 13/dic/2013, alle ore 20:11, Eric Shubert <***@shubes.net> ha scritto:

> For your reference, here's the .spec file I'm using for the QMailToaster version of vpopmail:
> https://github.com/QMailToaster/vpopmail/blob/master/vpopmail.spec
> This is building ok on CentOS 5 & 6, and both x86_64 and i386 arch's.
>
> You might try running autoreconf && automake && autoconf before running the configure script, and see what that does for you.
>
> HTH.
> --
> -Eric 'shubes'
>
> On 12/13/2013 11:14 AM, Marcello Lupo wrote:
>> Hi,
>> yes all is correct:
>>
>> the only libvpopmail.a found are:
>>
>> /usr/src/vpopmail-5.4.33/libvpopmail.a
>> /home/vpopmail/lib/libvpopmail.a
>>
>> and are identical files.
>>
>> I think the issue can reside in the way the configure script make the check of vauth_getpw in the libvpopmail or depending on some configure option i used.
>> I tried to dig a little bit in the sources but was not able to understand so much. I’m not so skilled coder.
>> Thank you if you have any other suggestion.
>> Eventually i can give you access to the system of you need it. I really need to compile it otherwise the server will never start.
>> Thank you
>> Bye
>> Marcello
>>
>> Il giorno 13/dic/2013, alle ore 18:58, Eric Shubert <***@shubes.net> ha scritto:
>>
>>> Is the system finding the correct libvpopmail?
>>> Perhaps search the entire system for all libvpopmail files to be sure there's not another one being picked up inadvertently?
>>> --
>>> -Eric 'shubes'
>>>
>>> On 12/13/2013 04:38 AM, Marcello Lupo wrote:
>>>> Hello,
>>>> Yes i have done it but it is not woking.
>>>> Anyway the make distclean is useless in the vusaged directory. It doesn’t produce any effect since the Makefile have still to be created because ./configure is not working.
>>>> The libvpopmail.a is correctly found and loaded in the LDCONFIG.
>>>> Any hint?
>>>> Thank you
>>>> Bye
>>>> Marcello
>>>>
>>>> Il giorno 12/dic/2013, alle ore 19:09, Eric Shubert <***@shubes.net> ha scritto:
>>>>
>>>>> Have you done as Matt suggested?
>>>>>
>>>>> # make distclean
>>>>> # export LDFLAGS='-ldl'
>>>>> # ./configure && make.
>>>>>
>>>>> On 12/12/2013 10:16 AM, Marcello Lupo wrote:
>>>>>> Hello,
>>>>>> any news on this issue?
>>>>>> I have exactly this issue on ubuntu server 12.04 LTS x86_64 .
>>>>>>
>>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>>> checking for vauth_getall in -lvpopmail... no
>>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>>
>>>>>> I tried vpopmail version 5.4.32 and 5.4.33 .
>>>>>>
>>>>>> This are the options:
>>>>>>
>>>>>> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
>>>>>> --disable-roaming-users \
>>>>>> --enable-onchange-script \
>>>>>> --enable-auth-module=mysql \
>>>>>> --enable-logging=p \
>>>>>> --enable-mysql-limits \
>>>>>> --enable-valias \
>>>>>> --disable-clear-passwd \
>>>>>> --enable-sql-logging \
>>>>>> --enable-auth-logging \
>>>>>> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
>>>>>> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
>>>>>> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>>>>>>
>>>>>> I already tried all the solutions suggested in this thread with no success.
>>>>>>
>>>>>> Thank you all for any help.
>>>>>> Bye
>>>>>> Marcello
>>>>>>
>>>>>>
>>>>>> Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <***@italy1.com> ha scritto:
>>>>>>
>>>>>>> which version of vpop?
>>>>>>>
>>>>>>> On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:
>>>>>>>
>>>>>>>> Dear Matt:
>>>>>>>>
>>>>>>>> Matt Brookings <matt <at> inter7.com> writes:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> For Vpopmail, i did this.
>>>>>>>>>>
>>>>>>>>>> ./configure --enable-logging=v \
>>>>>>>>>> make
>>>>>>>>>> make install-strip
>>>>>>>>>>
>>>>>>>>>> Vpopmail config.log
>>>>>>>>>> http://pastebin.com/5xZT1EiH
>>>>>>>>>>
>>>>>>>>>> Vpopmail config.h
>>>>>>>>>> http://pastebin.com/t6FQzp0U
>>>>>>>>>>
>>>>>>>>>> For Vusaged, i did this.
>>>>>>>>>> ./configure
>>>>>>>>>> make
>>>>>>>>>>
>>>>>>>>>> Vusaged config.log
>>>>>>>>>> http://pastebin.com/78MsKPjh
>>>>>>>>>>
>>>>>>>>>> Vusaged config.h
>>>>>>>>>> http://pastebin.com/k9kk7Zff
>>>>>>>>>
>>>>>>>>> In the vusaged source directory, run "make clean", then "export
>>>>>>>>> LDFLAGS='-ldl'", then try to build again.
>>>>>>>>
>>>>>>>> --I did the same compile on Ubuntu 12.04 32bit system,
>>>>>>>> and the error still exists.
>>>>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>>>>> checking for vauth_getall in -lvpopmail... no
>>>>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>>>>
>>>>>>>> --Any ideas for my issue?
>>>>>>>>
>>>>>>>> Best Regards,
>>>>>>>> Franko Fang
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> -Eric 'shubes'
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>
>
>


!DSPAM:52ab694634261159978309!
Remo Mattei
2013-12-13 20:26:10 UTC
Permalink
Hi Marcello, 
I am looking at my installation and I do not have vusaged are you sure you are using 5.4.33?

Ciao
-- 
Remo Mattei


On December 13, 2013 at 12:21:39, Marcello Lupo (***@itspecialist.it) wrote:

vusaged

!DSPAM:52ab6d5c34264660412975!
Remo Mattei
2013-12-13 20:29:10 UTC
Permalink
One more thing, I am looking at my compile location and I do have it, I do get a shared lib but I am not using it on my server. 


Anyhow, I will check and let you know. 

Ciao
-- 
Remo Mattei


On December 13, 2013 at 12:21:39, Marcello Lupo (***@itspecialist.it) wrote:

vusaged

!DSPAM:52ab6e0f34263773815312!
Eric Shubert
2013-12-13 20:33:30 UTC
Permalink
Hmmm. When I run ./configure in vusaged/, I get:
checking for stdint.h... yes
checking for unistd.h... yes
checking ev.h usability... no
checking ev.h presence... no
checking for ev.h... no
checking for ev_loop_new in -lev... no
configure: error: No libev found

Now, I wonder where ev comes from. Actually, I wonder what ev *is*. ;)

I'm no vpopmail expert, but I'm getting there. ;)

--
-Eric 'shubes'

On 12/13/2013 01:08 PM, Marcello Lupo wrote:
> Hi,
> Thank you.
>
> I tried in vpopmail-5.4.33 dir:
>
> make distclean
> autoreconf
> automake
> autoconf
>
> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
> --disable-roaming-users \
> --enable-onchange-script \
> --enable-auth-module=mysql \
> --enable-logging=p \
> --disable-mysql-limits \
> --enable-valias \
> --disable-clear-passwd \
> --enable-sql-logging \
> --enable-auth-logging \
> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>
> make
> make install-strip
> ldconfig
>
> All compiled fine and installed.
> When compile vusaged i get the same error both with or without the export LDFLAGS='-ldl’ command.
> Other hints?
> Thank you
> Bye
> Marcello
>
> Il giorno 13/dic/2013, alle ore 20:11, Eric Shubert <***@shubes.net> ha scritto:
>
>> For your reference, here's the .spec file I'm using for the QMailToaster version of vpopmail:
>> https://github.com/QMailToaster/vpopmail/blob/master/vpopmail.spec
>> This is building ok on CentOS 5 & 6, and both x86_64 and i386 arch's.
>>
>> You might try running autoreconf && automake && autoconf before running the configure script, and see what that does for you.
>>
>> HTH.
>> --
>> -Eric 'shubes'
>>
>> On 12/13/2013 11:14 AM, Marcello Lupo wrote:
>>> Hi,
>>> yes all is correct:
>>>
>>> the only libvpopmail.a found are:
>>>
>>> /usr/src/vpopmail-5.4.33/libvpopmail.a
>>> /home/vpopmail/lib/libvpopmail.a
>>>
>>> and are identical files.
>>>
>>> I think the issue can reside in the way the configure script make the check of vauth_getpw in the libvpopmail or depending on some configure option i used.
>>> I tried to dig a little bit in the sources but was not able to understand so much. I’m not so skilled coder.
>>> Thank you if you have any other suggestion.
>>> Eventually i can give you access to the system of you need it. I really need to compile it otherwise the server will never start.
>>> Thank you
>>> Bye
>>> Marcello
>>>
>>> Il giorno 13/dic/2013, alle ore 18:58, Eric Shubert <***@shubes.net> ha scritto:
>>>
>>>> Is the system finding the correct libvpopmail?
>>>> Perhaps search the entire system for all libvpopmail files to be sure there's not another one being picked up inadvertently?
>>>> --
>>>> -Eric 'shubes'
>>>>
>>>> On 12/13/2013 04:38 AM, Marcello Lupo wrote:
>>>>> Hello,
>>>>> Yes i have done it but it is not woking.
>>>>> Anyway the make distclean is useless in the vusaged directory. It doesn’t produce any effect since the Makefile have still to be created because ./configure is not working.
>>>>> The libvpopmail.a is correctly found and loaded in the LDCONFIG.
>>>>> Any hint?
>>>>> Thank you
>>>>> Bye
>>>>> Marcello
>>>>>
>>>>> Il giorno 12/dic/2013, alle ore 19:09, Eric Shubert <***@shubes.net> ha scritto:
>>>>>
>>>>>> Have you done as Matt suggested?
>>>>>>
>>>>>> # make distclean
>>>>>> # export LDFLAGS='-ldl'
>>>>>> # ./configure && make.
>>>>>>
>>>>>> On 12/12/2013 10:16 AM, Marcello Lupo wrote:
>>>>>>> Hello,
>>>>>>> any news on this issue?
>>>>>>> I have exactly this issue on ubuntu server 12.04 LTS x86_64 .
>>>>>>>
>>>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>>>> checking for vauth_getall in -lvpopmail... no
>>>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>>>
>>>>>>> I tried vpopmail version 5.4.32 and 5.4.33 .
>>>>>>>
>>>>>>> This are the options:
>>>>>>>
>>>>>>> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
>>>>>>> --disable-roaming-users \
>>>>>>> --enable-onchange-script \
>>>>>>> --enable-auth-module=mysql \
>>>>>>> --enable-logging=p \
>>>>>>> --enable-mysql-limits \
>>>>>>> --enable-valias \
>>>>>>> --disable-clear-passwd \
>>>>>>> --enable-sql-logging \
>>>>>>> --enable-auth-logging \
>>>>>>> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
>>>>>>> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
>>>>>>> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>>>>>>>
>>>>>>> I already tried all the solutions suggested in this thread with no success.
>>>>>>>
>>>>>>> Thank you all for any help.
>>>>>>> Bye
>>>>>>> Marcello
>>>>>>>
>>>>>>>
>>>>>>> Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <***@italy1.com> ha scritto:
>>>>>>>
>>>>>>>> which version of vpop?
>>>>>>>>
>>>>>>>> On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:
>>>>>>>>
>>>>>>>>> Dear Matt:
>>>>>>>>>
>>>>>>>>> Matt Brookings <matt <at> inter7.com> writes:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> For Vpopmail, i did this.
>>>>>>>>>>>
>>>>>>>>>>> ./configure --enable-logging=v \
>>>>>>>>>>> make
>>>>>>>>>>> make install-strip
>>>>>>>>>>>
>>>>>>>>>>> Vpopmail config.log
>>>>>>>>>>> http://pastebin.com/5xZT1EiH
>>>>>>>>>>>
>>>>>>>>>>> Vpopmail config.h
>>>>>>>>>>> http://pastebin.com/t6FQzp0U
>>>>>>>>>>>
>>>>>>>>>>> For Vusaged, i did this.
>>>>>>>>>>> ./configure
>>>>>>>>>>> make
>>>>>>>>>>>
>>>>>>>>>>> Vusaged config.log
>>>>>>>>>>> http://pastebin.com/78MsKPjh
>>>>>>>>>>>
>>>>>>>>>>> Vusaged config.h
>>>>>>>>>>> http://pastebin.com/k9kk7Zff
>>>>>>>>>>
>>>>>>>>>> In the vusaged source directory, run "make clean", then "export
>>>>>>>>>> LDFLAGS='-ldl'", then try to build again.
>>>>>>>>>
>>>>>>>>> --I did the same compile on Ubuntu 12.04 32bit system,
>>>>>>>>> and the error still exists.
>>>>>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>>>>>> checking for vauth_getall in -lvpopmail... no
>>>>>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>>>>>
>>>>>>>>> --Any ideas for my issue?
>>>>>>>>>
>>>>>>>>> Best Regards,
>>>>>>>>> Franko Fang
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> -Eric 'shubes'
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>




!DSPAM:52ab6f2434267623599601!
Eric Shubert
2013-12-13 20:38:28 UTC
Permalink
On 12/13/2013 01:33 PM, Eric Shubert wrote:
> Hmmm. When I run ./configure in vusaged/, I get:
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking ev.h usability... no
> checking ev.h presence... no
> checking for ev.h... no
> checking for ev_loop_new in -lev... no
> configure: error: No libev found
>
> Now, I wonder where ev comes from. Actually, I wonder what ev *is*. ;)
>
> I'm no vpopmail expert, but I'm getting there. ;)
>

I sent too soon. I see I need libev-devel.

--
-Eric 'shubes'


!DSPAM:52ab70a134261461915962!
Eric Shubert
2013-12-13 22:04:01 UTC
Permalink
Well, I think I know why my build fails, as I've patched vpopmail to
alter the location of the includes and lib directories.

/home/vpopmail/etc (or /etc/vpopmail in my case) should have an
include_deps and a lib_deps file.

What do you have in /home/vpopmail/etc/lib_deps ?
The first -L option there should be where your libvpopmail.a resides.

HTH.

--
-Eric 'shubes'

On 12/13/2013 01:08 PM, Marcello Lupo wrote:
> Hi,
> Thank you.
>
> I tried in vpopmail-5.4.33 dir:
>
> make distclean
> autoreconf
> automake
> autoconf
>
> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
> --disable-roaming-users \
> --enable-onchange-script \
> --enable-auth-module=mysql \
> --enable-logging=p \
> --disable-mysql-limits \
> --enable-valias \
> --disable-clear-passwd \
> --enable-sql-logging \
> --enable-auth-logging \
> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>
> make
> make install-strip
> ldconfig
>
> All compiled fine and installed.
> When compile vusaged i get the same error both with or without the export LDFLAGS='-ldl’ command.
> Other hints?
> Thank you
> Bye
> Marcello
>
> Il giorno 13/dic/2013, alle ore 20:11, Eric Shubert <***@shubes.net> ha scritto:
>
>> For your reference, here's the .spec file I'm using for the QMailToaster version of vpopmail:
>> https://github.com/QMailToaster/vpopmail/blob/master/vpopmail.spec
>> This is building ok on CentOS 5 & 6, and both x86_64 and i386 arch's.
>>
>> You might try running autoreconf && automake && autoconf before running the configure script, and see what that does for you.
>>
>> HTH.
>> --
>> -Eric 'shubes'
>>
>> On 12/13/2013 11:14 AM, Marcello Lupo wrote:
>>> Hi,
>>> yes all is correct:
>>>
>>> the only libvpopmail.a found are:
>>>
>>> /usr/src/vpopmail-5.4.33/libvpopmail.a
>>> /home/vpopmail/lib/libvpopmail.a
>>>
>>> and are identical files.
>>>
>>> I think the issue can reside in the way the configure script make the check of vauth_getpw in the libvpopmail or depending on some configure option i used.
>>> I tried to dig a little bit in the sources but was not able to understand so much. I’m not so skilled coder.
>>> Thank you if you have any other suggestion.
>>> Eventually i can give you access to the system of you need it. I really need to compile it otherwise the server will never start.
>>> Thank you
>>> Bye
>>> Marcello
>>>
>>> Il giorno 13/dic/2013, alle ore 18:58, Eric Shubert <***@shubes.net> ha scritto:
>>>
>>>> Is the system finding the correct libvpopmail?
>>>> Perhaps search the entire system for all libvpopmail files to be sure there's not another one being picked up inadvertently?
>>>> --
>>>> -Eric 'shubes'
>>>>
>>>> On 12/13/2013 04:38 AM, Marcello Lupo wrote:
>>>>> Hello,
>>>>> Yes i have done it but it is not woking.
>>>>> Anyway the make distclean is useless in the vusaged directory. It doesn’t produce any effect since the Makefile have still to be created because ./configure is not working.
>>>>> The libvpopmail.a is correctly found and loaded in the LDCONFIG.
>>>>> Any hint?
>>>>> Thank you
>>>>> Bye
>>>>> Marcello
>>>>>
>>>>> Il giorno 12/dic/2013, alle ore 19:09, Eric Shubert <***@shubes.net> ha scritto:
>>>>>
>>>>>> Have you done as Matt suggested?
>>>>>>
>>>>>> # make distclean
>>>>>> # export LDFLAGS='-ldl'
>>>>>> # ./configure && make.
>>>>>>
>>>>>> On 12/12/2013 10:16 AM, Marcello Lupo wrote:
>>>>>>> Hello,
>>>>>>> any news on this issue?
>>>>>>> I have exactly this issue on ubuntu server 12.04 LTS x86_64 .
>>>>>>>
>>>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>>>> checking for vauth_getall in -lvpopmail... no
>>>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>>>
>>>>>>> I tried vpopmail version 5.4.32 and 5.4.33 .
>>>>>>>
>>>>>>> This are the options:
>>>>>>>
>>>>>>> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
>>>>>>> --disable-roaming-users \
>>>>>>> --enable-onchange-script \
>>>>>>> --enable-auth-module=mysql \
>>>>>>> --enable-logging=p \
>>>>>>> --enable-mysql-limits \
>>>>>>> --enable-valias \
>>>>>>> --disable-clear-passwd \
>>>>>>> --enable-sql-logging \
>>>>>>> --enable-auth-logging \
>>>>>>> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
>>>>>>> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
>>>>>>> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>>>>>>>
>>>>>>> I already tried all the solutions suggested in this thread with no success.
>>>>>>>
>>>>>>> Thank you all for any help.
>>>>>>> Bye
>>>>>>> Marcello
>>>>>>>
>>>>>>>
>>>>>>> Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <***@italy1.com> ha scritto:
>>>>>>>
>>>>>>>> which version of vpop?
>>>>>>>>
>>>>>>>> On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:
>>>>>>>>
>>>>>>>>> Dear Matt:
>>>>>>>>>
>>>>>>>>> Matt Brookings <matt <at> inter7.com> writes:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> For Vpopmail, i did this.
>>>>>>>>>>>
>>>>>>>>>>> ./configure --enable-logging=v \
>>>>>>>>>>> make
>>>>>>>>>>> make install-strip
>>>>>>>>>>>
>>>>>>>>>>> Vpopmail config.log
>>>>>>>>>>> http://pastebin.com/5xZT1EiH
>>>>>>>>>>>
>>>>>>>>>>> Vpopmail config.h
>>>>>>>>>>> http://pastebin.com/t6FQzp0U
>>>>>>>>>>>
>>>>>>>>>>> For Vusaged, i did this.
>>>>>>>>>>> ./configure
>>>>>>>>>>> make
>>>>>>>>>>>
>>>>>>>>>>> Vusaged config.log
>>>>>>>>>>> http://pastebin.com/78MsKPjh
>>>>>>>>>>>
>>>>>>>>>>> Vusaged config.h
>>>>>>>>>>> http://pastebin.com/k9kk7Zff
>>>>>>>>>>
>>>>>>>>>> In the vusaged source directory, run "make clean", then "export
>>>>>>>>>> LDFLAGS='-ldl'", then try to build again.
>>>>>>>>>
>>>>>>>>> --I did the same compile on Ubuntu 12.04 32bit system,
>>>>>>>>> and the error still exists.
>>>>>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>>>>>> checking for vauth_getall in -lvpopmail... no
>>>>>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>>>>>
>>>>>>>>> --Any ideas for my issue?
>>>>>>>>>
>>>>>>>>> Best Regards,
>>>>>>>>> Franko Fang
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> -Eric 'shubes'
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>




!DSPAM:52ab845434261615547718!
Remo Mattei
2013-12-13 22:22:03 UTC
Permalink
I remember now. This file 
./lib/libvpopmail.so was created with 5.5 but then vadmin was not working. So  I went back to 5.4.33. and I disabled the file and everything works fine but this command vusaged

Ciao
-- 
Remo Mattei


On December 13, 2013 at 14:17:05, Eric Shubert (***@shubes.net) wrote:

Well, I think I know why my build fails, as I've patched vpopmail to
alter the location of the includes and lib directories.

/home/vpopmail/etc (or /etc/vpopmail in my case) should have an
include_deps and a lib_deps file.

What do you have in /home/vpopmail/etc/lib_deps ?
The first -L option there should be where your libvpopmail.a resides.

HTH.

--
-Eric 'shubes'

On 12/13/2013 01:08 PM, Marcello Lupo wrote:
> Hi,
> Thank you.
>
> I tried in vpopmail-5.4.33 dir:
>
> make distclean
> autoreconf
> automake
> autoconf
>
> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
> --disable-roaming-users \
> --enable-onchange-script \
> --enable-auth-module=mysql \
> --enable-logging=p \
> --disable-mysql-limits \
> --enable-valias \
> --disable-clear-passwd \
> --enable-sql-logging \
> --enable-auth-logging \
> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>
> make
> make install-strip
> ldconfig
>
> All compiled fine and installed.
> When compile vusaged i get the same error both with or without the export LDFLAGS='-ldl’ command.
> Other hints?
> Thank you
> Bye
> Marcello
>
> Il giorno 13/dic/2013, alle ore 20:11, Eric Shubert <***@shubes.net> ha scritto:
>
>> For your reference, here's the .spec file I'm using for the QMailToaster version of vpopmail:
>> https://github.com/QMailToaster/vpopmail/blob/master/vpopmail.spec
>> This is building ok on CentOS 5 & 6, and both x86_64 and i386 arch's.
>>
>> You might try running autoreconf && automake && autoconf before running the configure script, and see what that does for you.
>>
>> HTH.
>> --
>> -Eric 'shubes'
>>
>> On 12/13/2013 11:14 AM, Marcello Lupo wrote:
>>> Hi,
>>> yes all is correct:
>>>
>>> the only libvpopmail.a found are:
>>>
>>> /usr/src/vpopmail-5.4.33/libvpopmail.a
>>> /home/vpopmail/lib/libvpopmail.a
>>>
>>> and are identical files.
>>>
>>> I think the issue can reside in the way the configure script make the check of vauth_getpw in the libvpopmail or depending on some configure option i used.
>>> I tried to dig a little bit in the sources but was not able to understand so much. I’m not so skilled coder.
>>> Thank you if you have any other suggestion.
>>> Eventually i can give you access to the system of you need it. I really need to compile it otherwise the server will never start.
>>> Thank you
>>> Bye
>>> Marcello
>>>
>>> Il giorno 13/dic/2013, alle ore 18:58, Eric Shubert <***@shubes.net> ha scritto:
>>>
>>>> Is the system finding the correct libvpopmail?
>>>> Perhaps search the entire system for all libvpopmail files to be sure there's not another one being picked up inadvertently?
>>>> --
>>>> -Eric 'shubes'
>>>>
>>>> On 12/13/2013 04:38 AM, Marcello Lupo wrote:
>>>>> Hello,
>>>>> Yes i have done it but it is not woking.
>>>>> Anyway the make distclean is useless in the vusaged directory. It doesn’t produce any effect since the Makefile have still to be created because ./configure is not working.
>>>>> The libvpopmail.a is correctly found and loaded in the LDCONFIG.
>>>>> Any hint?
>>>>> Thank you
>>>>> Bye
>>>>> Marcello
>>>>>
>>>>> Il giorno 12/dic/2013, alle ore 19:09, Eric Shubert <***@shubes.net> ha scritto:
>>>>>
>>>>>> Have you done as Matt suggested?
>>>>>>
>>>>>> # make distclean
>>>>>> # export LDFLAGS='-ldl'
>>>>>> # ./configure && make.
>>>>>>
>>>>>> On 12/12/2013 10:16 AM, Marcello Lupo wrote:
>>>>>>> Hello,
>>>>>>> any news on this issue?
>>>>>>> I have exactly this issue on ubuntu server 12.04 LTS x86_64 .
>>>>>>>
>>>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>>>> checking for vauth_getall in -lvpopmail... no
>>>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>>>
>>>>>>> I tried vpopmail version 5.4.32 and 5.4.33 .
>>>>>>>
>>>>>>> This are the options:
>>>>>>>
>>>>>>> ./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
>>>>>>> --disable-roaming-users \
>>>>>>> --enable-onchange-script \
>>>>>>> --enable-auth-module=mysql \
>>>>>>> --enable-logging=p \
>>>>>>> --enable-mysql-limits \
>>>>>>> --enable-valias \
>>>>>>> --disable-clear-passwd \
>>>>>>> --enable-sql-logging \
>>>>>>> --enable-auth-logging \
>>>>>>> --enable-qmail-newu=/var/qmail/bin/qmail-newu \
>>>>>>> --enable-qmail-inject=/var/qmail/bin/qmail-inject \
>>>>>>> --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
>>>>>>>
>>>>>>> I already tried all the solutions suggested in this thread with no success.
>>>>>>>
>>>>>>> Thank you all for any help.
>>>>>>> Bye
>>>>>>> Marcello
>>>>>>>
>>>>>>>
>>>>>>> Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <***@italy1.com> ha scritto:
>>>>>>>
>>>>>>>> which version of vpop?
>>>>>>>>
>>>>>>>> On Mar 5, 2013, at 07:45 , Franko Fang <***@163.com> wrote:
>>>>>>>>
>>>>>>>>> Dear Matt:
>>>>>>>>>
>>>>>>>>> Matt Brookings <matt <at> inter7.com> writes:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 01/24/2011 10:22 AM, Qmail List wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> For Vpopmail, i did this.
>>>>>>>>>>>
>>>>>>>>>>> ./configure --enable-logging=v \
>>>>>>>>>>> make
>>>>>>>>>>> make install-strip
>>>>>>>>>>>
>>>>>>>>>>> Vpopmail config.log
>>>>>>>>>>> http://pastebin.com/5xZT1EiH
>>>>>>>>>>>
>>>>>>>>>>> Vpopmail config.h
>>>>>>>>>>> http://pastebin.com/t6FQzp0U
>>>>>>>>>>>
>>>>>>>>>>> For Vusaged, i did this.
>>>>>>>>>>> ./configure
>>>>>>>>>>> make
>>>>>>>>>>>
>>>>>>>>>>> Vusaged config.log
>>>>>>>>>>> http://pastebin.com/78MsKPjh
>>>>>>>>>>>
>>>>>>>>>>> Vusaged config.h
>>>>>>>>>>> http://pastebin.com/k9kk7Zff
>>>>>>>>>>
>>>>>>>>>> In the vusaged source directory, run "make clean", then "export
>>>>>>>>>> LDFLAGS='-ldl'", then try to build again.
>>>>>>>>>
>>>>>>>>> --I did the same compile on Ubuntu 12.04 32bit system,
>>>>>>>>> and the error still exists.
>>>>>>>>> checking for vauth_getpw in -lvpopmail... no
>>>>>>>>> checking for vauth_getall in -lvpopmail... no
>>>>>>>>> checking for get_domain_entries in -lvpopmail... no
>>>>>>>>> checking for client_query_quick in -lvpopmail... yes
>>>>>>>>> configure: error: No vauth_getpw in libvpopmail
>>>>>>>>>
>>>>>>>>> --Any ideas for my issue?
>>>>>>>>>
>>>>>>>>> Best Regards,
>>>>>>>>> Franko Fang
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> -Eric 'shubes'
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>











!DSPAM:52ab888534262865519375!
Eric Shubert
2013-12-13 22:47:35 UTC
Permalink
On 12/13/2013 03:04 PM, Eric Shubert wrote:
> Well, I think I know why my build fails, as I've patched vpopmail to
> alter the location of the includes and lib directories.
>
> /home/vpopmail/etc (or /etc/vpopmail in my case) should have an
> include_deps and a lib_deps file.
>
> What do you have in /home/vpopmail/etc/lib_deps ?
> The first -L option there should be where your libvpopmail.a resides.
>
> HTH.
>

vusaged builds fine for me now.
Check your lib_deps file.

--
-Eric 'shubes'


!DSPAM:52ab8e8a34261660830915!
Marcello Lupo
2013-12-13 23:31:48 UTC
Permalink
Hi,
I have all correct I think.

/home/vpopmail/etc/lib_deps contains:

-L/home/vpopmail/lib -lvpopmail -Xlinker -R -Xlinker /usr/lib/mysql -L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt

So it is correct.

If you see in my log:

checking for ev.h... yes
checking for ev_loop_new in -lev... yes
checking vpopmail.h usability... yes
checking vpopmail.h presence... yes
checking for vpopmail.h... yes
checking vauth.h usability... yes
checking vauth.h presence... yes
checking for vauth.h... yes
checking for vauth_getpw in -lvpopmail... no
checking for vauth_getall in -lvpopmail... no
checking for get_domain_entries in -lvpopmail... no
checking for client_query_quick in -lvpopmail... yes
configure: error: No vauth_getpw in libvpopmail

The line before the error is "checking for client_query_quick in -lvpopmail… yes” so the configure found correctly the library. I think we have to focus on the way the check for vauth_getpw is done or x86_64 or ubuntu distribution issue.

I tried to do with the default ./configure (without any option) and the result is the same.

Thank you for your time.
Bye
Marcello

Il giorno 13/dic/2013, alle ore 23:47, Eric Shubert <***@shubes.net> ha scritto:

> On 12/13/2013 03:04 PM, Eric Shubert wrote:
>> Well, I think I know why my build fails, as I've patched vpopmail to
>> alter the location of the includes and lib directories.
>>
>> /home/vpopmail/etc (or /etc/vpopmail in my case) should have an
>> include_deps and a lib_deps file.
>>
>> What do you have in /home/vpopmail/etc/lib_deps ?
>> The first -L option there should be where your libvpopmail.a resides.
>>
>> HTH.
>>
>
> vusaged builds fine for me now.
> Check your lib_deps file.
>
> --
> -Eric 'shubes'
>
>
>
>


!DSPAM:52ab98de34261115181404!
Eric Shubert
2013-12-14 02:01:18 UTC
Permalink
On 12/13/2013 04:31 PM, Marcello Lupo wrote:
> Hi,
> I have all correct I think.
>
> /home/vpopmail/etc/lib_deps contains:
>
> -L/home/vpopmail/lib -lvpopmail -Xlinker -R -Xlinker /usr/lib/mysql -L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt
>
> So it is correct.
>
> If you see in my log:
>
> checking for ev.h... yes
> checking for ev_loop_new in -lev... yes
> checking vpopmail.h usability... yes
> checking vpopmail.h presence... yes
> checking for vpopmail.h... yes
> checking vauth.h usability... yes
> checking vauth.h presence... yes
> checking for vauth.h... yes
> checking for vauth_getpw in -lvpopmail... no
> checking for vauth_getall in -lvpopmail... no
> checking for get_domain_entries in -lvpopmail... no
> checking for client_query_quick in -lvpopmail... yes
> configure: error: No vauth_getpw in libvpopmail
>
> The line before the error is "checking for client_query_quick in -lvpopmail… yes” so the configure found correctly the library. I think we have to focus on the way the check for vauth_getpw is done or x86_64 or ubuntu distribution issue.
>
> I tried to do with the default ./configure (without any option) and the result is the same.
>
> Thank you for your time.
> Bye
> Marcello

Sorry I didn't notice that earlier Marcello. You're correct, it is
apparently finding a vpopmail library.

If you "nm libvpopmail.a | less", do you find/see the missing vauth_
functions? I show them under both the libvpopmail_a-vpopmail.o: and
libvpopmail_a-vauth.o: sections. If you don't see them then there's a
problem with your make of libvpopmail.a, as you suspect. If you do see
them, then it appears that your libvpopmail.a isn't being picked up for
some reason (the lib_deps file is silently not being found).

Which is it?

--
-Eric 'shubes'


!DSPAM:52abbbf334262138172228!
Marcello Lupo
2013-12-14 10:06:31 UTC
Permalink
Hi Eric,

i have it under:

libvpopmail_a-vpopmail.o:
U vauth_getpw
libvpopmail_a-vauth.o:
0000000000000caa T vauth_getpw
libvpopmail_a-vutil.o:
U vauth_getpw

So i think it is ok.
Thank you
Bye
Marcello


Il giorno 14/dic/2013, alle ore 03:01, Eric Shubert <***@shubes.net> ha scritto:

> On 12/13/2013 04:31 PM, Marcello Lupo wrote:
>> Hi,
>> I have all correct I think.
>>
>> /home/vpopmail/etc/lib_deps contains:
>>
>> -L/home/vpopmail/lib -lvpopmail -Xlinker -R -Xlinker /usr/lib/mysql -L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt
>>
>> So it is correct.
>>
>> If you see in my log:
>>
>> checking for ev.h... yes
>> checking for ev_loop_new in -lev... yes
>> checking vpopmail.h usability... yes
>> checking vpopmail.h presence... yes
>> checking for vpopmail.h... yes
>> checking vauth.h usability... yes
>> checking vauth.h presence... yes
>> checking for vauth.h... yes
>> checking for vauth_getpw in -lvpopmail... no
>> checking for vauth_getall in -lvpopmail... no
>> checking for get_domain_entries in -lvpopmail... no
>> checking for client_query_quick in -lvpopmail... yes
>> configure: error: No vauth_getpw in libvpopmail
>>
>> The line before the error is "checking for client_query_quick in -lvpopmail… yes” so the configure found correctly the library. I think we have to focus on the way the check for vauth_getpw is done or x86_64 or ubuntu distribution issue.
>>
>> I tried to do with the default ./configure (without any option) and the result is the same.
>>
>> Thank you for your time.
>> Bye
>> Marcello
>
> Sorry I didn't notice that earlier Marcello. You're correct, it is apparently finding a vpopmail library.
>
> If you "nm libvpopmail.a | less", do you find/see the missing vauth_ functions? I show them under both the libvpopmail_a-vpopmail.o: and libvpopmail_a-vauth.o: sections. If you don't see them then there's a problem with your make of libvpopmail.a, as you suspect. If you do see them, then it appears that your libvpopmail.a isn't being picked up for some reason (the lib_deps file is silently not being found).
>
> Which is it?
>
> --
> -Eric 'shubes'
>
>
>
>


!DSPAM:52ac2da134269935620071!
Remo Mattei
2013-12-13 23:33:20 UTC
Permalink
Nice I will chk

Inviato da iPhone ()

> Il giorno Dec 13, 2013, alle ore 14:47, Eric Shubert <***@shubes.net> ha scritto:
>
>> On 12/13/2013 03:04 PM, Eric Shubert wrote:
>> Well, I think I know why my build fails, as I've patched vpopmail to
>> alter the location of the includes and lib directories.
>>
>> /home/vpopmail/etc (or /etc/vpopmail in my case) should have an
>> include_deps and a lib_deps file.
>>
>> What do you have in /home/vpopmail/etc/lib_deps ?
>> The first -L option there should be where your libvpopmail.a resides.
>>
>> HTH.
>
> vusaged builds fine for me now.
> Check your lib_deps file.
>
> --
> -Eric 'shubes'
>
>
>
>
>
>
>

!DSPAM:52ab993834262012214510!
Loading...