develooper Front page | perl.perl5.porters | Postings from May 2003

Re: static perl builds on OS X broken

Thread Previous | Thread Next
Michael G Schwern
May 20, 2003 17:17
Re: static perl builds on OS X broken
Message ID:
CC'd to Brendan O'Dea, libperl-dev maintainer.

Brendan, we're discussing building static perl binaries.  I was having
trouble doing it on Debian because MakeMaker couldn't find CORE/libperl.a
even after installing libperl-dev.  Seems libperl-dev is putting libperl.a
in a place MakeMaker doesn't look for it.  If you could have libperl-dev
place a symlink into /usr/lib/perl/5.6.1/CORE/ that would make things
healthy again.

The module we're using for testing can be found here in the attachment.

On Tue, May 20, 2003 at 11:41:21AM +0100, Nicholas Clark wrote:
> > Writing "Makefile.aperl" for this perl
> > Warning: /usr/lib/perl/5.6.1/CORE/libperl.a not found
> >     If you're going to build a static perl binary, make sure perl is installed
> >     otherwise ignore this warning
> I wasn't sure. libperl.a installed on my SuSE box at work, but not on
> richardc's Debian box. hex says that it's installed by package libperl-dev
> ( seems to know everything)
> so it looks like the debian perl maintainer has split it out into a separate
> package. Presumably the OS X folks have done something similar.

Hmm, Debian's libperl-dev appears to put it in the wrong place.  
/usr/lib/libperl.a.  That might make sense for Debian, but not for 
MakeMaker.  I think a symlink is needed:
  sudo ln -s /usr/lib/libperl.a /usr/lib/perl/5.6.1/CORE/
now it works.

If your module passes test
You're one of the very best
Don't fuck up the MANIFEST
        - ignatz

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About