Opened 15 years ago

Last modified 15 years ago

#22372 closed defect

Build ncarg failed — at Initial Version

Reported by: gchen9@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: perl5.8

Description

After I updated my system to Snow Leopard, I want to install ncarg. Build when macports build perl5.8, it is failed.

Here is the error:

sudo port install ncarg

Password: ---> Computing dependencies for ncarg ---> 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: /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

Error: The following dependencies failed to build: udunits perl5 perl5.8 vis5d ImageMagick bzip2 expat fontconfig freetype p7zip xorg-libXext xorg-libXt gettext ncurses ncursesw mesa glut makedepend xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libXi xorg-libXmu tcl wgrib2 jasper Error: Status 1 encountered during processing.

What is wrong?

ld: in /usr/local/lib/libstdc++.6.dylib, file is not of required architecture??? gcc4.2 is installed from Snow leopard DVD disk.

Guangshan

Change History (0)

Note: See TracTickets for help on using tickets.