Click here to get back home

How can I install the DBI on Solaris

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How can I install the DBI on Solaris Cathy Hui 02-24-2005
Posted by Cathy Hui on February 24, 2005, 4:16 pm
Please log in for more thread options


Here are what I have been trying to install DBI module on my Solaris 8
box:

1) I'd tried using different perl version. i.e. 5.8.0, 5.8.3. (they
are all precompiled pkg from sunfreeware.com)

2) I'd tried different versions of gcc and make

3) install DBI like this: /usr/bin/perl -MCPAN -e 'install "DBI"'

4) downloaded the DBI bundle from cpan.org and compiled it like this:
perl Makefile.PL && make && make test && make install.

No matter what ways I tried, I am the installation would fail (see the
error mesg below)

Could someone give me some light on this? thanks in advance.....

.
..
.
..
/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:1378: warning:
data definition has no type or storage class
/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:1379: error: parse
error before "off64_t"
In file included from DBIXS.h:19,
from Perl.xs:5:
/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:3926:24: sys/ipc.h:
No such file or directory
/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:3927:24: sys/sem.h:
No such file or directory
/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:4036:21: fcntl.h:
No such file or directory
In file included from Perl.c:59:
Driver_xst.h: In function `dbdxst_bind_params':
Driver_xst.h:55: warning: implicit declaration of function `sprintf'
Perl.c: In function `boot_DBD__Perl':
Perl.c:1085: warning: implicit declaration of function `strcmp'
make: *** [Perl.o] Error 1
/usr/ccs/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install



Similar ThreadsPosted
XML-Parser-2.34 install problem on Solaris December 7, 2004, 5:18 pm
GD module on Solaris 9 September 3, 2004, 11:10 am
Installing DBI-1.53 on Solaris November 29, 2006, 6:16 am
only want to install one module and the depended ones, but CPAN always install the whole Perl. September 14, 2007, 5:23 pm
Net::SSH:Perl on Solaris and passwd September 28, 2004, 11:24 pm
DBI compilation error on Solaris February 24, 2005, 6:04 pm
Sybperl errors on Solaris 2.9 March 2, 2005, 8:52 am
File::Find on Solaris v8-10 August 1, 2005, 11:06 am
Des::Crypt Will not Compile On Solaris 8 Using GCC December 7, 2005, 2:58 pm
Sun Solaris Oracle DBM driver precompiled September 6, 2004, 1:28 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap