Re: pixman and perl

2009-10-23 Thread John Taylor
Dan wrote:
 Interesting.
 
 Personally, I don't like Python. That is to say, I've learned a bit of
 Python, and I don't like programming in it. But as Python is used by my
 distribution's package management system ( Gentoo ), I have Python
 installed on my system, and I've never really thought more about it.
 
 What did Perl do to you anyway? Just curious.

It may seem strange, but I don't like perl because of the way it must be 
installed. As far as I remember, it has not a configure script and a 
makefile. Also, I prefer my system to be made of packages written in as 
few languages as possible, possibly C only.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: pixman and perl

2009-10-22 Thread John Taylor
Stephan Raue wrote:
 Hi John,
 
 i dont think pixman need perl. i can compile Xorg without perl.

I have pixman-0.16.2. During the configure stage, it clearly says:

configure: error: Perl is required to build pixman.

I hope I'm wrong.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


libX11 and keysymdef.h

2009-10-12 Thread John Taylor
Hello. I'm trying to build a GNU/Linux system with X.org. I configure
the various packages with --prefix=/usr but I install them with make
install DESTDIR=${lfs}, where ${lfs} is the place where I put the
target system. Everything went well until I tried to install libX11.
The problem is that its configure script tries to locate keysymdef.h
but fails at finding it. I obviously installed xproto (always with
--prefix=/usr and make install DESTDIR=${lfs}) before attemting to
install libX11. I looked at the configure script. It runs the host's
pkg-config and asks it to retrieve the path of the include directory
for the xproto package. Since I don't have xproto on the host system,
it returns nothing. A first way to fix this would be to set the
PKG_CONFIG_PATH to ${lfs}/usr/lib64/pkgconfig, so it would find
xproto.pc. But even then, it would return /usr/include instead of
${lfs}/usr/include because in xproto.pc the prefix variable is set to
/usr (I configured xproto with --prefix=/usr). So this could be fixed
by calling pkg-config with the --define-variable=prefix=${lfs}/usr
argument. Another way to fix this would be to leave intact the
configure script and create the following symlinks:
/usr/include/X11/keysymdef.h - ${lfs}/usr/include/X11/keysymdef.h and
/usr/lib64/pkgconfig/xproto.pc -
${lfs}/usr/lib64/pkgconfig/xproto.pc. I'm not satisfied by any of the
previous workarounds, but I couldn't manage to do better. What do you
think? Thanks.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg