This check fails on my system because libX11.so is located in "/usr/X11R6/lib/libX11.so"

On 2/24/06, Gorka Olaizola < [EMAIL PROTECTED]> wrote:
On Fri, Feb 24, 2006 at 12:57:13AM +0100, Lucian Muresan wrote:
>
> +have_x11 = 1
> +try:
> +    dl.open('/usr/lib/libX11.so')
> +except dl.error, err:
> +    print "System without X11 detected"
> +    have_x11 = 0
> +
>
The problem I see with this is that one can have the runtime libX11 but not
the development libraries that I think are needeed to compile kaa.Display.
I think you have to use check_cc because it tries to compile a code snippet
to checks that the compilation of the library actually works.

--


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD/rq9AJWwPWWa2yoRApCTAKCogD6/iCI76n+feTcKul0w5WdmQACgoQjd
quyfdPD4SIzaGOddwYUmrrI=
=Oeo5
-----END PGP SIGNATURE-----



Reply via email to