Opened 15 years ago

Closed 15 years ago

#21572 closed defect (fixed)

perl5.8 on snow leopard: env: -L/opt/local/lib: No such file or directory

Reported by: tim.stoop@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: perl5.8

Description

Hi all,

I'm getting the following error. I've recently removed all MacPorts setttings after upgrading to Snow Leopard and am trying to build all my apps again. Any tips on what's going on here and how it should be fixed? Thanks!

sudo port install perl5.8 -universal
--->  Computing dependencies for perl5.8
--->  Fetching perl5.8
--->  Verifying checksum(s) for perl5.8
--->  Extracting perl5.8
--->  Applying patches to perl5.8
--->  Configuring perl5.8
--->  Building perl5.8
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9" && /usr/bin/make -j2 all " returned error 2
Command output: ../../../miniperl "-I../../../lib" "-I../../../lib" ../../../lib/ExtUtils/xsubpp  -typemap ../../../lib/ExtUtils/typemap  C.xs > C.xsc && mv C.xsc C.c
Running Mkbootstrap for B::C ()
chmod 644 C.bs
distcc -c   -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -O1   -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\"  "-I../../.."   C.c
distcc[92748] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
cp C.bs ../../../lib/auto/B/C/C.bs
chmod 644 ../../../lib/auto/B/C/C.bs
rm -f ../../../lib/auto/B/C/C.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3   -L/opt/local/lib -bundle -undefined dynamic_lookup -L/usr/local/lib C.o  -o ../../../lib/auto/B/C/C.bundle 	\
	     	\
	  
env: -L/opt/local/lib: No such file or directory
make[2]: *** [../../../lib/auto/B/C/C.bundle] Error 127
make[1]: *** [subdirs] Error 2
make: *** [lib/auto/B/B.bundle] Error 2
make: *** Waiting for unfinished jobs....
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap  ByteLoader.xs > ByteLoader.xsc && mv ByteLoader.xsc ByteLoader.c
Running Mkbootstrap for ByteLoader ()
chmod 644 ByteLoader.bs
distcc -c   -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -O3   -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\"  "-I../.."   ByteLoader.c
cp ByteLoader.bs ../../lib/auto/ByteLoader/ByteLoader.bs
chmod 644 ../../lib/auto/ByteLoader/ByteLoader.bs
distcc[92788] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
rm -f ../../lib/auto/ByteLoader/ByteLoader.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3   -L/opt/local/lib -bundle -undefined dynamic_lookup -L/usr/local/lib byterun.o ByteLoader.o  -o ../../lib/auto/ByteLoader/ByteLoader.bundle 	\
	     	\
	  
env: -L/opt/local/lib: No such file or directory
make[1]: *** [../../lib/auto/ByteLoader/ByteLoader.bundle] Error 127
make: *** [lib/auto/ByteLoader/ByteLoader.bundle] Error 2

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 15 years ago by tim.stoop@…

Oh for the record:

$ pwd
/opt/local/lib

comment:2 Changed 15 years ago by blb@…

What does the following report?

$ port version
$ xcodebuild -version

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ricci@…

comment:4 Changed 15 years ago by ghosthound

Have you tried w/o distcc setup? Also try w/ port -v -d ....

comment:5 Changed 15 years ago by tim.stoop@…

idefisk:~ tim$ port version
Version: 1.8.0
idefisk:~ tim$ xcodebuild -version
Xcode 3.2
Component versions: DevToolsCore-1608.0; DevToolsSupport-1591.0
BuildVersion: 10A432

Disabled distcc and then it installed. Thanks for the tip! So far my ventures into the wonderful world of distcc.

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.