source: npl/mailserver/dspam/dspam-3.10.2/doc/osx.txt @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.5 KB
Line 
1$Id: osx.txt,v 1.1 2005/03/11 21:16:03 jonz Exp $
2
3MAC OSX NOTES
4
5DSPAM builds well on OSX, with a few minor caveats, as described below.
6
7Autogen
8If you're building from CVS, you'll need a few tools in order to perform an
9autogen. The latest versions of autoconf, automake, and libtool will need to
10be installed first. This can be done quite easily using an OSX package tool.
11Visit http://www.darwinports.com or http://fink.sf.net for more information.
12Once you've installed these latest tools, you'll need to run autogen-glibtool.sh
13to generate a new configure script . Be sure that the path to these new binaries
14comes first in your path. This is usually /opt/local/bin (darwinports) or
15/sw/local/bin (fink).
16
17Library Patches
18OSX complains about libraries containing "common symbols". In order to build
19DSPAM with certain backends, it will be necessary to reassemble the library.
20The example below shows how to do this with the MySQL client library. If you're
21using a different backend, you may need to tailor this to your particular
22problem.
23
24% cd /usr/local/mysql/lib
25% mv libmysqlclient.a libmysqlclient.a.original
26% mkdir /tmp/mysql
27% cd /tmp/mysql
28% ar x /usr/local/mysql/lib/libmysqlclient.a.original
29% ld -r -d my_error.o
30% mv a.out my_error.o
31% libtool -o /usr/local/mysql/lib/libmysqlclient.a *.o
32
33... ignore any warnings about "no symbols"
34
35Once you've configured and compiled DSPAM on OSX, see one of the other README
36files for more information about integrating it with your favorite MTA.
37
Note: See TracBrowser for help on using the repository browser.