[Nix-dev] gitFull broken on MacOS X (was: [PATCH] Fix git-send-email.)
David Brown
nix at davidb.org
Thu May 20 17:31:22 CEST 2010
On Thu, May 20, 2010 at 11:44:44AM +0200, Peter Simons wrote:
>despite several attempts, I didn't manage to build those Perl
>libraries on MacOS X, which means that Git is broken on that platform
>if sendEmailSupport is enabled. That situation is somewhat
>unsatisfactory. Does anyone have an idea how to remedy those build
>errors?
The problem appears to be provoked because MacOS has a case
insensitive filesystem. While it is trying to build Net::SMTP, the
build script correctly runs 'perl Makefile.pl', but then tries to
invoke ./configure, which succeeds, even though the script is called
./Configure. This script starts with #!/usr/local/bin/perl, which
doesn't work.
Does adding
patchPhase = "chmod a-x ./Configure";
to the NetSMTP descriptor in perl-packages.nix allow it to build for
you?
David
More information about the nix-dev
mailing list