Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#24009 closed defect (invalid)

perl5.8 building error - build failure

Reported by: masahiro@… Owned by: ghosthound
Priority: Not set Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: perl5.8

Description

I'm just an end-user and so I have no idea to fix this. I checked previous tickets, but couldn't find a solution. The problem is that I can't install perl5.8. Sorry if this is already the known issue. I pasted the error below.

$ sudo port install -d perl5.8
Password:
--->  Computing dependencies for 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 -j1 all " returned error 2
Command output: /usr/bin/gcc-4.0 -L/opt/local/lib -arch i386 -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 warning: in /usr/local/lib/libgcc_s.10.5.dylib, missing required architecture i386 in file
ld: in /usr/local/lib/libgcc_s.1.dylib, missing required architecture i386 in file
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Change History (4)

comment:1 Changed 15 years ago by masahiro@…

Cc: masahiro@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: masahiro@… removed
Keywords: perl5.8 building-failer removed
Owner: changed from macports-tickets@… to ricci@…
Port: perl5.8 added
Summary: "perl5.8 building error - build failure"perl5.8 building error - build failure

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

Resolution: invalid
Status: newclosed

Get rid of the incompatible libgcc_s.1.dylib in /usr/local/lib.

comment:4 in reply to:  3 Changed 15 years ago by masahiro@…

Replying to jmr@…:

Get rid of the incompatible libgcc_s.1.dylib in /usr/local/lib.

It's now working! Thank you!

Note: See TracTickets for help on using tickets.