Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#19453 closed defect (invalid)

sudo port install emacs fails when building perl5.8

Reported by: javierahermosa@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: miniperl Cc:
Port: perl5.8

Description

I've also tried sudo port install perl5.8, and it doesn't work. I'm running Leopard in a Dual Core Mac Pro... I get the following error:

/Users/Javiera$ sudo port install gv
--->  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" && make all " returned error 2
Command output: /usr/bin/gcc-4.0 -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 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: The following dependencies failed to build: Xaw3d imake perl5 perl5.8 xorg-cf-files xorg-libXmu xorg-libXt autoconf help2man p5-locale-gettext m4 automake libtool xorg-util-macros xorg-libXp xorg-printproto xpm bzip2 ghostscript cairo fontconfig freetype libpixman xorg-libXinerama xorg-xineramaproto
Error: Status 1 encountered during processing.
/Users/Javiera$ sudo port install emacs
Error: Requested variants do not match original selection.
Please perform 'port clean emacs' or specify the force option.
Error: Status 1 encountered during processing.

Thanks for your help, J.G.

Change History (5)

comment:1 Changed 12 years ago by blb@…

Owner: changed from macports-tickets@… to ricci@…
Port: gv emacs removed
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

You appear to have some install of gcc in /usr/local which is causing the problem. You'll need to get that out of the way first.

comment:2 Changed 12 years ago by ghosthound

Status: newassigned

comment:3 Changed 12 years ago by ghosthound

Resolution: invalid
Status: assignedclosed

Indeed, whatever gcc-related bits you have in /usr/local appear to be the problem.

comment:4 in reply to:  3 Changed 12 years ago by javierahermosa@…

Replying to ricci@…:

Indeed, whatever gcc-related bits you have in /usr/local appear to be the problem.

Problem solved. For the record, all I had to do was to delete the file /usr/local/lib/libgcc_s.1.dylib so that the correct link to the library (libgcc_s.10.5.dylib) would be used.

comment:5 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.