On Mon, Nov 17, 2008 at 3:41 PM, Török Edwin <[EMAIL PROTECTED]> wrote:
> 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

It built removing libtool dependency, thanks!!!

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

I didn't check this part yet, but arguments has changed to:

[EMAIL PROTECTED]:~/prs/clamav-devel> make -V CONFIGURE_ARGS
--libdir=/usr/local/lib  --with-dbdir=/var/db/clamav  --with-zlib=/usr
 --disable-zlib-vcheck  --disable-clamuko  --disable-clamav
--enable-bigstack  --enable-readdir_r  --disable-dependency-tracking
--enable-gethostbyname_r  --enable-experimental --with-iconv
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}

[EMAIL PROTECTED]:~/prs/clamav-devel> make -V CONFIGURE_ENV
CPPFLAGS="-I/usr/local/include  "  LDFLAGS=" -L/usr/local/lib  -lthr"
SHELL=/bin/sh CONFIG_SHELL=/bin/sh MAKE=gmake
lt_cv_sys_max_cmd_len=262144

[EMAIL PROTECTED]:~/prs/clamav-devel> make -V MAKE_ENV
SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local
X11BASE=/usr/local  MOTIFLIB="-L/usr/local/lib -lXm -lXp"
LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"
CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"
MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s  -m 555"
BSD_INSTALL_SCRIPT="install   -m 555"  BSD_INSTALL_DATA="install   -m
444"  BSD_INSTALL_MAN="install   -m 444"


-- 
Renato Botelho
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to