Opened 14 years ago

Closed 14 years ago

#26258 closed defect (invalid)

Perl 5.8 installs breaks

Reported by: castille@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: perl5.8

Description (last modified by blb@…)

A clean install of Macports, installing Perl5.8 with nothing else produces the following error messages:

ld: in /usr/local/lib/libstdc++.6.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1
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
Error: Target org.macports.build returned: shell command failed
Warning: the following items did not execute (for perl5.8): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for perl5.8 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/main.log
Error: Status 1 encountered during processing.

Change History (2)

comment:1 Changed 14 years ago by blb@…

Description: modified (diff)
Owner: changed from macports-tickets@… to ricci@…
Port: perl5.8 added

You appear to have a build of gcc (and related libraries) under /usr/local which is interfering with MacPorts' attempt to compile stuff (this is unfortunately unavoidable, see the FAQ entry). The usual recommendation is to mv /usr/local to /usr/local.hold (or whatever), install what you need in MacPorts, then put /usr/local.hold back to /usr/local.

comment:2 Changed 14 years ago by ghosthound

Resolution: invalid
Status: newclosed

invalid due to unsupported configuration

Note: See TracTickets for help on using tickets.