[CLAM] mac os x build improvements

Maarten de Boer mdeboer at iua.upf.es
Wed Feb 25 07:53:56 PST 2004


The attached tarball contains some improvements to the CLAM build
system for Mac OS X. It will be included in the next release. For
the time being you can extract it inside your build folder:

cd CLAM-0.6.0/build
tar zxvf build-macosx.tar.gz

With these changes, applications build on Mac OS X will actually be
bundled applications: in a [NAME].app/ folder, which contains the
executable, info, an icon, resources, etcetera. This means that the
application will show up as a proper icon when viewed in the Finder.

It also modifies the resulting executable so that all bindings to
dynamic libraries are made obsolete, so you can open the application
double-clicking, and without having the DYLD_LIBRARY_PATH set.

The tarball also contains an application which allows you to modify all
the external dynamic libraries used by CLAM, so that the pathes to the
dynamic library are correct. In other words, if you have downloaded 
the external libraries from the CLAM webpage, and stores them in your


you should do
/MySandbox/CLAM-0.6.0/build/macosx/correct_all_dylibs.sh /MySandbox/*/lib/*.dylib

and all references to those dynamic libraries inside the those dynamic
libraries will be set correctly.

I hope this solves some problems with building CLAM on Mac OS X. The next
release will be accompanied with a detailed description deploying CLAM on
Mac OS X that will include these steps.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-macosx.tar.gz
Type: application/octet-stream
Size: 26288 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20040225/eb1c2f0f/attachment-0002.obj>

More information about the clam-users mailing list