#22372 closed defect (invalid)
Build ncarg failed
Reported by: | gchen9@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | perl5.8 |
Description (last modified by jmroot (Joshua Root))
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 (4)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Milestone: | MacPorts 1.8.2 |
Port: | ncarg added |
This isn't actually what the migration procedure is designed to fix. /usr/local does not exist in a fresh OS X install, so somewhere along the way someone installed this libstdc++.6.dylib in there on your machine. We don't support having any headers or libraries installed in /usr/local because there is no way to stop gcc from using them.
comment:3 follow-up: 4 Changed 15 years ago by jmroot (Joshua Root)
Port: | perl5.8 added; ncarg removed |
---|
comment:4 Changed 15 years ago by gchen9@…
Replying to jmr@…:
Thank you very much for pointing out the problem.
I delete the /usr/local/lib. Now i had perl5.8 built.
Now I am continue building ncarg.
Guangshan
Please read the migration page.