Subject: Re: Error building gtk2 from pkgsrc...
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Adam K Kirchhoff <>
List: tech-pkg
Date: 11/08/2004 17:34:30
Greg A. Woods wrote:

>[ On Monday, November 8, 2004 at 14:14:35 (-0500), Adam K Kirchhoff wrote: ]
>>Subject: Error building gtk2 from pkgsrc...
>>I'm trying to build gtk2, but it seems quite unhappy about not finding 
>>checking for X... libraries /usr/pkg/xorg/lib, headers /usr/pkg/xorg/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 in -lX11... no
>>configure: error: *** libX11 not found. Check 'config.log' for more details.
>>*** Error code 1
>That's the exact same error I posted in the "libtool *.la files
>vs. pkg-config *.pc files" thread.  :-)
>Assuming the error you find in the config.log also matches what I posted
>then the fix is to add the following patches to devel/pango/patches then
>rebuild and re-install pango:

Unfortunately, that didn't help :-(

I'm still getting the message about libX11 missing even after patching 
pango and rebuilding it.