Hi Guys,
Platform: hp-ux 11.11
When I try to compile perltk, I get the following errors:
# /usr/local/bin/perl Makefile.PL X11INC=/usr/include
/usr/local/bin/perl is installed in /usr/local/lib/perl5/5.8.7/PA-RISC2.0 okay
PPM for perl5.008007
Test Compiling config/signedchar.c
Test Compile/Run config/unsigned.c
Test Compiling config/Ksprintf.c
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/lib/X11R6 to find /usr/lib/X11R6/libX11.3
Cannot find X include files via /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.
#
Ok, so I can see that it's looking for some X include files, but I don't know what these files are called and where they can be found. I know that I can use the X11=, X11INC= and X11LIB= command line switches, but I don't know what values to give them.
Any help would be greatly appreciated.
Thanks,
Gary
Platform: hp-ux 11.11
When I try to compile perltk, I get the following errors:
# /usr/local/bin/perl Makefile.PL X11INC=/usr/include
/usr/local/bin/perl is installed in /usr/local/lib/perl5/5.8.7/PA-RISC2.0 okay
PPM for perl5.008007
Test Compiling config/signedchar.c
Test Compile/Run config/unsigned.c
Test Compiling config/Ksprintf.c
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/lib/X11R6 to find /usr/lib/X11R6/libX11.3
Cannot find X include files via /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.
#
Ok, so I can see that it's looking for some X include files, but I don't know what these files are called and where they can be found. I know that I can use the X11=, X11INC= and X11LIB= command line switches, but I don't know what values to give them.
Any help would be greatly appreciated.
Thanks,
Gary