nixpkgs/pkgs
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
..
applications pstree: updated to version 2.32; the previous version no longer exists upstream 2009-10-02 16:25:59 +00:00
build-support give extraRPMs/-Debs file type rpm-extra or deb-extra in build products 2009-10-02 09:49:53 +00:00
configs/etc
data * Latest manpages. 2009-09-26 19:08:49 +00:00
desktops Added KDE 4.3 accessibility package 2009-10-01 13:53:08 +00:00
development perl-5.8 and perl-5.10: fixed build on MacOS X 2009-10-02 16:26:05 +00:00
games GNU Ball-and-Paddle: Don't build on {Cyg,Dar}. 2009-09-16 15:12:26 +00:00
lib Fix collect example. 2009-09-29 15:34:19 +00:00
misc Updating linuxwacom 2009-09-29 06:48:37 +00:00
os-specific/linux * Urgh. 2009-10-02 15:15:18 +00:00
servers libXaw: fixed broken installation in MacOS X 2009-10-02 13:57:21 +00:00
shells
stdenv Added Solaris support to the stdenv 2009-09-30 15:19:25 +00:00
test
tools Updating freeimage, and setting me as maintainer on some packages. 2009-10-02 07:39:03 +00:00
top-level perl-5.8 and perl-5.10: fixed build on MacOS X 2009-10-02 16:26:05 +00:00