rbutcher has asked for the wisdom of the Perl Monks concerning the following question:

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

Replies are listed 'Best First'.
Re: Cannot find X include files
by Zaxo (Archbishop) on Jul 02, 2004 at 01:23 UTC

    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
by iburrell (Chaplain) on Jul 02, 2004 at 16:30 UTC
    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.