Subject: pkg/29989: gtk2 fails to build on darwin
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jml@snorkkeli.homeip.net>
List: pkgsrc-bugs
Date: 04/16/2005 23:53:00
>Number: 29989
>Category: pkg
>Synopsis: gtk2 fails to build on darwin
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 16 23:53:00 +0000 2005
>Originator: Juha-Matti Liukkonen
>Release: gtk+-2.6.7, pango-1.8.1
>Organization:
>Environment:
Darwin wazoo.koti2.net 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
gtk2 configure fails on darwin, unable to find pango libraries, even
though everything seems to be in order:
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking Pango flags... -DXTHREADS -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -L/usr/pkg/lib -lpangoxft-1.0 -lpangox-1.0
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
*** Error code 1
Stop.
bmake: stopped in /Users/admin/pkgsrc/x11/gtk2
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===> * config.log
===> * /Users/admin/pkgsrc/x11/gtk2/work/.work.log
===>
*** Error code 1
Stop.
bmake: stopped in /Users/admin/pkgsrc/x11/gtk2
End of work/.work.log shows:
<.> /Users/admin/pkgsrc/x11/gtk2/work/.gcc/bin/gcc -pipe -o conftest -O2 -I/User
s/admin/pkgsrc/x11/gtk2/work/.buildlink/include -D_REENTRANT -I/Users/admin/pkgs
rc/x11/gtk2/work/.buildlink/include/freetype2 -Wall -DXTHREADS -I/Users/admin/pk
gsrc/x11/gtk2/work/.buildlink/include/pango-1.0 -I/Users/admin/pkgsrc/x11/gtk2/w
ork/.x11-buildlink/include -I/Users/admin/pkgsrc/x11/gtk2/work/.buildlink/includ
e/glib/glib-2.0 -I/Users/admin/pkgsrc/x11/gtk2/work/.buildlink/lib/glib-2.0/incl
ude -DPREFIX=\"\\\"/usr/pkg\\\"\" -no-cpp-precomp -L/Users/admin/pkgsrc/x11/gtk2
/work/.buildlink/lib -L/Users/admin/pkgsrc/x11/gtk2/work/.x11-buildlink/lib conf
test.c -lpangoxft-1.0 -lpangox-1.0 -lintl -lpthread
wazoo:~/pkgsrc/x11/gtk2$ pkg_info | grep pango
pango-1.8.1 Library for layout and rendering of text
wazoo:~/pkgsrc/x11/gtk2$ ls -l work/.x11-buildlink/lib/*pango*
lrwxr-xr-x 1 root odj 39 17 Apr 02:34 work/.x11-buildlink/lib/libpango-1.0.0.800.1.dylib -> /usr/pkg/lib/libpango-1.0.0.800.1.dylib
lrwxr-xr-x 1 root odj 33 17 Apr 02:34 work/.x11-buildlink/lib/libpango-1.0.0.dylib -> /usr/pkg/lib/libpango-1.0.0.dylib
lrwxr-xr-x 1 root odj 27 17 Apr 02:34 work/.x11-buildlink/lib/libpango-1.0.a -> /usr/pkg/lib/libpango-1.0.a
lrwxr-xr-x 1 root odj 31 17 Apr 02:34 work/.x11-buildlink/lib/libpango-1.0.dylib -> /usr/pkg/lib/libpango-1.0.dylib
-rw-r--r-- 1 root odj 1020 17 Apr 02:34 work/.x11-buildlink/lib/libpango-1.0.la
lrwxr-xr-x 1 root odj 42 17 Apr 02:34 work/.x11-buildlink/lib/libpangoft2-1.0.0.800.1.dylib -> /usr/pkg/lib/libpangoft2-1.0.0.800.1.dylib
lrwxr-xr-x 1 root odj 36 17 Apr 02:34 work/.x11-buildlink/lib/libpangoft2-1.0.0.dylib -> /usr/pkg/lib/libpangoft2-1.0.0.dylib
lrwxr-xr-x 1 root odj 30 17 Apr 02:34 work/.x11-buildlink/lib/libpangoft2-1.0.a -> /usr/pkg/lib/libpangoft2-1.0.a
lrwxr-xr-x 1 root odj 34 17 Apr 02:34 work/.x11-buildlink/lib/libpangoft2-1.0.dylib -> /usr/pkg/lib/libpangoft2-1.0.dylib
-rw-r--r-- 1 root odj 946 17 Apr 02:34 work/.x11-buildlink/lib/libpangoft2-1.0.la
lrwxr-xr-x 1 root odj 40 17 Apr 02:34 work/.x11-buildlink/lib/libpangox-1.0.0.800.1.dylib -> /usr/pkg/lib/libpangox-1.0.0.800.1.dylib
lrwxr-xr-x 1 root odj 34 17 Apr 02:34 work/.x11-buildlink/lib/libpangox-1.0.0.dylib -> /usr/pkg/lib/libpangox-1.0.0.dylib
lrwxr-xr-x 1 root odj 28 17 Apr 02:34 work/.x11-buildlink/lib/libpangox-1.0.a -> /usr/pkg/lib/libpangox-1.0.a
lrwxr-xr-x 1 root odj 32 17 Apr 02:34 work/.x11-buildlink/lib/libpangox-1.0.dylib -> /usr/pkg/lib/libpangox-1.0.dylib
-rw-r--r-- 1 root odj 932 17 Apr 02:34 work/.x11-buildlink/lib/libpangox-1.0.la
lrwxr-xr-x 1 root odj 42 17 Apr 02:34 work/.x11-buildlink/lib/libpangoxft-1.0.0.800.1.dylib -> /usr/pkg/lib/libpangoxft-1.0.0.800.1.dylib
lrwxr-xr-x 1 root odj 36 17 Apr 02:34 work/.x11-buildlink/lib/libpangoxft-1.0.0.dylib -> /usr/pkg/lib/libpangoxft-1.0.0.dylib
lrwxr-xr-x 1 root odj 30 17 Apr 02:34 work/.x11-buildlink/lib/libpangoxft-1.0.a -> /usr/pkg/lib/libpangoxft-1.0.a
lrwxr-xr-x 1 root odj 34 17 Apr 02:34 work/.x11-buildlink/lib/libpangoxft-1.0.dylib -> /usr/pkg/lib/libpangoxft-1.0.dylib
-rw-r--r-- 1 root odj 946 17 Apr 02:34 work/.x11-buildlink/lib/libpangoxft-1.0.la
wazoo:~/pkgsrc/x11/gtk2$ ls /usr/pkg/lib/*pango*
/usr/pkg/lib/libpango-1.0.0.800.1.dylib
/usr/pkg/lib/libpango-1.0.0.dylib
/usr/pkg/lib/libpango-1.0.a
/usr/pkg/lib/libpango-1.0.dylib
/usr/pkg/lib/libpango-1.0.la
/usr/pkg/lib/libpangoft2-1.0.0.800.1.dylib
/usr/pkg/lib/libpangoft2-1.0.0.dylib
/usr/pkg/lib/libpangoft2-1.0.a
/usr/pkg/lib/libpangoft2-1.0.dylib
/usr/pkg/lib/libpangoft2-1.0.la
/usr/pkg/lib/libpangox-1.0.0.800.1.dylib
/usr/pkg/lib/libpangox-1.0.0.dylib
/usr/pkg/lib/libpangox-1.0.a
/usr/pkg/lib/libpangox-1.0.dylib
/usr/pkg/lib/libpangox-1.0.la
/usr/pkg/lib/libpangoxft-1.0.0.800.1.dylib
/usr/pkg/lib/libpangoxft-1.0.0.dylib
/usr/pkg/lib/libpangoxft-1.0.a
/usr/pkg/lib/libpangoxft-1.0.dylib
/usr/pkg/lib/libpangoxft-1.0.la
>How-To-Repeat:
cd pkgsrc/x11/gtk2; bmake
>Fix:
Everything seems to be in order?