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

2013-12-12 Thread Eric Shubert

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:52a9fbdb34268319221288!



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

2013-12-13 Thread Eric Shubert

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:52ab4ab034261127822959!



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

2013-12-13 Thread Eric Shubert
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

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!



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

2013-12-13 Thread Eric Shubert

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  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

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 -lvpopm

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

2013-12-13 Thread Eric Shubert

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!



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

2013-12-13 Thread Eric Shubert
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  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

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_q

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

2013-12-13 Thread Eric Shubert

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!



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

2013-12-13 Thread Eric Shubert

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!



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

2013-12-13 Thread Remo Mattei
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 (e...@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  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/

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

2013-12-13 Thread Remo Mattei
Nice I will chk

Inviato da iPhone ()

> Il giorno Dec 13, 2013, alle ore 14: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:52ab993834262012214510!