Commit graph

5 commits

Author SHA1 Message Date
Marc Weber 5d6b65d339 fix perl-5.8 build
svn path=/nixpkgs/trunk/; revision=18895
2009-12-11 13:58:26 +00:00
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
Eelco Dolstra 23ece2e968 * Fix for building Perl 5.8 on newer kernel headers. We still need
Perl 5.8 for old GHCs.

svn path=/nixpkgs/trunk/; revision=17111
2009-09-14 13:31:26 +00:00
Eelco Dolstra 359e488921 * WTF.
svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10835
2008-02-22 15:18:22 +00:00
Eelco Dolstra 59d88c1772 * Revert r10833, it doesn't really work. Instead build ghcboot
with Perl 5.8.

svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10834
2008-02-22 14:43:00 +00:00
Renamed from pkgs/development/interpreters/perl/default.nix (Browse further)