Opened 15 years ago

Closed 15 years ago

#21375 closed defect (invalid)

perl5.8 won't build under OS X 10.6.1 Snow Leopard

Reported by: kevin.anchukaitis@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port:

Description

late 2009 Macbook Pro, OSX 10.6.1, Macports 1.8, Xcode 3.2 (from Snow Leopard install disk); completely clean install. I'm including the relevant debugging output here:


 >$ sudo port -d install perl5.8

DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes

<snip>

/usr/bin/gcc-4.2 -L/opt/local/lib -L/usr/local/lib -force_flat_namespace -o miniperl \
	    `echo  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  | sed 's/ op.o / /'` \
	    miniperlmain.o opmini.o -ldl -lm -lutil -lc 
ld: in /usr/local/lib/libstdc++.6.dylib, file is not of required architecture
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1

<snip>

/usr/bin/gcc-4.2 -L/opt/local/lib -L/usr/local/lib -force_flat_namespace -o miniperl \
	    `echo  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  | sed 's/ op.o / /'` \
	    miniperlmain.o opmini.o -ldl -lm -lutil -lc 
ld: in /usr/local/lib/libstdc++.6.dylib, file is not of required architecture
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for perl5.8): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (2)

comment:1 Changed 15 years ago by kevin.anchukaitis@…

Cc: kevin.anchukaitis@… added

Cc Me!

comment:2 Changed 15 years ago by tobypeterson

Cc: kevin.anchukaitis@… removed
Keywords: perl perl5.8 10.6 snow leopard removed
Resolution: invalid
Status: newclosed

You have things in /usr/local polluting your environment. Get rid of them - or rebuild them for the correct architectures if you think you need them for some reason.

Note: See TracTickets for help on using tickets.