1847247 Members
2971 Online
110263 Solutions
New Discussion

Re: Installing Perltk

 
a17697
New Member

Installing Perltk

Hi,

I am trying to install PerlTk on my HPUX 11.00.
The version of my Ptk is Tk800.023. To install Perltk, I have installed gcc 2.9 and perl 5.6. Then according to the manual, I will need to type:

perl Makefile.PL X11=/usr/bin/X11 X11LIB=/usr/lib/X11 X11INC=/usr/include/X11

However, I had these error messages like these:

perl is installed in /opt/perl5/lib/5.6.1/PA-RISC1.1 okay
PPM for perl5.006001
Test Compiling config/signedchar.c
Test Compiling config/unsigned.c
Test Compiling config/Ksprintf.c
Test Compiling config/tod.c
Generic 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 312.
Compilation failed in require at Makefile.PL line 17.
BEGIN failed--compilation aborted at Makefile.PL line 19.

I hope pTk gurus could point out some lights for me.

thanks

3 REPLIES 3
Vincent Stedema
Esteemed Contributor

Re: Installing Perltk

Did you install binutils as well? Otherwise you won't be able to create binary executables with gcc.
a17697
New Member

Re: Installing Perltk

SUMMARY:

I did not get any workable reply on this. however, i did figure out the solution. Basically, just download the perltk binaries from www.perltk.org and then just extracted the packages and just copied them to perl directories accordingly.
Walla ...done.
Thanks to my tiredless effort to get this working & to my bosses also for the pressure they gave :-)
H.Merijn Brand (procura
Honored Contributor

Re: Installing Perltk

Must have missed it by then :)

1. The binport you got from perltk.org is mine too :)
2. Take the most reliable path: download my complete 5.8.0 port from https://www.beepz.com/personal/merijn which includes a working Tk 800.024
3. If you are to compile additional XS modules, upgrade to gcc-3.2 (also available on beepz, but read it's instructions).
Enjoy, Have FUN! H.Merijn