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

static perl builds on OS X broken

Thread Next
Michael G Schwern
May 19, 2003 23:35
static perl builds on OS X broken
Message ID:
Nick found a problem doing static linking with the latest MakeMaker
snapshots.  I tried the same thing on OS X and found a different problem:

Writing Makefile.aperl for Pie
make -f Makefile.aperl perl
Writing perlmain.c
cd . && cc -c   "-I/usr/local/perl5.8.0/lib/darwin-64all/CORE"  \
-pipe -fno-common -no-cpp-precomp -DDEBUGGING -fno-strict-aliasing -O3 -g \
  -DVERSION=\"0.01\" \
-DXS_VERSION=\"0.01\"   "-I/usr/local/perl5.8.0/lib/darwin-64all/CORE" perlmain.c
make[1]: *** No rule to make target `/usr/local/perl5.8.0/lib/darwin-64all/CORE/libperl.a', needed by `perl'.  Stop.
make: *** [perl] Error 2

MakeMaker is looking for libperl.a but I have libperl.dylib.  MakeMaker
is using $Config{lib_ext} which is .a here.  $Config{so} is .dylib.
Which is wrong?  Config or MakeMaker?

<mendel>	 ScHWeRnsChweRN    sChWErN   SchweRN  SCHWErNSChwERnsCHwERN    
  sChWErn  ScHWeRn	schweRn 	  sCHWErN	    schWeRn    scHWeRN 
   SchWeRN	scHWErn SchwErn       scHWErn	    ScHweRN	  sChwern      
scHWerN        scHWeRn		 scHWerN	ScHwerN       SChWeRN scHWeRn  
	SchwERNschwERn	      SCHwern  sCHWErN	 SCHWErN	   sChWeRn 

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