Hi all,
I am trying to install DBI on a solaris box hosting oracle.
please find the error log attched.
error :
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap
/usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Perl.xs >
Perl.xsc && mv Perl.xsc Perl.c
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO
-xO3 -xspace -xildoff -DVERSION=\"1.609\" -DXS_VERSION=\"1.609\" -KPIC
"-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DDBI_NO_THREADS Perl.c
sh: cc: not found
*** Error code 1
make: Fatal error: Command failed for target `Perl.o'
PLease help me on this.
Regards,
Chethan M N
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted by this
email.
www.wipro.com
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 bash-3.00#
perl Makefile.PL\par
Creating test wrappers for DBI::PurePerl:\par
t/zvp_01basics.t\par
t/zvp_02dbidrv.t\par
t/zvp_03handle.t\par
t/zvp_04mods.t\par
t/zvp_05concathash.t\par
t/zvp_06attrs.t\par
t/zvp_07kids.t\par
t/zvp_08keeperr.t\par
t/zvp_09trace.t\par
t/zvp_10examp.t\par
t/zvp_11fetch.t\par
t/zvp_12quote.t\par
t/zvp_13taint.t\par
t/zvp_14utf8.t\par
t/zvp_15array.t\par
t/zvp_19fhtrace.t\par
t/zvp_20meta.t\par
t/zvp_30subclass.t\par
t/zvp_35thrclone.t\par
t/zvp_40profile.t\par
t/zvp_41prof_dump.t\par
t/zvp_42prof_data.t\par
t/zvp_43prof_env.t\par
t/zvp_50dbm.t\par
t/zvp_60preparse.t\par
t/zvp_65transact.t\par
t/zvp_70callbacks.t\par
t/zvp_72childhandles.t\par
t/zvp_80proxy.t\par
t/zvp_85gofer.t\par
t/zvp_86gofer_fail.t\par
t/zvp_87gofer_cache.t\par
Creating test wrappers for DBD::Gofer:\par
t/zvg_01basics.t\par
t/zvg_02dbidrv.t\par
t/zvg_03handle.t\par
t/zvg_04mods.t\par
t/zvg_05concathash.t\par
t/zvg_06attrs.t\par
t/zvg_07kids.t\par
t/zvg_08keeperr.t\par
t/zvg_09trace.t\par
t/zvg_10examp.t\par
t/zvg_11fetch.t\par
t/zvg_12quote.t\par
t/zvg_13taint.t\par
t/zvg_14utf8.t\par
t/zvg_15array.t\par
t/zvg_19fhtrace.t\par
t/zvg_20meta.t\par
t/zvg_30subclass.t\par
t/zvg_35thrclone.t\par
t/zvg_40profile.t\par
t/zvg_41prof_dump.t\par
t/zvg_42prof_data.t\par
t/zvg_43prof_env.t\par
t/zvg_50dbm.t\par
t/zvg_60preparse.t\par
t/zvg_65transact.t\par
t/zvg_70callbacks.t\par
t/zvg_72childhandles.t\par
t/zvg_80proxy.t\par
t/zvg_85gofer.t\par
t/zvg_86gofer_fail.t\par
t/zvg_87gofer_cache.t\par
Creating test wrappers for PurePerl & Gofer:\par
t/zvxgp_01basics.t\par
t/zvxgp_02dbidrv.t\par
t/zvxgp_03handle.t\par
t/zvxgp_04mods.t\par
t/zvxgp_05concathash.t\par
t/zvxgp_06attrs.t\par
t/zvxgp_07kids.t\par
t/zvxgp_08keeperr.t\par
t/zvxgp_09trace.t\par
t/zvxgp_10examp.t\par
t/zvxgp_11fetch.t\par
t/zvxgp_12quote.t\par
t/zvxgp_13taint.t\par
t/zvxgp_14utf8.t\par
t/zvxgp_15array.t\par
t/zvxgp_19fhtrace.t\par
t/zvxgp_20meta.t\par
t/zvxgp_30subclass.t\par
t/zvxgp_35thrclone.t\par
t/zvxgp_40profile.t\par
t/zvxgp_41prof_dump.t\par
t/zvxgp_42prof_data.t\par
t/zvxgp_43prof_env.t\par
t/zvxgp_50dbm.t\par
t/zvxgp_60preparse.t\par
t/zvxgp_65transact.t\par
t/zvxgp_70callbacks.t\par
t/zvxgp_72childhandles.t\par
t/zvxgp_80proxy.t\par
t/zvxgp_85gofer.t\par
t/zvxgp_86gofer_fail.t\par
t/zvxgp_87gofer_cache.t\par
Checking if your kit is complete...\par
Looks good\par
\par
I see you're using perl 5.008004 on sun4-solaris-64int, okay.\par
Remember to actually *read* the README file!\par
Use 'make' to build the software (dmake or nmake on Windows).\par
Then 'make test' to execute self tests.\par
Then 'make install' to install the DBI and then delete this working\par
directory before unpacking and building any DBD::* drivers.\par
\par
Writing Makefile for DBI\par
bash-3.00# make\par
/usr/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI\par
rm -f blib/lib/DBI/Changes.pm\par
cp Changes blib/lib/DBI/Changes.pm\par
/usr/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI\par
rm -f blib/lib/DBI/Roadmap.pm\par
cp Roadmap.pod blib/lib/DBI/Roadmap.pm\par
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h\par
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm\par
cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm\par
cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm\par
cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm\par
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm\par
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h\par
cp Roadmap.pod blib/lib/Roadmap.pod\par
cp dbixs_rev.pl blib/lib/dbixs_rev.pl\par
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm\par
cp lib/DBI/Gofer/Serializer/DataDumper.pm
blib/lib/DBI/Gofer/Serializer/DataDumper.pm\par
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm\par
cp lib/DBD/Gofer/Transport/pipeone.pm
blib/lib/DBD/Gofer/Transport/pipeone.pm\par
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm\par
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm\par
cp Driver.xst blib/arch/auto/DBI/Driver.xst\par
cp lib/DBD/File.pm blib/lib/DBD/File.pm\par
cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm\par
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm\par
cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm\par
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h\par
cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm\par
cp dbivport.h blib/arch/auto/DBI/dbivport.h\par
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h\par
cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h\par
cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm\par
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm\par
cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm\par
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm\par
cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm\par
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm\par
cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm\par
cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm\par
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm\par
cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm\par
cp DBI.pm blib/lib/DBI.pm\par
cp lib/DBI/Gofer/Serializer/Storable.pm
blib/lib/DBI/Gofer/Serializer/Storable.pm\par
cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm\par
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm\par
cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm\par
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm\par
cp lib/DBI/Gofer/Transport/pipeone.pm
blib/lib/DBI/Gofer/Transport/pipeone.pm\par
cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm\par
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm\par
cp TASKS.pod blib/lib/TASKS.pod\par
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm\par
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm\par
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm\par
cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm\par
cp dbipport.h blib/arch/auto/DBI/dbipport.h\par
cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm\par
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm\par
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm\par
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm\par
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm\par
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm\par
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi\par
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap
/usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc &&
mv Perl.xsc Perl.c\par
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3
-xspace -xildoff -DVERSION=\\"1.609\\" -DXS_VERSION=\\"1.609\\" -KPIC
"-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DDBI_NO_THREADS Perl.c\par
sh: cc: not found\par
*** Error code 1\par
make: Fatal error: Command failed for target `Perl.o'\par
\par
=======================================================================================================\par
================================================================================\par
\par
bash-3.00# perl -V\par
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:\par
Platform:\par
osname=solaris, osvers=2.10, archname=sun4-solaris-64int\par
uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'\par
config_args=''\par
hint=recommended, useposix=true, d_sigaction=define\par
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef\par
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef\par
use64bitint=define use64bitall=undef uselongdouble=undef\par
usemymalloc=n, bincompat5005=undef\par
Compiler:\par
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8
-D_TS_ERRNO',\par
optimize='-xO3 -xspace -xildoff',\par
cppflags=''\par
ccversion='Sun WorkShop', gccversion='', gccosandvers=''\par
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321\par
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16\par
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8\par
alignbytes=8, prototype=define\par
Linker and Libraries:\par
ld='cc', ldflags =''\par
libpth=/lib /usr/lib /usr/ccs/lib\par
libs=-lsocket -lnsl -ldl -lm -lc\par
perllibs=-lsocket -lnsl -ldl -lm -lc\par
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so\par
gnulibc_version=''\par
Dynamic Linking:\par
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE'\par
cccdlflags='-KPIC', lddlflags='-G'\par
\par
\par
Characteristics of this binary (from libperl):\par
Compile-time options: USE_64_BIT_INT USE_LARGE_FILES\par
Locally applied patches:\par
22667 The optree builder was looping when constructing the ops ...\par
22715 Upgrade to FileCache 1.04\par
22733 Missing copyright in the README.\par
22746 fix a coredump caused by rv2gv not fully converting a PV ...\par
22755 Fix 29149 - another UTF8 cache bug hit by substr.\par
22774 [perl #28938] split could leave an array without ...\par
22775 [perl #29127] scalar delete of empty slice returned garbage\par
22776 [perl #28986] perl -e "open m" crashes Perl\par
22777 add test for change #22776 ("open m" crashes Perl)\par
22778 add test for change #22746 ([perl #29102] Crash on assign ...\par
22781 [perl #29340] Bizarre copy of ARRAY make sure a pad op's ...\par
22796 [perl #29346] Double warning for int(undef) and abs(undef) ...\par
22818 BOM-marked and (BOMless) UTF-16 scripts not working\par
22823 [perl #29581] glob() misses a lot of matches\par
22827 Smoke [5.9.2] 22818 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)\par
22830 [perl #29637] Thread creation time is hypersensitive\par
22831 improve hashing algorithm for ptr tables in perl_clone: ...\par
22839 [perl #29790] Optimization busted: '@a = "b", sort @a' ...\par
22850 [PATCH] 'perl -v' fails if local_patches contains code
snippets\par
22852 TEST needs to ignore SCM files\par
22886 Pod::Find should ignore SCM files and dirs\par
22888 Remove redundant %SIG assignments from FileCache\par
23006 [perl #30509] use encoding and "eq" cause memory leak\par
23074 Segfault using HTML::Entities\par
23106 Numeric comparison operators mustn't compare addresses of ...\par
23320 [perl #30066] Memory leak in nested shared data structures ...\par
23321 [perl #31459] Bug in read()\par
SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962\par
Built under solaris\par
Compiled at Feb 13 2006 05:12:02\par
@INC:\par
/usr/perl5/5.8.4/lib/sun4-solaris-64int\par
/usr/perl5/5.8.4/lib\par
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int\par
/usr/perl5/site_perl/5.8.4\par
/usr/perl5/site_perl\par
/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int\par
/usr/perl5/vendor_perl/5.8.4\par
/usr/perl5/vendor_perl\par
}