Macport 2.03 glib2 problem in leopard

Peter one2001boy at yahoo.com
Fri Nov 25 23:30:20 PST 2011


Hi Ryan,

Thanks for your help.

now I fixed everything except to get gtk2 to install in leopard.


$sudo port install gtk2
....

--->  Attempting to fetch atk-1.32.0.tar.bz2 from http://distfiles.macports.org/atk
--->  Verifying checksum(s) for atk
--->  Extracting atk
--->  Configuring atk
--->  Building atk
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install atk
Log for atk is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_atk/atk/main.log
Error: The following dependencies were not installed: atk gdk-pixbuf2 jasper tiff hicolor-icon-theme shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXcursor xrender xorg-libXdamage xorg-libXinerama xorg-libXrandr
Error: Status 1 encountered during processing.

Here is the error from atk/main.log:

:info:build In file included from ../atk/atkobject.h:28,
:info:build                  from atkaction.h:27,
:info:build                  from atkaction.c:20:
:info:build ../atk/atkstate.h:173: error: syntax error before 'gchar'
:info:build In file included from atkaction.h:27,
:info:build                  from atkaction.c:20:
:info:build ../atk/atkobject.h:384: error: syntax error before 'G_CONST_RETURN'
:info:build ../atk/atkobject.h:384: warning: no semicolon at end of struct or union



Any suggestion is appreciated.

Peter


More information about the macports-users mailing list