1833723 Members
3651 Online
110063 Solutions
New Discussion

Re: Perl Module problem

 
hotpower
New Member

Perl Module problem

Hello All,

I have Perl 5.6.1 running on a HP-UX 11.11 and I am trying to install the module Text-CSV_XS. I got the make file but when I tried to do a make, it gave me errors saying gcc is not there. I have looked at articles on how to install GCC but I don't really understand, it seems as if I need to install a few other packages before I could install gcc. Does anyone know or can provide me with instuctions on how I should proceed?
I need this module in order to run my perl script.

Thanks in advance!

-Lory
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Perl Module problem

perl -v

You need to be perl 5 or above. I've seen a lot of systems that have /usr/contrib/bin/perl

Sometimes its Perl 4, which can't properly load the modules.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
hotpower
New Member

Re: Perl Module problem

running perl -v gives me v5.6.1
Ermin Borovac
Honored Contributor

Re: Perl Module problem

http://www.hp.com/go/gcc

Download gcc and binutils binary depots for 11.11 v1 and install with swinstall.

# swinstall -s /tmp/binutils.depot \*
# swinstall -s /tmp/gcc.depot \*
H.Merijn Brand (procura
Honored Contributor

Re: Perl Module problem

Much easier: get an more recent perl build that already include that module (and lots of other useful stuff) from my site.

You can also use Text::CSV instead of Text::CSV_XS, and then you don't need a C compiler at all and still get the same functionality, only a little bit slower.

My HP ITRC site pages can be found at (please use LA as primary choice):

USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn