Numlockx can't find X

2007-11-06 Thread Nicolas FRANCOIS
Hi.

While installing numlockx (a little tool to have numlock on just after
boot under xdl or kdm), I uncouter problems in the configure process :

checking for X... configure: error: Can't find X includes. Please check
your installation and add the correct paths!

There's a mention in the BLFS book (I use Xorg 7.2) that installing X
in /usr is no problem for allmost all packages. I created the /usr/X11R6
symlink, with no effect. My KDE is in /opt/kde, maybe it has something to
do with it. I inspected the configure script, but it's kind of chinese
for me (and french people are ESPECIALLY bad in chinese !).

Can someone help me on this one ?

\bye

-- 

   Nicolas FRANCOIS
http://nicolas.francois.free.fr
 A TRUE Klingon programmer does NOT comment his code
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: Numlockx can't find X

2007-11-06 Thread Dan Nicholson
On 11/6/07, Nicolas FRANCOIS [EMAIL PROTECTED] wrote:

 While installing numlockx (a little tool to have numlock on just after
 boot under xdl or kdm), I uncouter problems in the configure process :

 checking for X... configure: error: Can't find X includes. Please check
 your installation and add the correct paths!

That is just a horrible use of autoconf. The offender is the K_PATH_X
macro in acinclude.m4 which is totally unnecessary because there's
already a default autoconf macro for finding X. Try adding
x_includes=/usr/include x_libraries=/usr/lib to the end of your
./configure command.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: Numlockx can't find X

2007-11-06 Thread Nicolas FRANCOIS
Le Tue, 6 Nov 2007 19:49:31 -0800 Dan Nicholson [EMAIL PROTECTED] a
écrit :

 That is just a horrible use of autoconf. The offender is the K_PATH_X
 macro in acinclude.m4 which is totally unnecessary because there's
 already a default autoconf macro for finding X. Try adding
 x_includes=/usr/include x_libraries=/usr/lib to the end of your
 ./configure command.

It works ! Less than 10 minutes for the answer ! Incerdible. I love
LFS :-)

Thanks Dan.

\bye

-- 

   Nicolas FRANCOIS
http://nicolas.francois.free.fr
 A TRUE Klingon programmer does NOT comment his code
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page