Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
install:mac_nofink [2019/01/26 11:02] – ↷ Page moved from howto:mac_nofink to install:mac_nofink oroehrig | install:mac_nofink [2019/05/16 11:36] – paffenholz |
---|
====== Preparation: Resolving Dependencies without fink ====== | ====== 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. | **Note**: You need the following steps **only if you do not want to use ''fink'' or ''brew''**. 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. | *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. |
* [[http://www.gnu.org/s/readline/|readline]] (version 6 or later) | * [[http://www.gnu.org/s/readline/|readline]] (version 6 or later) |
* (only for Mac OS up to 10.8) [[http://search.cpan.org/~pajas/XML-LibXSLT/|XML-LibXSLT]] ([[http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXSLT-1.68.tar.gz|version 1.68]] for 10.6 and [[http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXSLT-1.71.tar.gz|version 1.71]] for 10.7, otherwise you also need a version of ''XML-LibXML'') | |
* [[http://search.cpan.org/~hayashi/Term-ReadLine-Gnu/Gnu.pm|Term-Readline-Gnu]] | * [[http://search.cpan.org/~hayashi/Term-ReadLine-Gnu/Gnu.pm|Term-Readline-Gnu]] |
* [[http://gmplib.org/|gmp]] (version 5 or later). ''gmp'' needs to be configured with the ''--enable-cxx=yes'' option. | * [[http://gmplib.org/|gmp]] (version 5 or later). ''gmp'' needs to be configured with the ''--enable-cxx=yes'' option. |
* [[http://ant.apache.org/bindownload.cgi|ant]] (version 1.9.4 or later (caution: older version **really** don't work)) | * [[http://ant.apache.org/bindownload.cgi|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: | |
<code> | |
CFLAGS="-arch x86_64" | |
ARCHFLAGS='-arch x86_64' | |
</code> | |
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. | |
| |
| |
| |