Hello, I'm trying to build wireshark and am stuck building glib2 on a clean install of Mac OS X 10.x (beta release) w/the (Apple) Developer package installed + MacPorts 1.5 on a PPC machine. Here's the error: (I didn't try to shoot myself in the foot this time by yanking some file in the /opt/local tree). I had previously done: port sync port -d install glib2 (which failed) port -d clean glib2 port -d install glib2 @2.12.12 (problem that I encountered was that I ALWAYS got 2.12.13 and could never get lower versions. I'd like to understand how I can specify a different lower version). Thanks in advance for any hints/information. Marv The error is cut out of build log which I can fully provide on request.. gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libglib-2.0.0.1200.13.dylib .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o .libs/gbacktrace.o .libs/gbase64.o .libs/gbookmarkfile.o .libs/gcache.o .libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o .libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gscanner.o .libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/gutils.o .libs/gprintf.o .libs/giounix.o .libs/gspawn.o .libs/libglib-2.0.lax/libcharset.a/localcharset.o -L/opt/local/lib -lc /opt/local/lib/libiconv.dylib /opt/local/lib/libintl.dylib -install_name /opt/local/lib/libglib-2.0.0.dylib -Wl,-compatibility_version -Wl,1201 -Wl,-current_version -Wl,1201.13 ld: bc out of range (394384 max is +/-64K) from _g_atomic_int_exchange_and_add in .libs/gatomic.o to _g_atomic_int_exchange_and_add$stub in .libs/libglib-2.0.0.1200.13.dylib in _g_atomic_int_exchange_and_add from .libs/gatomic.o collect2: ld returned 1 exit status make[4]: *** [libglib-2.0.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for glib2): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
On Jul 31, 2007, at 14:55, Marv Abe wrote:
I'm trying to build wireshark and am stuck building glib2 on a clean install of Mac OS X 10.x (beta release) w/the (Apple) Developer package installed + MacPorts 1.5 on a PPC machine. Here's the error: (I didn't try to shoot myself in the foot this time by yanking some file in the / opt/local tree).
I had previously done: port sync port -d install glib2 (which failed) port -d clean glib2 port -d install glib2 @2.12.12 (problem that I encountered was that I ALWAYS got 2.12.13 and could never get lower versions. I'd like to understand how I can specify a different lower version).
There is no facility in MacPorts for installing an earlier version of a port. You can do it manually if you wish: http://lists.macosforge.org/pipermail/macports-users/2007-July/ 004605.html
The error is cut out of build log which I can fully provide on request..
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libglib-2.0.0.1200.13.dylib .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o .libs/gbacktrace.o .libs/gbase64.o .libs/ gbookmarkfile.o .libs/gcache.o .libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ ghash.o .libs/ghook.o .libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/ grand.o .libs/gscanner.o .libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/ gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/ gutils.o .libs/gprintf.o .libs/giounix.o .libs/gspawn.o .libs/libglib-2.0.lax/libcharset.a/localcharset.o -L/opt/local/ lib -lc /opt/local/lib/libiconv.dylib /opt/local/lib/libintl.dylib - install_name /opt/local/lib/libglib-2.0.0.dylib -Wl,-compatibility_version -Wl,1201 -Wl,-current_version -Wl,1201.13 ld: bc out of range (394384 max is +/-64K) from _g_atomic_int_exchange_and_add in .libs/gatomic.o to _g_atomic_int_exchange_and_add$stub in .libs/ libglib-2.0.0.1200.13.dylib in _g_atomic_int_exchange_and_add from .libs/gatomic.o collect2: ld returned 1 exit status make[4]: *** [libglib-2.0.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Warning: the following items did not execute (for glib2): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
I have no idea what this is. I experience no problems installing glib 2.12.13 on 10.4.10 Intel, Xcode 2.4.1, MacPorts 1.5, but perhaps something is different on your beta version of Mac OS X. I see a similar error reported with a different port earlier, but no responses to that message: http://lists.macosforge.org/pipermail/macports-users/2007-July/ 004267.html
participants (2)
-
Marv Abe
-
Ryan Schmidt