This is an old revision of the document!
Preparation: Resolving Dependencies without fink
Note: You need the following steps only if you do not want to use fink
. In this case you have to compile some Linux packages first.
- You need to install the following Linux packages (Follow the installation instructions given with each of the packages.) You might have some of them already if you installed your own compiler.
- readline (version 6 or later)
- (only for Mac OS up to 10.8) XML-LibXSLT (version 1.68 for 10.6 and version 1.71 for 10.7, otherwise you also need a version of
XML-LibXML
) - mpfr (version 3 or later)
- boost (we only need the headers, so it suffices to unpack the archive, you can even delete most of the stuff, just keep
include
) - (for Mac OS 10.9 and 10.10) ant
- ppl (version 1.1 or later)
- ant (version 1.9.4 or later (caution: older version really don't work))
The most common compilation (linking) problems for Mac OS 10.6 are complaints about wrong architecture of dependent libraries. Though it is possible to compile a fat file for i386
, x86_64
, and ppc
, we recommend to restrict to x86_64
. To do this you have to specify the arch flag in every configure step above, e.g. by setting the following environment variables:
CFLAGS="-arch x86_64" ARCHFLAGS='-arch x86_64'
where the first is for C++
, and the second for the Perl
modules XML-LibXSLT
and Term-Readline-Gnu
. You can also pass them to each configure command separately.