PAR error

N

ngoc

Hi
I install PAR "perl Makefile.PL"

Error:
Fetching 'PAR-0.76_98-sun-solaris-5.6.1.par from ftp.cpan.org...Bad file
number
Fetching failed:
No compiler found, won't generate 'cript/parl'

I do 'which gcc' it can locate to my new gcc. So gcc is there. What is
problem?
Ngoc
 
B

Ben Morrow

ngoc said:
Error:
Fetching 'PAR-0.76_98-sun-solaris-5.6.1.par from ftp.cpan.org...Bad file
number
Fetching failed:
No compiler found, won't generate 'cript/parl'

I do 'which gcc' it can locate to my new gcc. So gcc is there. What is
problem?

Type
$ perl -MConfig -le'print $Config{cc}'
and see if *that* compiler exists. If it doesn't then you could
rebuild perl (and all your modules: see CPAN's autobundle facility)
with gcc.

Alternatively, the only thing you lose by not having parl is the
ability to create completely stand-alone executables: for everything
else, par.pl is a perfectly acceptable alternative.

Ben
 
N

ngoc

Ben said:
Type
$ perl -MConfig -le'print $Config{cc}'
and see if *that* compiler exists. If it doesn't then you could
rebuild perl (and all your modules: see CPAN's autobundle facility)
with gcc.

Alternatively, the only thing you lose by not having parl is the
ability to create completely stand-alone executables: for everything
else, par.pl is a perfectly acceptable alternative.

Ben

Hi
Yes. It exists the output of command you suggest is
/program/gcc/bin/SUNSV/gcc -static-libgcc
Ngoc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,143
Messages
2,570,822
Members
47,368
Latest member
michaelsmithh

Latest Threads

Top