Good point, if you don't have much experience using Sun and such it's
probably easier to just download a newer perl from sunfreeware (e.g.
ftp://ftp.sunfreeware.com/pub/freeware/intel/8/perl-5.8.0-sol8-intel-local.g
z )  and install that one. Make sure you put /usr/local/bin first in your
path, or specifiy #!/usr/local/bin/perl as first line in all your perl
scripts.

I don't know if Sun's own tools use perl directly so I'm not sure if you can
just remove the OS supplied perl.

-----------------------------------
Frans Postma, (050-58) 81 852
ATOS Origin, Unix Support 
     "If at first you don't succeed, skydiving isn't for you"




> -----Oorspronkelijk bericht-----
> Van: David M. Lloyd [mailto:[EMAIL PROTECTED]
> Verzonden: vrijdag 28 maart 2003 17:02
> Aan: Mariano Fernandez
> CC: [EMAIL PROTECTED]
> Onderwerp: Re: Compiling problem over Solaris 8
> Urgentie: Hoog
> 
> 
> 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