Subject: Re: Error building gtk2 from pkgsrc...
To: Adam K Kirchhoff <adamk@voicenet.com>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 11/08/2004 20:22:09
--Signature=_Mon__8_Nov_2004_20_22_09_+0100_HXReTfmTpg1Z=Zw0
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Mon, 08 Nov 2004 14:14:35 -0500
Adam K Kirchhoff <adamk@voicenet.com> wrote:

> 
> 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
> 
> Stop.
> 
> You'll notice that it knows I have xorg installed, and libX11.so 
> certainly exists in /usr/pkg/xorg/lib:
> 
> [ root@sorrow - /usr/pkgsrc/x11/gtk2 ]: ls -l /usr/pkg/xorg/lib/libX11.*
> -rw-r--r--  1 root  wheel  1318984 Nov  8 08:01 /usr/pkg/xorg/lib/libX11.a
> lrwxr-xr-x  1 root  wheel       11 Nov  8 08:01 
> /usr/pkg/xorg/lib/libX11.so -> libX11.so.6
> lrwxr-xr-x  1 root  wheel       13 Nov  8 08:01 
> /usr/pkg/xorg/lib/libX11.so.6 -> libX11.so.6.2
> -rwxr-xr-x  1 root  wheel   875577 Nov  8 08:01 
> /usr/pkg/xorg/lib/libX11.so.6.2
> 
> Any ideas how I can get this to build?

Can you show us the config.log file? you should take a look at the buildlink
directory (by default work/.buildlink/).

--Signature=_Mon__8_Nov_2004_20_22_09_+0100_HXReTfmTpg1Z=Zw0
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFBj8dhypkLYVDran0RAjU0AJ4h5xrhrMP8VVYQO+vApwIIHOV8PwCfWO3+
p/epVOqelDddzbQ2pn+iCXU=
=0+65
-----END PGP SIGNATURE-----

--Signature=_Mon__8_Nov_2004_20_22_09_+0100_HXReTfmTpg1Z=Zw0--