You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnucash/doc/build-osx.txt

63 lines
1.7 KiB

/** \page osxbuild Building GnuCash on OSX
\section osxprepare Preparation
There are notable problems building gnucash with the default
auto tools installed in OSX and even installing the GNU versions
via fink may not be sufficient - OSX may still call the BSD version
in preference to the newly installed GNU version.
To avoid these problems, you are advised to change your PATH variable
in ~/.bashrc to put the Fink binaries ahead of the main OSX binaries
in your path:
Instead of:
\verbatim
PATH=/usr/bin/:/sbin/:/usr/sbin/:/bin:/opt/local/bin:/sw/bin
/endverbatim
use:
/verbatim
PATH=/sw/bin:/usr/bin/:/sbin/:/usr/sbin/:/bin:/opt/local/bin
/endverbatim
Then, when calling ./autogen.sh and ./configure, it may be necessary
to direct OSX to the correct Guile installation environment using:
\verbatim
#!/bin/bash
guile16-build env LIBRARY_PATH=/sw/lib CPATH=/sw/include \
./autogen.sh
guile16-build env LIBRARY_PATH=/sw/lib CPATH=/sw/include \
./configure <your configure options>
\endverbatim
You may also need to specify the same environment to the first
make command:
\verbatim
guile16-build env LIBRARY_PATH=/sw/lib CPATH=/sw/include \
make
\endverbatim
If (when) you do a 'make distclean', this whole process will have to
be done again.
\section osxtools OSX tools
GnuCash recommends <b>only>/b> the most recent versions of each of the
GNU auto tools available via Fink. As of November 2005, these were:
\verbatim
10.3 10.4
autoconf2.5 2.59-6 2.59-6
automake1.9 1.9.5-1 1.9.6-1
libtool14 1.5.18-1 1.5.20-1
\endverbatim
Currently, these versions are only available in the unstable (CVS) version
of Fink.
http://pdb.finkproject.org/index.php
*/