gtk2 fails to build

Artemio Gonzalez Lopez artemiog at mac.com
Sun Oct 15 06:55:40 PDT 2006


gtk2 fails to build with the following error:

checking ATK flags... -I/opt/local/include/atk-1.0 -I/opt/local/ 
include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include   -L/opt/local/lib -latk-1.0 -lgobject-2.0 -lgmodule-2.0 - 
lglib-2.0 -lintl -liconv
configure: error:
                 *** Cannot link to Accessibility Toolkit.  
Accessibility Toolkit is required
                 *** to build GTK+
Error: Target com.apple.configure returned: configure failure: shell  
command "cd "/opt/local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_x11_gtk2/work/gtk+-2.10.3" && LDFLAGS="-L/opt/local/lib - 
lpango-1.0" CPPFLAGS="-I/opt/local/include -no-cpp-precomp - 
DX_LOCALE" CFLAGS="-O3 -funroll-loops -fstrict-aliasing" ./configure  
--prefix=/opt/local --disable-shm --disable-gtk-doc --with-included- 
loaders --mandir=/opt/local/share/man" returned error 1
Command output: checking for sys/wait.h that is POSIX.1 compatible...  
yes
checking return type of signal handlers... (cached) void
checking for x86 platform... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay... yes
checking for XextFindDisplay... yes
checking for XRenderQueryExtension... yes
checking if <X11/extensions/XIproto.h> is needed for xReply... no
checking for XConvertCase... yes
checking for XInternAtoms... yes
checking for XAddConnectionWatch... yes
checking for XkbQueryExtension... yes
checking for XShapeCombineMask... yes
checking for XSyncQueryExtension... yes
checking for X11/extensions/sync.h... yes
checking for Xinerama support on XFree86... checking for  
XineramaQueryExtension in -lXinerama... yes
checking for X11/extensions/Xinerama.h... yes
yes
checking for XRRUpdateConfiguration in -lXrandr... yes
checking for X11/extensions/Xrandr.h... yes
checking Pango flags... -DXTHREADS -I/opt/local/include/pango-1.0 -I/ 
opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/ 
local/include -I/opt/local/include/cairo -I/opt/local/include/ 
freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include   -L/opt/ 
local/lib -L/usr/X11R6/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lSM - 
lICE -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lfreetype  
-lz -lfontconfig -lpng12 -lXrender -lX11
checking ATK flags... -I/opt/local/include/atk-1.0 -I/opt/local/ 
include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include   -L/opt/local/lib -latk-1.0 -lgobject-2.0 -lgmodule-2.0 - 
lglib-2.0 -lintl -liconv
configure: error:
                 *** Cannot link to Accessibility Toolkit.  
Accessibility Toolkit is required
                 *** to build GTK+

Warning: the following items did not execute (for gtk2):  
com.apple.activate com.apple.configure com.apple.build  
com.apple.destroot com.apple.archive com.apple.install
Error: Status 1 encountered during processing.

I am using DP 1.32 and Mac OS X 10.4.8. Any idea what the problem  
could be anybody?

Cheers,


Artemio Gonzalez Lopez
artemiog at mac.com





More information about the macports-users mailing list