Subject: | Build failure is libperl is static |
Date: | Tue, 2 May 2006 16:40:36 -0400 |
To: | bug-par [...] rt.cpan.org |
From: | Daniel Macks <dmacks [...] netspace.org> |
If $dynperl is false, myldr/Makefile.PL does not write rules for
generating sha1.c to Makefile. However, mktmpdir.h still has an
#include for sha1.c, so compiling fails if libperl is static.
Reproducible on Mac OS X (darwin kernel) 10.3 using locally-compiled
perl-5.8.6 and on 10.4 (powerpc) using perl-5.8.1 and perl-5.8.4. No
problem when using perl-5.8.1 on 10.3 or perl-5.8.6 on 10.4, because
these are supplied by Apple with dynamic libperl.
dan
--
Daniel Macks
dmacks@netspace.org
http://www.netspace.org/~dmacks