Brandon Hume <[email protected]> writes: > On Wed, 2009-10-21 at 10:55 -0500, Harry Putnam wrote: >> Anyone recognize the problem I hit while installing >> Term::ReadLine::Gnu > >> cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 >> -xspace -xildoff -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -KPIC >> "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" -DHAVE_STRING_H >> Gnu.c >> cc: unrecognized option `-KPIC' >> cc: language ildoff not recognized > > Apparently 'cc' on your system refers to GCC. Perl, however, was > compiled with Sun Studio. It stores this information and tries to > re-use the same flags. So, your Perl is using Sun Studio flags with > gcc. > > Easiest fix? Install Sun Studio, which I believe is in the package > repository, and put it before GCC in your path. Next fix? > Edit /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Config.pm and edit it to > use GCC flags.
The `next' fix there.. it certainly is not obvious, after looking at the file, as to how I might edit that file to use GCC flags. _______________________________________________ opensolaris-discuss mailing list [email protected]
