Can't install seahorse (was: can't install gnome)
Dear all I couldn't install gnome on my PowerBook (see my earlier posts). I looked a bit closer at the error report and found that the problem seems to be related to seahorse (whatever that is). So I tried to install seahorse, which gave the below errors. Can anyone help? Matthias ------------------- sudo port install seahorse Password: ---> Building seahorse with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_s eahorse/work/seahorse-1.0" && make all " returned error 2 Command output: Making all in pixmaps Making all in 22x22 make[3]: Nothing to be done for `all'. Making all in 48x48 make[3]: Nothing to be done for `all'. Making all in scalable make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in plugins Making all in nautilus /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -L/opt/local/lib -lpth -o seahorse-preferences seahorse-pgp-preferences.o ../../ libseahorse/libseahorse.a ../../libcryptui/libcryptui.la -Wl,- framework,CoreAudio -L/opt/local/lib -L/usr/X11R6/lib -lgnomeui-2 - lbonoboui-2 -lgnome-keyring -lgnomecanvas-2 -lgnome-2 -lpopt - lart_lgpl_2 -lpangoft2-1.0 -lesd -lbonobo-2 -laudiofile -lbonobo- activation -lglade-2.0 -lxml2 -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 - latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lpangocairo-1.0 -lpango-1.0 - lcairo -lSM -lICE -lfreetype -lz -lfontconfig -lexpat -lpng12 - lXrender -lX11 -lgnomevfs-2 -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 - lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv -L/opt/local/ lib -lgpgme -L/opt/local/lib -lgpg-error -lldap -L/opt/local/lib - lsoup-2.2 -lglib-2.0 -lintl -lxml2 -lpthread -lz -liconv -lm -L/opt/ local/lib -lgnome-keyring -lglib-2.0 -lintl -liconv -L/opt/local/ lib -lavahi-common -lavahi-client -lavahi-glib -lglib-2.0 -lintl - liconv -L/opt/local/lib -ldbus-glib-1 -ldbus-1 -lgobject-2.0 - lglib-2.0 -lintl -liconv gcc -O2 -o .libs/seahorse-preferences seahorse-pgp-preferences.o -Wl,- framework -Wl,CoreAudio -L/opt/local/lib ../../libseahorse/ libseahorse.a ../../libcryptui/.libs/libcryptui.dylib /opt/local/lib/ libpth.dylib -L/usr/X11R6/lib /opt/local/lib/libgnomeui-2.dylib /opt/ local/lib/libbonoboui-2.dylib /opt/local/lib/libgnomecanvas-2.dylib / opt/local/lib/libgnome-2.dylib /opt/local/lib/libpopt.dylib /opt/ local/lib/libart_lgpl_2.dylib /opt/local/lib/libesd.dylib /opt/local/ lib/libbonobo-2.dylib /opt/local/lib/libaudiofile.dylib /opt/local/ lib/libbonobo-activation.dylib /opt/local/lib/ libORBitCosNaming-2.dylib /opt/local/lib/libglade-2.0.dylib /opt/ local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgdk-x11-2.0.dylib / opt/local/lib/libatk-1.0.dylib /opt/local/lib/ libgdk_pixbuf-2.0.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/ libjpeg.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/ libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/ lib/libcairo.dylib -lSM -lICE /opt/local/lib/libfontconfig.dylib /opt/ local/lib/libfreetype.dylib /opt/local/lib/libexpat.dylib /opt/local/ lib/libpng12.dylib /opt/local/lib/libXrender.dylib -lX11 /opt/local/ lib/libgnomevfs-2.dylib -lssl -lcrypto /opt/local/lib/libhowl.dylib / opt/local/lib/libgconf-2.dylib /opt/local/lib/libORBit-2.dylib - lresolv /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/ libgpgme.dylib /opt/local/lib/libgpg-error.dylib -lldap /opt/local/ lib/libsoup-2.2.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/ lib/libxml2.dylib -lpthread -lz -lm /opt/local/lib/libgnome- keyring.dylib /opt/local/lib/libavahi-client.dylib -ldl /opt/local/ lib/libavahi-glib.dylib /opt/local/lib/libavahi-common.dylib /opt/ local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib /opt/ local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/ local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib /usr/bin/ld: warning prebinding disabled because dependent library: / opt/local/lib/libcryptui.0.dylib is not prebound /usr/bin/ld: multiple definitions of symbol _g_free /opt/local/lib/libglib-2.0.dylib(gmem.o) definition of _g_free ../../libseahorse/libseahorse.a(seahorse-secure-memory.o) definition of _g_free in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol _g_malloc /opt/local/lib/libglib-2.0.dylib(gmem.o) definition of _g_malloc ../../libseahorse/libseahorse.a(seahorse-secure-memory.o) definition of _g_malloc in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol _g_malloc0 /opt/local/lib/libglib-2.0.dylib(gmem.o) definition of _g_malloc0 ../../libseahorse/libseahorse.a(seahorse-secure-memory.o) definition of _g_malloc0 in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol _g_realloc /opt/local/lib/libglib-2.0.dylib(gmem.o) definition of _g_realloc ../../libseahorse/libseahorse.a(seahorse-secure-memory.o) definition of _g_realloc in section (__TEXT,__text) collect2: ld returned 1 exit status make[3]: *** [seahorse-preferences] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. ------------------- ------- Matthias Brennwald Lägernstrasse 6 CH 8037 Zürich +41 (0)44 364 17 03 matthias@brennwald.org
On Sep 25, 2007, at 13:39, Matthias Brennwald wrote:
I couldn't install gnome on my PowerBook (see my earlier posts). I looked a bit closer at the error report and found that the problem seems to be related to seahorse (whatever that is). So I tried to install seahorse, which gave the below errors. Can anyone help?
Matthias
------------------- sudo port install seahorse Password: ---> Building seahorse with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome _seahorse/work/seahorse-1.0" && make all " returned error 2 Command output: Making all in pixmaps Making all in 22x22 make[3]: Nothing to be done for `all'. Making all in 48x48 make[3]: Nothing to be done for `all'. Making all in scalable make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in plugins Making all in nautilus /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -L/opt/local/ lib -lpth -o seahorse-preferences seahorse-pgp-preferences.o ../../ libseahorse/libseahorse.a ../../libcryptui/libcryptui.la -Wl,- framework,CoreAudio -L/opt/local/lib -L/usr/X11R6/lib -lgnomeui-2 - lbonoboui-2 -lgnome-keyring -lgnomecanvas-2 -lgnome-2 -lpopt - lart_lgpl_2 -lpangoft2-1.0 -lesd -lbonobo-2 -laudiofile -lbonobo- activation -lglade-2.0 -lxml2 -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lpangocairo-1.0 - lpango-1.0 -lcairo -lSM -lICE -lfreetype -lz -lfontconfig -lexpat - lpng12 -lXrender -lX11 -lgnomevfs-2 -lgconf-2 -lORBit-2 -lm - lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl - liconv -L/opt/local/lib -lgpgme -L/opt/local/lib -lgpg-error - lldap -L/opt/local/lib -lsoup-2.2 -lglib-2.0 -lintl -lxml2 - lpthread -lz -liconv -lm -L/opt/local/lib -lgnome-keyring - lglib-2.0 -lintl -liconv -L/opt/local/lib -lavahi-common -lavahi- client -lavahi-glib -lglib-2.0 -lintl -liconv -L/opt/local/lib - ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lintl -liconv gcc -O2 -o .libs/seahorse-preferences seahorse-pgp-preferences.o - Wl,-framework -Wl,CoreAudio -L/opt/local/lib ../../libseahorse/ libseahorse.a ../../libcryptui/.libs/libcryptui.dylib /opt/local/ lib/libpth.dylib -L/usr/X11R6/lib /opt/local/lib/ libgnomeui-2.dylib /opt/local/lib/libbonoboui-2.dylib /opt/local/ lib/libgnomecanvas-2.dylib /opt/local/lib/libgnome-2.dylib /opt/ local/lib/libpopt.dylib /opt/local/lib/libart_lgpl_2.dylib /opt/ local/lib/libesd.dylib /opt/local/lib/libbonobo-2.dylib /opt/local/ lib/libaudiofile.dylib /opt/local/lib/libbonobo-activation.dylib / opt/local/lib/libORBitCosNaming-2.dylib /opt/local/lib/ libglade-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/ lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/ lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libtiff.dylib /opt/local/ lib/libjpeg.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/ lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/ local/lib/libcairo.dylib -lSM -lICE /opt/local/lib/ libfontconfig.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/ libexpat.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/ libXrender.dylib -lX11 /opt/local/lib/libgnomevfs-2.dylib -lssl - lcrypto /opt/local/lib/libhowl.dylib /opt/local/lib/ libgconf-2.dylib /opt/local/lib/libORBit-2.dylib -lresolv /opt/ local/lib/libgmodule-2.0.dylib /opt/local/lib/libgpgme.dylib /opt/ local/lib/libgpg-error.dylib -lldap /opt/local/lib/ libsoup-2.2.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/ lib/libxml2.dylib -lpthread -lz -lm /opt/local/lib/libgnome- keyring.dylib /opt/local/lib/libavahi-client.dylib -ldl /opt/local/ lib/libavahi-glib.dylib /opt/local/lib/libavahi-common.dylib /opt/ local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib /opt/ local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib / opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib /usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib/libcryptui.0.dylib is not prebound /usr/bin/ld: multiple definitions of symbol _g_free /opt/local/lib/libglib-2.0.dylib(gmem.o) definition of _g_free ../../libseahorse/libseahorse.a(seahorse-secure-memory.o) definition of _g_free in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol _g_malloc /opt/local/lib/libglib-2.0.dylib(gmem.o) definition of _g_malloc ../../libseahorse/libseahorse.a(seahorse-secure-memory.o) definition of _g_malloc in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol _g_malloc0 /opt/local/lib/libglib-2.0.dylib(gmem.o) definition of _g_malloc0 ../../libseahorse/libseahorse.a(seahorse-secure-memory.o) definition of _g_malloc0 in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol _g_realloc /opt/local/lib/libglib-2.0.dylib(gmem.o) definition of _g_realloc ../../libseahorse/libseahorse.a(seahorse-secure-memory.o) definition of _g_realloc in section (__TEXT,__text) collect2: ld returned 1 exit status make[3]: *** [seahorse-preferences] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing.
I don't know what seahorse is or why it won't compile. The seahorse port is at version 1.0 but according to the web site the latest stable version is either 1.0.1 or 2.20.0; I can't quite tell. Perhaps the port needs to be updated. I'm Cc'ing the port's maintainer.
Hi Matthias, I've seen errors like this with ports that I maintain, and a page on the GMP website says that it is a bug with the Apple linker provided in XCode [1]: "The linker has a long-standing and serious bug that causes references from one file to common data in another file to give spurious error messages about undefined symbols, unless there are also references to the text segment between the same files." (Note that the GMP page suggests that it affects the 32-bit Intel version but not others; I've only tested this on my MacBook Pro, so I can't say for sure that you're experiencing the same problem on your PowerBook, but it looks exactly the same.) The only way to work around this is for the Seahorse source code to be patched, but I'm afraid I don't really understand the error and how to fix it (I either had upstream developers fix them for me, or took inspired guesses from commented patches that I saw in other people's source). I've CC'ed this message to the maintainer also, so he can hopefully pass it on to the upstream developers for them to fix. Kind regards, Maun Suang -- Boey Maun Suang (Boey is my surname) Email: boeyms at macports dot org
participants (3)
-
Boey Maun Suang
-
Matthias Brennwald
-
Ryan Schmidt