No, the installation of perl on the box is the default perl installation that comes with Solaris 8, however the default cc compiler also failed to compile the perl modules (however I switched to gcc because I had needed it to install another program) and it seemed to get furthur into the Module compile than the default cc compiler. I will post the errors from that cc compiler tommorow as I am leaving work now.However I do remember it saying something like the:
cc: language depend not recognized
Line in the gcc error message.
LordOmar | [reply] |
The default Sun compiler really isn't up to much. As
you know, gcc is far better.
Your problem is that you have some pre-built Sun version
of Perl which was built using Sun's compiler. This therefore
expects all new modules to be compiled with the same
compiler (or, more accurately, the same compiler options).
As the Sun compiler and gcc have different
command-line options, you see the problems that you are
getting.
I've never yet seen a pre-built Perl that I really have
confidence in, so my solution would be to rebuilt Perl
from the sources using gcc.
--
<http://www.dave.org.uk>
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
| [reply] |
A big Thanks for all the help on this one. I'll be reinstalling perl using gcc.
You Monks rock.
-LO
| [reply] |
Well I reinstalled perl using gcc, and I'm still suck, when I use cc to compile to module I get
/usr/ucb/cc: language optional software package not installed
I can't seem to find any packages anywhere for Sun's cc compiler, so I'm getting most frustrated
I may have to attempt modifying the Config.pm as suggested earlier, but with my skill level i am hesistant.
Once again I thank all here for their help in this matter.
LO
| [reply] |
I've seen the -KPIC trouble; Sol's cc using one form and
gcc uses another (lower case maybe?).
The Config.pm has the options used on the perl compile
and they get put in when installing modules, so you've got that
conflict. Same w/ the "language" depend, you're getting
the command line for one compiler (gcc, I guess) w/ the
other (cc). I've modified Config.pm (probably a really
bad idea), you're probably looking at other troubles and
'changing' compilers isn't going to help. Lord, er, goodness,
er, Larry knows I tried it enough.
a
| [reply] |