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

Re: static perl builds on OS X broken

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
May 20, 2003 17:17
Subject:
Re: static perl builds on OS X broken
Message ID:
20030521001654.GC16753@windhund.schwern.org
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.
http://archive.develooper.com/makemaker@perl.org/msg01078.html


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
> (#london.pm seems to know everything)
> 
> http://packages.debian.org/cgi-bin/search_contents.pl?word=libperl.a&searchmode=searchfiles&case=insensitive&version=stable&arch=i386
> 
> 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
Burma-Shave
        - ignatz

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About