">Scott.Nolde@nelesautomation.com wrote:
>
> I'm getting the following errors when trying to compile/install Tk modules:
>
> [root@smnolde Tk800.019]# perl Makefile.PL
> perl is installed in /usr/lib/perl5/5.00503/i386-linux okay
> PPM for perl5.00503
> Test Compiling config/signedchar.c
> Test Compiling config/Ksprintf.c
> Test Compiling config/tod.c
> Test Compiling -DTIMEOFDAY_TZ config/tod.c
> TZ gettimeofday()
> Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.so.6.1
> Cannot find X include files via /usr/X11R6/include
> Cannot find X include files anywhere at ./myConfig line 318.
> BEGIN failed--compilation aborted at Makefile.PL line 19.
>
> However, I have the file:
>
> [root@smnolde Tk800.019]# locate libX11.so.6.1
> /usr/X11R6/lib/libX11.so.6.1
> /usr/i486-linux-libc5/lib/libX11.so.6.1
> /usr/i586-glibc20-linux/lib/libX11.so.6.1
You have the .so binary files (thus executables linked
against libX11.so.6 will run); however, you do not have
the header files (/usr/X11R6/include/*.h) that describe
the contents of the .so libraries to the C compiler,
thus you cannot compile new code that uses them.
You need to install the X development package, whatever
it's called under RH (note: NOT the X server development
package, which is what you need if you want to build
a new binary of XFree86 - you just need the package
that lets you link programs that use X services).
HTH,
-- Joe
> What do I fix and where?
>
> Thanks,
> Scott
>
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
-- Joe Knapka
* What happens when a mysterious force meets an inscrutable object?
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.