Operating System - HP-UX
1754060 Members
3138 Online
108811 Solutions
New Discussion юеВ

C/ANSI Compiler Install- error untarring file

 
Joe Schutz
Occasional Contributor

C/ANSI Compiler Install- error untarring file

I am attempting to install perl 5.8.5 from source on HP-UX 11.00 (9000/800/L2000-44).

The default C compilier (cc) does not work.
I am attempting to install gcc 3.0.1 binary (downloaded from http://gcc.gnu.org) which is a version specific to HP-UX 11.00 platform.

When I untar the binaries (i.e. tar -xvf) some files show up as @LongLink. I understand this may be due to incompatibilities in versions of tar in how it handles Long Filenames
(i.e. I think tar was done on Linux).
How can I get around this limitation ?

Any help is greatly appreciated.
Thanks
Joe
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: C/ANSI Compiler Install- error untarring file

tar is compatable on both systems.

More likely the download on the Linux machine was incomplete.

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
Sanjay_6
Honored Contributor

Re: C/ANSI Compiler Install- error untarring file

Hi Joe,

You can download the precompiled binaries from this site,

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.4.2/

Hope this helps.

Regds
Sridhar Bhaskarla
Honored Contributor

Re: C/ANSI Compiler Install- error untarring file

Hi Joe,

For HP-UX 11.0, try the following site.

ftp://ftp.thewrittenword.com/packages/free/by-architecture/hppa1.1-hp-hpux11.00/gcc-3.3.2/

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sanjay_6
Honored Contributor

Re: C/ANSI Compiler Install- error untarring file

Hi Joe,

You can also try this site,

http://www.hpux.ws/merijn/#Downloads

Hope this helps.

regds
Joe Schutz
Occasional Contributor

Re: C/ANSI Compiler Install- error untarring file

Sanjay,

Thanks for the link. I downloaded the 64 bit versions for the site.
- "perl 5.8.5 + defined-or prepared for
Oracle + DBI 1.43 + tk 804.027
built with gcc-3.4.1"
- "gcc 3.4.1 + binutils 2.15 + gdb 6.1.1"

I was able to successfully install perl 5.8.5 and gcc 3.4.1 and modified my PATH.
PATH=$PATH:/opt/perl64/bin/perl
PATH=$PATH:/maint/pa20_64/bin

I am on a HPUX B11.0.0 (9000/800/L2000-44)
and running Oracle 8.1.6.0.0.

Next I succesfully installed DBI version 1.20
perl Makefile.PL
make
make install

When attempting to install DBD version 1.12
I received the following error during make.
Unrecognized argument: -Wl,+s Fatal Error
(referring to the "ld" command).

Any suggestions would be appreciated.

Thanks
Joe