develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [ID 20000330.016] Touble Installing Perl v5.6.0 on Solaris

Thread Previous | Thread Next
From:
Nick Ing-Simmons
Date:
March 30, 2000 08:30
Subject:
Re: [ID 20000330.016] Touble Installing Perl v5.6.0 on Solaris
Message ID:
E12ahpm-0007d5-00@mserv1a.u-net.net
Dan Warburton <warb@tgf.tc.faa.gov> writes:
>I just downloaded and untarred Perl v5.6.0.
>
>
>First let's make sure your kit is complete.  Checking...
>lib/locale.pm: No such file or directory

This is a symptom of using (say) a GNU tar compiled for SunOS4 on Solaris.
When you run SunOS4 binaries on Solaris the run-time system magically 
treats pathnames matching m#lib/locale# - so when tar tries to create 
lib/locale.pm another one gets created instead.

You may find the file under its assumed name and be able to rename it back.
Or use Sun's tar to do the extract.

>miniperlmain.c
>          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include  -O
>"./intrpvar.h", line 14: invalid token: ##

You have also found the old SunOS4 /bin/cc or perhaps /usr/ucb/cc
neither of which can handle ANSI C which perl5.005+ requires.
You need to get an ANSI C compiler - either SunPRO or GCC is fine.
(If you use gcc be sure it is compiled for version of Solaris you are using.)

-- 
Nick Ing-Simmons


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About