Re: [vchkpw] [SPAM] Re: vusaged compile error

2013-12-14 Thread Marcello Lupo
Hi Eric,

i have it under:

libvpopmail_a-vpopmail.o:
U vauth_getpw
libvpopmail_a-vauth.o:
0caa 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  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!



Re: [vchkpw] [SPAM] Re: vusaged compile error

2013-12-13 Thread Marcello Lupo
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  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!



Re: [vchkpw] [SPAM] Re: vusaged compile error

2013-12-13 Thread Remo Mattei
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 (ml...@itspecialist.it) wrote:

vusaged

!DSPAM:52ab6e0f34263773815312!


Re: [vchkpw] [SPAM] Re: vusaged compile error

2013-12-13 Thread Remo Mattei
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 (ml...@itspecialist.it) wrote:

vusaged

!DSPAM:52ab6d5c34264660412975!


Re: [vchkpw] [SPAM] Re: vusaged compile error

2013-12-13 Thread Marcello Lupo
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  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  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  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  ha 
>> scritto:
>> 
>>> which version of vpop?
>>> 
>>> On Mar 5, 2013, at 07:45 , Franko Fang  wrote:
>>> 
 Dear Matt:
 
 Matt Brookings  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

Re: [vchkpw] [SPAM] Re: vusaged compile error

2013-12-13 Thread Marcello Lupo
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  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  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  ha 
 scritto:
 
> which version of vpop?
> 
> On Mar 5, 2013, at 07:45 , Franko Fang  wrote:
> 
>> Dear Matt:
>> 
>> Matt Brookings  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!



Re: [vchkpw] [SPAM] Re: vusaged compile error

2013-12-13 Thread Marcello Lupo
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  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  ha 
>> scritto:
>> 
>>> which version of vpop?
>>> 
>>> On Mar 5, 2013, at 07:45 , Franko Fang  wrote:
>>> 
 Dear Matt:
 
 Matt Brookings  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!



Re: [vchkpw] [SPAM] Re: vusaged compile error

2013-12-12 Thread Marcello Lupo
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  ha scritto:

> which version of vpop? 
> 
> On Mar 5, 2013, at 07:45 , Franko Fang  wrote:
> 
>> Dear Matt:
>> 
>> Matt Brookings  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!



Re: [vchkpw] [SPAM] Re: vusaged compile error

2013-03-05 Thread Remo Mattei
which version of vpop? 

On Mar 5, 2013, at 07:45 , Franko Fang  wrote:

> Dear Matt:
> 
> Matt Brookings  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!