On Fri, 28 Mar 2003, Mariano Fernandez wrote:

> Hi,
>
> I'm not so expert on Solaris... and I have a machine that wasn't installed by
> me, but I can make changes as root if it's necesary. I always compile de module
> for linux with no problem. I installed GCC from sunfreeware, and added a link
> from /usr/ccs/bin/ucbcc to /usr/local/bin/gcc
> I realice that it is a compiler problem.. but I'm lost.

The problem is that the Perl on the system was built with Sun CC, but you
are trying to build the module with GCC.  The system's Perl config is
assuming that you are still using Sun CC so it gives the compiler options
that Sun CC would recognize, but GCC doesn't understand them.

I would recommend installing another version of perl that is built with
GCC (I'd suggest 5.6.1 or 5.8.0).  If you are allowed, I would even delete
the version of Perl that Sun provides.  That's the first thing I usually
do when I build a Solaris system.  Then you should be able to build DBI
witout a problem against the new version.

I think that there's a Perl provided at Sun Freeware that is built with
GCC.  If not, it's not too difficult to configure and build it yourself.

- D

<[EMAIL PROTECTED]>

Reply via email to