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!



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/