nixpkgs/pkgs/development
Peter Simons 67cea803fa perl-5.8 and perl-5.10: fixed build on MacOS X
On MacOS X, we used to use the native perl interpreter from /usr/bin.
Unfortunately, that interpreter fails to build a number of packages
(Subversion, Git, etc. ...), because it assumes knowledge about the underlying
C compiler that is not valid for the compiler used by Nix. For example,
/usr/bin/perl assumes that the compiler can build binaries for both the ppc and
the x86 architecture. /usr/bin/FCC can do that, but the gcc from Nix can't.

The solution is to compile Perl 5.10 via Nix so that it can properly configure
itself. However, note that the resulting binary is impure: it will find headers
in /usr/include and libraries in /usr/lib -- something a pure perl binary
wouldn't do. In this respect our Nix-compiled perl binary is not better than
the native one from /usr/bin -- it's just more accurately configured.

svn path=/nixpkgs/trunk/; revision=17618
2009-10-02 16:26:05 +00:00
..
compilers added openjdk for darwin (binaries) for testing 2009-10-02 12:12:23 +00:00
eclipse ECJ: Merge the 2 expressions. 2009-09-22 14:40:54 +00:00
guile-modules/guile-lib * Cleaned up a lot of description fields that contained newlines. 2009-03-03 13:27:40 +00:00
interpreters perl-5.8 and perl-5.10: fixed build on MacOS X 2009-10-02 16:26:05 +00:00
libraries Renamed extension to tar.gz 2009-10-02 15:37:12 +00:00
misc adding netsurf browser. No JavaScript yet 2009-09-13 08:54:47 +00:00
perl-modules * Latest DBD::SQLite. Fix building against an external SQLite. 2009-07-02 13:55:38 +00:00
python-modules Upgraded pycups to 1.9.46 2009-10-02 11:13:03 +00:00
ruby-modules Two Ruby modules 2008-10-05 09:00:56 +00:00
tools * SWIG apparently doesn't need Perl/Python/Guile/JDK/20 other 2009-10-02 11:49:21 +00:00