On 2008-11-17 19:35, Renato Botelho wrote:
> On Mon, Nov 17, 2008 at 3:16 PM, Török Edwin <[EMAIL PROTECTED]> wrote:
>   
>> On 2008-11-17 17:29, Renato Botelho wrote:
>>     
>>> libtool: link: 
>>> `/home/garga/prs/clamav-devel/work/clamav-devel-20081114/libltdl/dlopen.la'
>>> is not a valid libtool archive
>>> gmake[4]: *** [libclamav.la] Error 1
>>> gmake[4]: Leaving directory
>>> `/home/garga/prs/clamav-devel/work/clamav-devel-20081114/libclamav'
>>> gmake[3]: *** [all-recursive] Error 1
>>> gmake[3]: Leaving directory
>>> `/home/garga/prs/clamav-devel/work/clamav-devel-20081114/libclamav'
>>> gmake[2]: *** [all] Error 2
>>> gmake[2]: Leaving directory
>>> `/home/garga/prs/clamav-devel/work/clamav-devel-20081114/libclamav'
>>> gmake[1]: *** [all-recursive] Error 1
>>> gmake[1]: Leaving directory
>>> `/home/garga/prs/clamav-devel/work/clamav-devel-20081114'
>>> gmake: *** [all] Error 2
>>>
>>> The content of 
>>> /home/garga/prs/clamav-devel/work/clamav-devel-20081114/libltdl/dlopen.la
>>> is here:
>>>
>>> http://pastebin.com/f13ec7157
>>>
>>>       
>> This says that it was generated by libtool 1.5.26, which is wrong.
>> ClamAV currently uses libtool 2.2.6a. Perhaps you accidentally
>> downgraded libtool by running autoreconf -fvi, or libtoolize --copy --force?
>>     
>
> Here you can see a complete buildlog:
>
> http://pastebin.com/f13816143
>
> I never ran libtoolize nor autoreconf.
>
> I don't know if it matters but the only version of libtool we have
> available on FreeBSD ports is 1.5.26.
>   

The problem is that it uses /usr/local/bin/libtool, instead of the
libtool distributed with ClamAV (2.2.6a).
Is the ports system changing that?
I think you can solve the build problem my making sure that clamav uses
the libtool we distribute, and not the system's libtool.

If clamav is built directly from svn, by a simple configure && make, it
builds without problems:
http://farm.0xacab.net/build/show/593

> Anyway, the current ports version (20081105) build without
> any problems, something happened between 05 and 14 Nov
> that make it stop building.
>   

Yep, libltdl was added.

Also I think you may want to get rid of this warning, can I see the
configure flags?

****** WARNING:
****** You are either cross compiling to a different host or
****** you have manually disabled important configure checks.
****** Please be aware that this build may be badly broken.
****** DO NOT REPORT BUGS BASED ON THIS BUILD !!!

Best regards,
--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to