Files
nixpkgs/pkgs/development/interpreters
Peter Simons 1e575d3572 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/gcc can do that, but
the gcc from Nix can't.

The solution is to compile Perl 5.10 in Nix so that the ./configure
phase can properly detect the system's capabilities. However, note that
the resulting binary is impure: it will find headers in /usr/include and
libraries in /usr/lib. In this respect, the Nix-compiled perl binary is
no different than the native one in /usr/bin -- it's just configured
more accurately.

svn path=/nixpkgs/trunk/; revision=17870
2009-10-19 09:17:10 +00:00
..
2009-08-13 14:32:52 +00:00
2009-05-05 15:46:03 +00:00
2009-10-16 08:00:36 +00:00
2009-04-21 19:47:20 +00:00
2009-07-03 11:31:33 +00:00
2007-10-30 16:04:45 +00:00
2009-10-13 09:39:27 +00:00
2009-08-20 20:19:01 +00:00
2005-12-05 14:11:09 +00:00
2009-05-03 14:35:56 +00:00
2008-11-24 09:59:38 +00:00