in reply to Module compile problem

Also, since you mention you are on Solaris, is your perl install the package that SUN provides(SUNWpl5u)? That version of perl is built with the SUN C Compiler and perl generally wants you to build modules with the same compiler it was built with. Some modules may not build if you then attempt to use gcc to build the modules.You may have to build perl from scratch with gcc and then build and compile modules.

The version of perl at sunfreeware.com may be compiled with gcc. Anyone out there know whether the version from sunfreeware.com(SMCperl) is compiled with the Sun native C compiler or gcc?

HTH

UPDATE

Here I go answering my own question again, or rather Steven @ Sunfreeware answers it. The perl 5.8.0 package on sunfreeware is built with gcc. So that may be the way to go.

Replies are listed 'Best First'.
Re: Re: Module compile problem
by freddo411 (Chaplain) on May 16, 2003 at 17:50 UTC
    I considered this. I had the same problem when I was using the bundled perl 5.005.03 from the Sun distribution. At that time I was using Sun's cc and recieved the same error.

    Consequently, I downloaded the source for 5.005.03 and compiled that with GCC, then did the modules with GCC. Same problem.

    I'm going to attempt to mess with the MakeMaker Module as described below to see if that helps.

    Cheers

    --Fred