Cannot find X include files
rbutcher
created: 2004-07-01 21:16:33
I've just switched to Linux and get the above in CPAN when I try to get it to install Tk. It proceeds :- Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.so.6.2 Cannot find X include files via /usr/X11R6/include Cannot find X include files anywhere at ./myConfig line 332. Compilation failed in require at Makefile.PL line 36. BEGIN failed--compilation aborted at Makefile.PL line 38. Can somebody point me in the right direction ? many thanks, Rod
Re: Cannot find X include files
created: 2004-07-01 21:23:25

I suspect you need to install some X *-devel package to get the headers. Most consumer Linux distros don't install those by default.

After Compline,
Zaxo

Re: Cannot find X include files
created: 2004-07-02 12:30:35
What distribution are you using? Most distributions put the headers and libraries needed for development in separate packages which aren't installed by default.

For example, on Fedora Core 1, you will need XFree86-devel for the X includes.

perlmonks.org content © perlmonks.org and iburrell, rbutcher, Zaxo

prlmnks.org © 2006 edmund von der burg (eccles & toad)

v 0.03