Operating System - HP-UX
1748140 Members
3515 Online
108758 Solutions
New Discussion юеВ

Perl/tk installation on hpux11i

 
SOLVED
Go to solution
Gerard Leclercq
Trusted Contributor

Perl/tk installation on hpux11i

I have downloaded
www.perltk.org/binaries/Perl/tk 800.022-HPUX-11.00-hppa2.0
and installed it in /opt
(/opt/site_perl/5.005 ...)

In the directory /opt/site_perl/5.005/PA-RISC2.0/Tk/demos/widget_lib,
there are some demos.

When I type
/opt/perl/bin/perl radio.pl
nothing happens.

What is wrong with my installation?

Many thanks


8 REPLIES 8
Ravi_8
Honored Contributor

Re: Perl/tk installation on hpux11i

Hi,

Do you have C compiler installed?

I have downloaded perl from
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL

and followed installation procedure
1> Configure
2>make
3>make test
4> make install

works fine.
never give up
H.Merijn Brand (procura
Honored Contributor
Solution

Re: Perl/tk installation on hpux11i

Ravi, sorry, bad hint. What Gerard downloaded is a binary package.

Gerard, where did you get 'perl'?

/opt/site_perl is the wrong location anyway, it should be /opt/perl/lib/site_perl

800.022 is rather old, and IIRC built for perl-5.005.03

You can fetch perl-5.8.0 for HP-UX 11.00 pa-risc-2.0 on https://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/ wich includes prebuilt Perl/Tk-800.024

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Gerard Leclercq
Trusted Contributor

Re: Perl/tk installation on hpux11i

Ravi,

Does the perl you speak of come with Tk?

In hpux 11i there is already a perl, but without Tk.
H.Merijn Brand (procura
Honored Contributor

Re: Perl/tk installation on hpux11i

Gerard, no Ravi's perl does not contain Tk. Mine does, but is built on 11.00, not on 11i

Both perl's are built with gcc. If you have HP C-ANSI C you can get a performance upgrade of up to 25% by rebuilding perl (and it's modules) from the ground up.

FWIW, the gcc used to build my perl is also available on my page
Enjoy, Have FUN! H.Merijn
Ravi_8
Honored Contributor

Re: Perl/tk installation on hpux11i

Hi,

Perl which i have installed doesn't contain TK.
it's a .depot file.
never give up
Gerard Leclercq
Trusted Contributor

Re: Perl/tk installation on hpux11i

Procura,

I have downloaded Perl/Tk from www.cmve.net/~merijn/ for hpux 11 and hpux 10.20.

Perl/Tk for hpux 11 works fine, the widget demo is very good.

But on hpux 10.20, perl gives me this error :

/usr/lib/dld.sl: Can't open shared library: /usr/lib/libpthread.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

Where can I find this libpthread.sl ?

Thank you
H.Merijn Brand (procura
Honored Contributor

Re: Perl/tk installation on hpux11i

I love it when a plan comes together :)

libpthread.sl is needed for Oracle (I know you might not have Oracle, but most people that require precompiled perl do. Oracle stinks, but we are not the customers that want to spend loads of money, but we are the poor sysadmins that have to work towards a working product). Tk doe not need it, but you can get it here: http://hpux.connect.org.uk/hppd/hpux/Gnu/pth-1.4.1/
Luckily it still has a 10.20 version.

I still have 1.4.0, but 1.4.1 is about to be installed

d3:/u/usr/merijn 103 > swlist -l file pth
# Initializing...
# Contacting target "d3"...
#
# Target: d3:/
#

# pth 1.4.0 pth
# pth.pth-RUN
/opt/pth/bin/pth-config
/opt/pth/bin/pthread-config
/opt/pth/doc/COPYING
/opt/pth/doc/ChangeLog
/opt/pth/doc/HPUX.Install
/opt/pth/doc/INSTALL
/opt/pth/doc/NEWS
/opt/pth/doc/README
/opt/pth/include/pth.h
/opt/pth/include/pthread.h
/opt/pth/lib/libpth.a
/opt/pth/lib/libpth.la
/opt/pth/lib/libpth.sl
/opt/pth/lib/libpthread.a
/opt/pth/lib/libpthread.la
/opt/pth/lib/libpthread.sl
/opt/pth/man/man1/pth-config.1
/opt/pth/man/man1/pthread-config.1
/opt/pth/man/man3/pth.3
/opt/pth/man/man3/pthread.3
/opt/pth/share/aclocal/pth.m4
d3:/u/usr/merijn 104 >
Enjoy, Have FUN! H.Merijn
Michael Langas
Advisor

Re: Perl/tk installation on hpux11i

I downloaded perl from www.software.hp.com for 11.00 and it had the Tk module in it.