error gtk1

mieru mieru mieru78 at gmail.com
Sat Aug 7 00:34:59 PDT 2010


Hi i was installing mldonkey but and i got an error when it tryes to build gtk1:
so i'v tryed to install only gtk1 and got the same error:
sudo port install gtk1
--->  Computing dependencies for gtk1
--->  Building gtk1
Error: Target org.macports.build returned: shell command failed
Log for gtk1 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

The log say this:
:debug:main Executing org.macports.main (gtk1)
:debug:main Skipping completed org.macports.fetch (gtk1)
:debug:main Skipping completed org.macports.checksum (gtk1)
:debug:main Skipping completed org.macports.extract (gtk1)
:debug:main Skipping completed org.macports.patch (gtk1)
:debug:main Skipping completed org.macports.configure (gtk1)
:msg:main --->  Building gtk1
:debug:build build phase started at Sat Aug  7 09:22:45 CEST 2010
:debug:build Executing org.macports.build (gtk1)
:debug:build Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/work/gtk+-1.2.10"
&& /usr/bin/make -j2 all'
:info:build /usr/bin/make  all-recursive
:info:build Making all in po
:info:build make[2]: Nothing to be done for `all'.
:info:build Making all in gdk
:info:build make[2]: Nothing to be done for `all'.
:info:build Making all in gtk
:info:build /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2
-DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
-DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"/opt/local/lib\"
-DGTK_DATA_PREFIX=\"/opt/local\" -DGTK_SYSCONFDIR=\"/opt/local/etc\"
-DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
-DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2
-I/opt/local/lib/glib/include -D_REENTRANT  -I/opt/local/include
-pipe -O2 -arch x86_64 -Wall -c gtkmain.c
:info:build /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2
-DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
-DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"/opt/local/lib\"
-DGTK_DATA_PREFIX=\"/opt/local\" -DGTK_SYSCONFDIR=\"/opt/local/etc\"
-DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
-DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2
-I/opt/local/lib/glib/include -D_REENTRANT  -I/opt/local/include
-pipe -O2 -arch x86_64 -Wall -c gtkmenu.c
:info:build rm -f .libs/gtkmain.lo
:info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
-DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\"
-DGTK_SYSCONFDIR=\"/opt/local/etc\"
-DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
-DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2
-I/opt/local/lib/glib/include -D_REENTRANT -I/opt/local/include -pipe
-O2 -arch x86_64 -Wall -c gtkmain.c  -fno-common -DPIC -o
.libs/gtkmain.lo
:info:build rm -f .libs/gtkmenu.lo
:info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
-DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\"
-DGTK_SYSCONFDIR=\"/opt/local/etc\"
-DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
-DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2
-I/opt/local/lib/glib/include -D_REENTRANT -I/opt/local/include -pipe
-O2 -arch x86_64 -Wall -c gtkmenu.c  -fno-common -DPIC -o
.libs/gtkmenu.lo
:info:build In file included from gtkintl.h:7,
:info:build                  from gtkmain.c:56:
:info:build /opt/local/include/libintl.h:440: error: expected '=',
',', ';', 'asm' or '__attribute__' before 'libintl_newlocale'
:info:build make[2]: *** [gtkmain.lo] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
-DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\"
-DGTK_SYSCONFDIR=\"/opt/local/etc\"
-DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
-DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2
-I/opt/local/lib/glib/include -D_REENTRANT -I/opt/local/include -pipe
-O2 -arch x86_64 -Wall -c gtkmenu.c -o gtkmenu.o >/dev/null 2>&1
:info:build mv -f .libs/gtkmenu.lo gtkmenu.lo
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all-recursive-am] Error 2
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/work/gtk+-1.2.10"
&& /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for gtk1):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for gtk1 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/main.log



i already have installed the gtk2 why it doesn't use the 2 instead of 1?
thanks all


More information about the macports-users mailing list