My ultimate goal is to load DBI to interface Perl with Sybase.  I am
using Solaris 9 Operating system on a SUN Fire 880 Server. 

The following are the step I followed to load the DBI.

 

#################find out if I have DBI software loaded#################

# find / -name perldoc
/usr/local/bin/perldoc
/usr/perl5/5.6.1/bin/perldoc
/usr/perl5/5.00503/bin/perldoc
# /usr/local/bin/perldoc DBI
No documentation found for "DBI".


#################Find out if I have cc and make commands.
#################

# find / -name cc    
/usr/ucb/cc

# PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb
# echo $PATH
/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb

# which cc
/usr/ucb/cc

# which make
/usr/ccs/bin/make

#################LOADING THE DBI 1.32 ##############################

# cd /temp/dbi/

# tar xvf DBI-1.32.tar

# cd /temp/dbi/DBI-1.32


# perl Makefile.PL
*** 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_06attrs_pp.t 
Creating extra DBI::PurePerl test: t/zz_07kids_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_41prof_dump_pp.t 
Creating extra DBI::PurePerl test: t/zz_42prof_data_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.
#

# make
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int
-I/usr/perl5/5.6.1/lib -MExtUtils::Command -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
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/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.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.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 Perl.xs > Perl.xsc && mv Perl.xsc
Perl.c
cc -c  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend
-DVERSION=\"1.32\"  -DXS_VERSION=\"1.32\" -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
*** Error code 1
make: Fatal error: Command failed for target `Perl.o'
# 
 

###################Display perl properties ########################
# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=solaris, osvers=2.9, archname=sun4-solaris-64int
    uname='sunos localhost 5.9 sun4u sparc sunw,ultra-1'
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-xO3 -xdepend',
    cppflags=''
    ccversion='Sun WorkShop', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
    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
    perllibs=-lsocket -lnsl -ldl -lm -lc
    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.6.1/lib/sun4-solaris-64int/CORE'
    cccdlflags='-KPIC', lddlflags='-G'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Locally applied patches:
     9676 Port the OpenBSD glob() security patch
     9678 Addendum to #9676: some missing changes from OpenBSD glob.c
     9679 Up $File::Glob::VERSION, add OpenBSD glob version note
     9693 $VERSION and Version() on same line provokes CPAN.pm warning
     9706 #7210 broke .packlist generation
     9707 ExtUtils::Installed doesn't quote regex metacharacters in
paths
     9775 Typo in utf8.h
     9950 Revert integration of #8254,#8255 in #8620 (causes coredump)
    10021 Insecure regexes
    10091 $ref1 == $ref2 behaves unpredictably if not NV_PRESERVES_UV
    10093 Incorrect line numbers in AutoSplit
    10100 [20010514.027] PL_last_in_gv may not be GV if stale filehandle
    10145 [20010515.004] Segfaults from premature GC
    10203 Don't think about UTF8
    10250 [20010422.005] perl -e '{s//${}/; //}' segfaults
    10394 Leakage of file scope lexicals into predeclared subroutines
    10404 eval.t was relying on pre-#10394 buggy behavior
    10412 Rationalize locale handling to fix bugs uncovered by #10394
    10422 Potential buffer overrun if the radix separator > 1 byte
    10448 Lexicals outside eval weren't resolved correctly pre-#10394
    10450 Optimize #10448 slightly
    10543 Add LC_MESSAGES constant to POSIX module
    10667 #10449 broke visibility of lexicals inside DB::DB()
    10739 C<eval "/x$\r\n/x"> fails to compile correctly
    10939 Proposed fix for Pod::Man
    11169 Doc patch for Tie::Hash
    11374 Make h2ph grok ccsymbols fo the form 1234L, 1234ULL etc
    11427 t/harness wasn't picking up all the tests
    11428 run/runenv.t needs fflushNULL sanity
    11431 pod/*.t tests not picked up by t/TEST either
    11510 eval 'format foo=' would loop indefinitely
    11713 UTF8 wasn't printing for PVMGs
    11716 UTF8 flag should be meaningful only when POK
    11808 [20010831.002] Bug in Term::Cap on Solaris ansi terminal
    11847 Typo in perl_clone() code causes local(*foo) breakage
    12005 [20010912.007] substr reference core dump
    12024 Fix local() precedence bug in #8311
    12303 Fix 'local $!=0;undef*STDOUT;' segfault
    12304 Pod::Html makes a poor guess at author
    12350 Typo in IO::Seekable doc
    12496 Carp::shortmess_heavy() doesn't notice trailing newline
    12549 readline() doesn't work with 'our' variables
    12550 #12549 wasn't aware of strictures
    12752 croak(Nullch) wasn't printing the contents of ERRSV
    12811 [20011101.069] \stat('.') gives 'free unref scalar' error
    12812 Slight modification of #12811
    13149 Integrate #13147 from mainline (fixes nit in #10091)
    13261 Integrate #8340,#13260 from mainline
  Built under solaris
  Compiled at Apr  6 2002 14:45:34
  @INC:
    /usr/perl5/5.6.1/lib/sun4-solaris-64int
    /usr/perl5/5.6.1/lib
    /usr/perl5/site_perl/5.6.1/sun4-solaris-64int
    /usr/perl5/site_perl/5.6.1
    /usr/perl5/site_perl
    /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
    /usr/perl5/vendor_perl/5.6.1
    /usr/perl5/vendor_perl
    .
# 

 

QUESTION: 

The Error message is:

 

/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `Perl.o'
 

What language optional software package (name) does the error message
refer to?

Where can I find this language optional software package?

 

Thanks for your support

 

Oscar

 

Reply via email to