Difference between revisions of "Development:Building:Building Dependencies from Source"
(→Building the Packages: add yasm) |
(yasm version isn't critical, like it is for autoconf (or libIDL, which needs 0.8.foo or newer)) |
||
Line 5: | Line 5: | ||
* <code>[ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf-2.13]</code> | * <code>[ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf-2.13]</code> | ||
− | * <code>[http://www.tortall.net/projects/yasm/releases/yasm-1.0.1.tar.gz yasm | + | * <code>[http://www.tortall.net/projects/yasm/releases/yasm-1.0.1.tar.gz yasm]</code> |
* <code>[http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/ libIDL]</code> | * <code>[http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/ libIDL]</code> | ||
Line 24: | Line 24: | ||
# <code>make clean all; sudo make install</code> | # <code>make clean all; sudo make install</code> | ||
− | ===<code>yasm | + | ===<code>yasm</code>=== |
− | <code>yasm | + | <code>yasm</code> has no dependencies aside from software installed with Xcode. |
# Download the <code>[http://www.tortall.net/projects/yasm/releases/yasm-1.0.1.tar.gz yasm-1.0.1]</code> tarball and unpack. | # Download the <code>[http://www.tortall.net/projects/yasm/releases/yasm-1.0.1.tar.gz yasm-1.0.1]</code> tarball and unpack. |
Revision as of 14:45, 10 June 2010
Some people prefer to build their dependencies (libIDL-0.8
, autoconf-2.13
) from source instead of using Fink or MacPorts and the megabytes of extra software those port systems install by default. Fortunately, it is rather trivial to build the required dependencies from source.
Contents
Dependency Tree
Building the Packages
You can install all these packages in /usr/local
(where they should be picked up by your $PATH
automatically). You should be very careful when building autoconf-2.13
so that you do not create an autoconf
binary that will be used accidentally when scripts want the version of autoconf
installed with Xcode; make sure you use the --program-suffix=213
argument.
autoconf-2.13
autoconf-2.13
has no dependencies aside from software installed with Xcode.
- Download the
autoconf-2.13
tarball and unpack. cd
to the unpacked directory../configure --program-suffix=213
make clean all; sudo make install
yasm
yasm
has no dependencies aside from software installed with Xcode.
- Download the
yasm-1.0.1
tarball and unpack. cd
to the unpacked directory../configure
make; sudo make install
libIDL-0.8
libIDL-0.8
ends up having three dependencies beyond software installed by Xcode, so we will build and install from the dependencies upward.
pkg-config
pkg-config
has no external dependencies.
- Download the latest... and unpack.