1828630 Members
7258 Online
109983 Solutions
New Discussion

Perl-TK

 
David Yates_2
Occasional Advisor

Perl-TK

I was wondering if anyone has been able to successfully load the TK module for Perl5 onto an HPUX 11.0 system. How did you manage it and did you have to overcome any errors or config problems to complete the load?
4 REPLIES 4
Steven Sim Kok Leong
Honored Contributor

Re: Perl-TK

Hi,

To aid resolution, perhaps you would like to provide us a more detailed description of the exact compilation errors.

Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Frederic Soriano
Honored Contributor

Re: Perl-TK

David,

We are currently using Perk/Tk under HP-UX 10.20 (I compiled it and it runs perfectly), but I didn't try it under 11. You should glance at the following URL, where you'll find precompiled binaries hor HP-UX 11:

http://www.perltk.org/binaries/index.htm

I hope this helps.

Best regards,

Fred.
David Yates_2
Occasional Advisor

Re: Perl-TK

When I try to install the Tk bundle from CPAN, this is the error that I get:

CPAN.pm: Going to build N/NI/NI-S/Tk-800.024.tar.gz

/usr/contrib/bin/perl is installed in /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi okay
PPM for perl5.006001
Test Compiling config/signedchar.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.
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Bundle summary: The following items in bundle Bundle::Tk had installation
problems:
Tk
Steven Gillard_2
Honored Contributor

Re: Perl-TK

It sounds like you may need the X11 include files for this to work, which are part of the X11MotifDevKit product. As far as I know this is only available as part of the ANSI C developers bundle that requires purchasing (its codeword protected on the apps CDs).

Regards,
Steve