[prev in list] [next in list] [prev in thread] [next in thread] 

List:       clamav-devel
Subject:    Re: [Clamav-devel] clamav-0.96 is this properly working???
From:       Dale Walsh <dale () daleenterprise ! com>
Date:       2010-04-20 21:36:06
Message-ID: E8FB4C09-A9E0-45EE-92DD-4B62EA1B92B2 () daleenterprise ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Apr 19, 2010, at 11:11 AM, Török Edwin wrote:

> On 2010-04-19 18:02, Dale Walsh wrote:
>> Once all done and working I saw no need to keep the hacked files and
>> just backed up the binaries.
>
> OK, nevermind.
>
>> I'll send you a link to the binaries if you want to look at them.
>
> No need to do that.
>
> Best regards,
> --Edwin
> _______________________________________________
> http://lurker.clamav.net/list/clamav-devel.html
> Please submit your patches to our Bugzilla: http://bugs.clamav.net
>


Played around a little more with the source to get an optimal  
universal build (PPC/Intel), it seems link issues were less frequent  
when I forced libclamunrar to be built as static during a dynamic build.

The quick method was
CFLAGS="-arch ppc -arch i386 -g -O0  -pipe -no-cpp-precomp" CCFLAGS="- 
arch ppc -arch i386 -g -O0  -pipe " CXXFLAGS="-arch ppc -arch i386 -g  
-O0  -pipe " LDFLAGS="-arch ppc -arch i386 "   ./configure  --prefix=/ 
usr/local --mandir=/usr/share/man --sysconfdir=/private/etc/spam/ 
clamav --with-dbdir=/var/clamav --with-datadir=/var/clamav --with- 
user=clamav --with-group=clamav  --enable-bigstack --enable- 
readdir_r  --enable-shared --disable-static --disable-dependancy- 
tracking
cd libltdl
make
cd ../libclamav
make libclamunrar_la_LDFLAGS="-static -no-undefined" libclamunrar.la
cd ../
make


http://daleenterprise.com/info.php#module_clam

http://daleenterprise.com/clamav_test.php


-- Dale
["PGP.sig" (application/pgp-signature)]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic