Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: devel

Clamav snapshot 20081114 build error at FreeBSD

 

 

ClamAV devel RSS feed   Index | Next | Previous | View Threaded


rbgarga at gmail

Nov 17, 2008, 7:29 AM

Post #1 of 9 (996 views)
Permalink
Clamav snapshot 20081114 build error at FreeBSD

Hello,

I was trying to update clamav-devel's freebsd port to 20081114
snapshot but its build failed at this point:

rm -fr .libs/libclamav.lax
mkdir .libs/libclamav.lax
rm -fr .libs/libclamav.lax/libltdlc.a
mkdir .libs/libclamav.lax/libltdlc.a
(cd .libs/libclamav.lax/libltdlc.a && ar x
/home/garga/prs/clamav-devel/work/clamav-devel-20081114/libclamav/../libltdl/.libs/libltdlc.a)
rm -fr .libs/libclamav.lax/liblzma.a
mkdir .libs/libclamav.lax/liblzma.a
(cd .libs/libclamav.lax/liblzma.a && ar x
/home/garga/prs/clamav-devel/work/clamav-devel-20081114/libclamav/lzma/.libs/liblzma.a)
ar cru .libs/libclamav.a matcher-ac.o matcher-bm.o matcher.o md5.o
others.o readdb.o cvd.o dsig.o str.o scanners.o textdet.o filetypes.o
rtf.o blob.o mbox.o message.o table.o text.o ole2_extract.o
vba_extract.o msexpand.o pe.o disasm.o upx.o htmlnorm.o chmunpack.o
rebuildpe.o petite.o wwunpack.o unsp.o aspack.o packlibs.o fsg.o mew.o
upack.o line.o untar.o unzip.o inflate64.o special.o binhex.o is_tar.o
tnef.o autoit.o strlcpy.o regcomp.o regerror.o regexec.o regfree.o
unarj.o bzlib.o nulsft.o infblock.o pdf.o spin.o yc.o elf.o sis.o
uuencode.o phishcheck.o phish_domaincheck_db.o phish_whitelist.o
regex_list.o regex_suffix.o mspack.o cab.o entconv.o hashtab.o dconf.o
lzma_iface.o explode.o textnorm.o dlp.o js-norm.o uniq.o version.o
mpool.o .libs/libclamav.lax/libltdlc.a/libltdlc_la-preopen.o
.libs/libclamav.lax/libltdlc.a/libltdlc_la-lt__alloc.o
.libs/libclamav.lax/libltdlc.a/libltdlc_la-lt_dlloader.o
.libs/libclamav.lax/libltdlc.a/libltdlc_la-lt_error.o
.libs/libclamav.lax/libltdlc.a/libltdlc_la-ltdl.o
.libs/libclamav.lax/libltdlc.a/libltdlc_la-slist.o
.libs/libclamav.lax/libltdlc.a/argz.o
.libs/libclamav.lax/liblzma.a/LzmaStateDecode.o
ranlib .libs/libclamav.a
rm -fr .libs/libclamav.lax
creating libclamav.la
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

I'm ready to geive all information you consider necessary

Does anyone have any idea how to fix it?

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


edwintorok at gmail

Nov 17, 2008, 9:16 AM

Post #2 of 9 (951 views)
Permalink
Re: Clamav snapshot 20081114 build error at FreeBSD [In reply to]

On 2008-11-17 17:29, Renato Botelho wrote:
> Hello,
>
>

Hi,

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

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


rbgarga at gmail

Nov 17, 2008, 9:35 AM

Post #3 of 9 (952 views)
Permalink
Re: Clamav snapshot 20081114 build error at FreeBSD [In reply to]

On Mon, Nov 17, 2008 at 3:16 PM, Török Edwin <edwintorok[at]gmail.com> 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.

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

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


edwintorok at gmail

Nov 17, 2008, 9:41 AM

Post #4 of 9 (951 views)
Permalink
Re: Clamav snapshot 20081114 build error at FreeBSD [In reply to]

On 2008-11-17 19:35, Renato Botelho wrote:
> On Mon, Nov 17, 2008 at 3:16 PM, Török Edwin <edwintorok[at]gmail.com> 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


rbgarga at gmail

Nov 17, 2008, 9:54 AM

Post #5 of 9 (953 views)
Permalink
Re: Clamav snapshot 20081114 build error at FreeBSD [In reply to]

On Mon, Nov 17, 2008 at 3:41 PM, Török Edwin <edwintorok[at]gmail.com> wrote:
> On 2008-11-17 19:35, Renato Botelho wrote:
>> On Mon, Nov 17, 2008 at 3:16 PM, Török Edwin <edwintorok[at]gmail.com> 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


rbgarga at gmail

Nov 17, 2008, 10:02 AM

Post #6 of 9 (956 views)
Permalink
Re: Clamav snapshot 20081114 build error at FreeBSD [In reply to]

On Mon, Nov 17, 2008 at 3:41 PM, Török Edwin <edwintorok[at]gmail.com> wrote:
> On 2008-11-17 19:35, Renato Botelho wrote:
>> On Mon, Nov 17, 2008 at 3:16 PM, Török Edwin <edwintorok[at]gmail.com> 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:

garga[at]botelhor:~/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}

garga[at]botelhor:~/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

garga[at]botelhor:~/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


edwintorok at gmail

Nov 17, 2008, 10:39 AM

Post #7 of 9 (955 views)
Permalink
Re: Clamav snapshot 20081114 build error at FreeBSD [In reply to]

On 2008-11-17 20:02, Renato Botelho wrote:
> It built removing libtool dependency, thanks!!!
>

Ok.

>
>>> 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:
>
> garga[at]botelhor:~/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}
>

Please remove --disable-zlib-vcheck, FreeBSD should have a recent enough
zlib by now (>=1.2.2).
That should remove that configure warning as well.

You may want to add 'check' to the dependencies,
and have 'make check' being run during a build to see if everything is ok.

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


rbgarga at gmail

Nov 17, 2008, 10:46 AM

Post #8 of 9 (952 views)
Permalink
Re: Clamav snapshot 20081114 build error at FreeBSD [In reply to]

On Mon, Nov 17, 2008 at 4:39 PM, Török Edwin <edwintorok[at]gmail.com> wrote:
> On 2008-11-17 20:02, Renato Botelho wrote:
>> It built removing libtool dependency, thanks!!!
>>
>
> Ok.
>
>>
>>>> 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:
>>
>> garga[at]botelhor:~/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}
>>
>
> Please remove --disable-zlib-vcheck, FreeBSD should have a recent enough
> zlib by now (>=1.2.2).
> That should remove that configure warning as well.

After trying one by one, i found removing this it stops warning :)

> You may want to add 'check' to the dependencies,
> and have 'make check' being run during a build to see if everything is ok.

When? After configure?

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


edwintorok at gmail

Nov 17, 2008, 10:49 AM

Post #9 of 9 (951 views)
Permalink
Re: Clamav snapshot 20081114 build error at FreeBSD [In reply to]

On 2008-11-17 20:46, Renato Botelho wrote:
> On Mon, Nov 17, 2008 at 4:39 PM, Török Edwin <edwintorok[at]gmail.com> wrote:
>
>> On 2008-11-17 20:02, Renato Botelho wrote:
>>
>>> It built removing libtool dependency, thanks!!!
>>>
>>>
>> Ok.
>>
>>
>>>>> 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:
>>>
>>> garga[at]botelhor:~/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}
>>>
>>>
>> Please remove --disable-zlib-vcheck, FreeBSD should have a recent enough
>> zlib by now (>=1.2.2).
>> That should remove that configure warning as well.
>>
>
> After trying one by one, i found removing this it stops warning :)
>
>
>> You may want to add 'check' to the dependencies,
>> and have 'make check' being run during a build to see if everything is ok.
>>
>
> When? After configure?
>
> Thanks for all the help
>

Yes, after configure, and after you've run make:
./configure
make
make check
make install

That is the usual order, you can pass --enable-check to configure to
make sure it picks up 'libcheck' (by default it disables parts that
depend on it if it can't find it).
Maybe something not for the users, but for you, when you build the package.

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

ClamAV devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.