Subject: Re: Error building gtk2 from pkgsrc...
To: None <tech-pkg@netbsd.org>
From: Adam K Kirchhoff <adamk@voicenet.com>
List: tech-pkg
Date: 11/09/2004 11:14:47
On Monday 08 November 2004 17:34, you wrote:
> 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
> >>libX11:
> >>
> >>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.
>
> Adam

I got it to build :-)  I only had a few packages installed (mostly Xorg), so I 
uninstalled them, commented out the X11_TYPE line in mk.conf and kicked off a 
build of gtk2... 

Adam