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:
I'll try to make this > 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? sure, 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} make -V CONFIGURE_ENV CPPFLAGS="-I/usr/local/include " LDFLAGS=" -L/usr/local/lib -lthr" SHELL=/bin/sh CONFIG_SHELL=/bin/sh MAKE=gmake LIBTOOL=/usr/local/bin/libtool LIBTOOLIZE=/usr/local/bin/libtoolize LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 lt_cv_sys_max_cmd_len=262144 make -V MAKE_ENV SHELL=/bin/sh NO_LINT=YES LIBTOOL=/usr/local/bin/libtool LIBTOOLIZE=/usr/local/bin/libtoolize LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 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