[MacPorts] #24915: Error installing GTK1 on Mac OS 10.6.4

MacPorts noreply at macports.org
Sun May 16 04:53:27 PDT 2010


#24915: Error installing GTK1 on Mac OS 10.6.4
-------------------------------------------+--------------------------------
 Reporter:  benjamin.kremer@…              |       Owner:  macports-tickets@…                   
     Type:  defect                         |      Status:  new                                  
 Priority:  Normal                         |   Milestone:                                       
Component:  ports                          |     Version:  1.8.2                                
 Keywords:                                 |        Port:                                       
-------------------------------------------+--------------------------------
 --->  Building gtk1
 DEBUG: Executing org.macports.build (gtk1)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: 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'
 /usr/bin/make  all-recursive
 Making all in po
 make[2]: Nothing to be done for `all'.
 Making all in gdk
 make[2]: Nothing to be done for `all'.
 Making all in gtk
 /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  -O2
 -arch x86_64 -Wall -c gtkmain.c
 /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  -O2
 -arch x86_64 -Wall -c gtkmenushell.c
 rm -f .libs/gtkmenushell.lo
 /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 -O2 -arch
 x86_64 -Wall -c gtkmenushell.c  -fno-common -DPIC -o .libs/gtkmenushell.lo
 rm -f .libs/gtkmain.lo
 /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 -O2 -arch
 x86_64 -Wall -c gtkmain.c  -fno-common -DPIC -o .libs/gtkmain.lo
 gtkmenushell.c: In function 'gtk_menu_shell_class_init':
 gtkmenushell.c:195: warning: cast from pointer to integer of different
 size
 gtkmenushell.c:202: warning: cast from pointer to integer of different
 size
 gtkmenushell.c:209: warning: cast from pointer to integer of different
 size
 gtkmenushell.c:217: warning: cast from pointer to integer of different
 size
 gtkmenushell.c:225: warning: cast from pointer to integer of different
 size
 In file included from gtkintl.h:7,
                  from gtkmain.c:56:
 /opt/local/include/libintl.h:434: error: expected '=', ',', ';', 'asm' or
 '__attribute__' before 'libintl_newlocale'
 make[2]: *** [gtkmain.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
 /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 -O2 -arch
 x86_64 -Wall -c gtkmenushell.c -o gtkmenushell.o >/dev/null 2>&1
 mv -f .libs/gtkmenushell.lo gtkmenushell.lo
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive-am] Error 2
 Error: Target org.macports.build returned: 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
 DEBUG: Backtrace: 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
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for gtk1):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>

-- 
Ticket URL: <http://trac.macports.org/ticket/24915>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list