gtk2 fails to build

Randall Wood rhwood at mac.com
Sun Oct 15 09:42:41 PDT 2006


The atk port needs to be installed first. Seems that the gtk2 port is  
missing a dependency.

On 15 Oct 2006, at 09:55, Artemio Gonzalez Lopez wrote:

> 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_ 
> dports_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
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users


Randall Wood
rhwood at mac.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3601 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20061015/c5954101/smime.bin


More information about the macports-users mailing list