If they have any C code in them, the modules you install need to be built
with the same C compiler that Perl was built with.  Solaris comes with
version 5.00503 built using the Sun C compiler.  You can spend money
for get the Sun C compiler and install DBI.  Then you have DBI working
on an old version of Perl. Version 5.00503 is a good stable version, bur
is lacking some newer language features.  What they are I can't recall
right now.

IMHO you need to install gcc (IIRC you need version 2.95, not version
3) and then install a new Perl and any modules you have added. Then
install DBI on the new Perl.  Leave the old version alone for any Solaris
tools that were built to use the pre-installed version.  Put the new
version in your path.


"Kipp, James" wrote:

> you need the optional ( THEY WANT YOU TO SPEND $$ FOR A REAL COMPILER)
> compiler.
> if  you have it, it should be in '/opt/SUNWspro/bin/cc'.
> the defualt one in 'usr/ucb/cc' is not ANSI compliant.
>
> > -----Original Message-----
> > From: Gallagher, John (5462) (O&M)
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, September 06, 2002 6:51 AM
> > To: [EMAIL PROTECTED]
> > Subject: DBI build on Solaris
> >
> >
> > Hi
> >
> > I have included a build log from an attempted install of DBI
> > module 1.30 on
> > a Solaris System. It seems to be complaining about 'language optional
> > software package not installed ( I have included output of perl -V)
> > Any help given is greatly appreciated.
> >
> > John
> >
> > ______________________Script started on Fri 06 Sep 2002
> > 11:22:13 AM IST
> > *** Note:     The optional PlRPC-modules (RPC::PlServer etc) are not
> > installed.     If you want to use the DBD::Proxy driver and
> > DBI::ProxyServer
> > modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
> > Storable and Net::Daemon modules. The CPAN Bundle::DBI may
> > help you.     You
> > can install them any time after installing the DBI.     You
> > do *not* need
> > these modules for typical DBI usage.  Optional modules are
> > available from
> > any CPAN mirror, in particular
> > http://www.perl.com/CPAN/modules/by-module
> > http://www.perl.org/CPAN/modules/by-module
> > ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module
> > Creating extra
> > DBI::PurePerl test: t/zz_01basics_pp.t  Creating extra
> > DBI::PurePerl test:
> > t/zz_02dbidrv_pp.t  Creating extra DBI::PurePerl test:
> > t/zz_03hleak_pp.t
> > Creating extra DBI::PurePerl test: t/zz_04mods_pp.t  Creating extra
> > DBI::PurePerl test: t/zz_05thrclone_pp.t  Creating extra
> > DBI::PurePerl test:
> > t/zz_10examp_pp.t  Creating extra DBI::PurePerl test:
> > t/zz_15array_pp.t
> > Creating extra DBI::PurePerl test: t/zz_20meta_pp.t  Creating extra
> > DBI::PurePerl test: t/zz_30subclass_pp.t  Creating extra
> > DBI::PurePerl test:
> > t/zz_40profile_pp.t  Creating extra DBI::PurePerl test:
> > t/zz_60preparse_pp.t
> > Creating extra DBI::PurePerl test: t/zz_70shell_pp.t  Creating extra
> > DBI::PurePerl test: t/zz_80proxy_pp.t  Checking if your kit
> > is complete...
> > Looks good Writing Makefile for DBI      Remember to actually
> > *read* the
> > README file!     Use  'make' to build the software (dmake or nmake on
> > Windows).     Then 'make test' to execute self tests.     Then 'make
> > install' to install the DBI and then delete this working     directory
> > before unpacking and building any DBD::* drivers.
> > dnnetra22:root> make
> > /usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
> > -MExtUtils::Command -e mkpath blib/lib/DBI mkdir blib mkdir
> > blib/lib mkdir
> > blib/lib/DBI rm -f blib/lib/DBI/Changes.pm cp Changes
> > blib/lib/DBI/Changes.pm mkdir blib/arch mkdir blib/arch/auto mkdir
> > blib/arch/auto/DBI mkdir blib/lib/auto mkdir blib/lib/auto/DBI mkdir
> > blib/man1 mkdir blib/man3 cp lib/DBI/Profile.pm
> > blib/lib/DBI/Profile.pm cp
> > Driver_xst.h blib/arch/auto/DBI/Driver_xst.h cp lib/DBI/W32ODBC.pm
> > blib/lib/DBI/W32ODBC.pm cp lib/DBD/ExampleP.pm
> > blib/lib/DBD/ExampleP.pm cp
> > lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm cp lib/DBI/Shell.pm
> > blib/lib/DBI/Shell.pm
> > cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm cp
> > lib/Bundle/DBI.pm
> > blib/lib/Bundle/DBI.pm cp lib/DBI/Const/GetInfo/ANSI.pm
> > blib/lib/DBI/Const/GetInfo/ANSI.pm cp lib/DBD/Proxy.pm
> > blib/lib/DBD/Proxy.pm
> > cp DBIXS.h blib/arch/auto/DBI/DBIXS.h cp
> > lib/DBI/Const/GetInfoReturn.pm
> > blib/lib/DBI/Const/GetInfoReturn.pm cp dbd_xsh.h
> > blib/arch/auto/DBI/dbd_xsh.h cp lib/DBI/Const/GetInfoType.pm
> > blib/lib/DBI/Const/GetInfoType.pm cp dbi_sql.h
> > blib/arch/auto/DBI/dbi_sql.h
> > cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm cp lib/DBD/Sponge.pm
> > blib/lib/DBD/Sponge.pm cp lib/DBI/Format.pm blib/lib/DBI/Format.pm cp
> > lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm cp
> > lib/DBI/DBD.pm blib/lib/DBI/DBD.pm cp Driver.xst
> > blib/arch/auto/DBI/Driver.xst cp DBI.pm blib/lib/DBI.pm cp
> > lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm cp dbipport.h
> > blib/arch/auto/DBI/dbipport.h cp lib/DBI/PurePerl.pm
> > blib/lib/DBI/PurePerl.pm /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" <
> > blib/arch/auto/DBI/Driver.xst > Perl.xsi /usr/bin/perl
> > -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
> > /usr/perl5/5.00503/ExtUtils/xsubpp  -typemap
> > /usr/perl5/5.00503/ExtUtils/typemap Perl.xs >xstmp.c && mv
> > xstmp.c Perl.c cc
> > -c   -xO3 -xdepend    -DVERSION=\"1.30\" -DXS_VERSION=\"1.30\" -KPIC
> > -I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS
> > Perl.c /usr/ucb/cc:
> > language optional software package not installed make: ***
> > [Perl.o] Error 1
> > dnnetra22:root> make test cc -c   -xO3 -xdepend    -DVERSION=\"1.30\"
> > -DXS_VERSION=\"1.30\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE
> > -DDBI_NO_THREADS Perl.c /usr/ucb/cc:  language optional
> > software package not
> > installed make: *** [Perl.o] Error 1 dnnetra22:root> make
> > install cc -c
> > -xO3 -xdepend    -DVERSION=\"1.30\" -DXS_VERSION=\"1.30\" -KPIC
> > -I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS
> > Perl.c /usr/ucb/cc:
> > language optional software package not installed make: ***
> > [Perl.o] Error 1
> > dnnetra22:root> ^C dnnetra22:root> ^D
> > script done on Fri 06 Sep 2002 11:23:21 AM IST
> >
> > script done on Fri 06 Sep 2002 11:23:21 AM IST
> > Script started on Fri 06 Sep 2002 11:25:51 AM IST
> > dnnetra22:root> perl -V Summary of my perl5 (5.0 patchlevel 5
> > subversion 3)
> > configuration:   Platform:     osname=solaris, osvers=2.8,
> > archname=sun4-solaris     uname='sunos localhost 5.8 sun4u sparc
> > sunw,ultra-1 '     hint=previous, useposix=true, d_sigaction=define
> > usethreads=undef useperlio=undef d_sfio=undef   Compiler:     cc='cc',
> > optimize='-xO3 -xdepend', gccversion=     cppflags=''     ccflags =''
> > stdchar='char', d_stdstdio=define, usevfork=false
> > intsize=4, longsize=4,
> > ptrsize=4, doublesize=8     d_longlong=define, longlongsize=8,
> > d_longdbl=define, longdblsize=16     alignbytes=8, usemymalloc=n,
> > prototype=define   Linker and Libraries:     ld='cc', ldflags =''
> > libpth=/lib /usr/lib /usr/ccs/lib     libs=-lsocket -lnsl -ldl -lm -lc
> > -lcrypt     libc=/lib/libc.so, so=so, useshrplib=true,
> > libperl=libperl.so
> > Dynamic Linking:     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
> > ccdlflags='-R /usr/perl5/5.00503/sun4-solaris/CORE'
> > cccdlflags='-KPIC',
> > lddlflags='-G'   Characteristics of this binary (from
> > libperl):    Built
> > under solaris   Compiled at Dec 22 1999 00:00:57   @INC:
> > /usr/perl5/5.00503/sun4-solaris     /usr/perl5/5.00503
> > /usr/perl5/site_perl/5.005/sun4-solaris
> > /usr/perl5/site_perl/5.005     .
> > dnnetra22:root> ^D
> > script done on Fri 06 Sep 2002 11:25:57 AM IST
> >
> >
> >
> >
> >
> >
> >
> > **************************************************************
> > **************************
> >
> > This E-mail is from O2. The E-mail and any files
> > transmitted with it are confidential and may also be
> > privileged and intended
> > solely for the use of the individual or entity to whom they
> > are addressed.
> > Any unauthorised direct or indirect dissemination,
> > distribution or copying
> > of this message and any attachments is strictly prohibited.
> > If you have
> > received the E-mail in error please notify [EMAIL PROTECTED] or
> >                   telephone ++ 353 1 6095000.
> >
> > **************************************************************
> > ***************************
> >
> >

--

James D. White   ([EMAIL PROTECTED])
Department of Chemistry and Biochemistry
University of Oklahoma
620 Parrington Oval, Room 313
Norman, OK 73019-3051
Phone: (405) 325-4912, FAX: (405) 325-7762



Reply via email to