Well, it seems that I don't have a c compiler loaded.  (I thought that I did)

Is is possible to get the DBI stuff pre-compiled?

Where can I get the CPAN shell?  I looked for it on the CPAN web site but I don't see 
it.
If I do find it, will it do any good without a C compiler?

Rob

-----Original Message-----
From: Chris Devers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 9:53 AM
To: Witzke, Rob
Cc: [EMAIL PROTECTED]
Subject: Re: DBI Install


On Wed, 4 Aug 2004, Witzke, Rob wrote:

> I am trying to install DBI on a Sun Solaris box but am running into 
> problems.

Have you tried using the CPAN shell? If you have it available, it's 
*much* easier than the way you're trying it.

     $ sudo perl -MCPAN -e shell

     cpan shell -- CPAN exploration and modules installation (v1.76)
     ReadLine support enabled

     cpan> install DBI

And you're done.

Actually, that's a gentle lie -- if you haven't used the CPAN shell 
before, you'll be asked a series of configuration questions before you 
get to the 'cpan>' prompt, but most of them are straightforward and you 
can usually just accept the defaults.

Once you're done setting up the shell, you get the 'cpan>' prompt and 
from there it's one line to install any module: "install My::Module".

That said...

> /opt/SUNWspro/bin/cc -c   -I/usr/local/include -O   -DVERSION=\"1.42\" 
> -DXS_VERSION=\"1.42\" -KPIC "-I/usr/local/sirsi/lib/perl5/5.8.0/sun4-solaris/CORE"  
> -DDBI_NO_THREADS Perl.c
> /bin/sh: /opt/SUNWspro/bin/cc: not found
> make: *** [Perl.o] Error 1

...do you actually have a C compiler at /opt/SUNWspro/bin/cc ?

> The message said that I had perl version 5.008 installed but I actuall 
> have the following:
>
> DEVELOP 66% perl -v
>
> This is perl, v5.8.0 built for sun4-solaris

Perl 5.008 *is* 5.8.0.

The reasons for this are old & boring, but basically Perl 5 just kept 
having micro .00x releases for a few years before people got around to 
making the numbers more sensible by masking over a couple of the zeroes. 
Hence, 5.006x is 5.6.x, and 5.8.x is 5.008x. You're more likely to see 
the version represented as 5.x.y these days, but some things will still 
present it as 5.00xy like it used to be. Don't worry about it.



-- 
Chris Devers      [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/

np: 'Moon River'
      by Henry Mancini
      from 'The Best Of Mancini'

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to