I don't recall how I installed, but I just went ahead and tried to
re-install following your advice.

After doing the makefile and doing 'make', I get the following error
message:

/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst >
Perl.xsi
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int
-I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp  -typemap
/usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc
&& mv Perl.xsc Perl.c
cc -c  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend
-DVERSION=\"1.37\" -DXS_VERSION=\"1.37\" -KPIC
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DDBI_NO_THREADS Perl.c
/usr/ucb/cc:  language optional software package not installed
make: *** [Perl.o] Error 1


It seems something is wrong with the compilation of the aforementioned C
code. Is there something wrong with my C compiler, library files?

Thanks, A.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Antonio Garcia-Martinez
cryptologia.com

On Thu, 5 Jun 2003, Ronald J Kimball wrote:

> On Thu, Jun 05, 2003 at 10:02:06AM -0700, Antonio Garcia wrote:
> >
> > I am intalling DBI on a Sun workstation. Since I don't have root access, I
> > simply put DBI.pm in ~/perl, and then add it to @INC at runtime via
>
> Did you actually install the module, or did you just copy DBI.pm into
> ~/perl?  DBI has to be installed properly to work, because it includes C
> code that must be compiled.
>
> You can easily install DBI anywhere you like, by running e.g.:
>
> perl Makefile.PL PREFIX=~/perl
>
> Ronald
>

Reply via email to