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

Attachment: PGP.sig
Description: This is a digitally signed message part

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

Reply via email to