Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > DBD Make problem

Reply
Thread Tools

DBD Make problem

 
 
rajesh
Guest
Posts: n/a
 
      06-13-2005
Hi,

I am using the following environment to build DBD::Oracle.
I am using root account.

Solaris version = 5.10
Oracle DB version = 10g
DBD Version = 1.16
Perl version = 5.8.4

I built the makefile by using command "perl Makefile.PL".
Then I tried to make DBD. And got the following error.

#make

Skip blib/lib/DBD/Oracle.pm (unchanged)
Skip blib/lib/oraperl.ph (unchanged)
Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
Skip blib/lib/Oraperl.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
cc -c -I/export/home/oracle/product/rdbms/demo
-I/export/home/oracle/product/rdbms/public
-I/export/home/oracle/product/plsql/public
-I/export/home/oracle/product/network/public -I/
export/home/oracle/product/rdbms/demo
-I/export/home/oracle/product/plsql/public -I/export/
home/oracle/product/rdbms/public
-I/export/home/oracle/product/rdbms/demo -I/usr/perl5/site
_perl/5.8.4/sun4-solaris-64int/auto/DBI/ -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xarch
=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.16\"
-DXS_VERSION=\"1.16\" -KPIC "-
I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT
-DNEW_OCI_INIT -DORA_OCI_VER
SION=\"9.2.0.1\" Oracle.c
cc -c -I/export/home/oracle/product/rdbms/demo
-I/export/home/oracle/product/rdbms/public
-I/export/home/oracle/product/plsql/public
-I/export/home/oracle/product/network/public -I/
export/home/oracle/product/rdbms/demo
-I/export/home/oracle/product/plsql/public -I/export/
home/oracle/product/rdbms/public
-I/export/home/oracle/product/rdbms/demo -I/usr/perl5/site
_perl/5.8.4/sun4-solaris-64int/auto/DBI/ -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xarch
=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.16\"
-DXS_VERSION=\"1.16\" -KPIC "-
I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT
-DNEW_OCI_INIT -DORA_OCI_VER
SION=\"9.2.0.1\" dbdimp.c
cc -c -I/export/home/oracle/product/rdbms/demo
-I/export/home/oracle/product/rdbms/public
-I/export/home/oracle/product/plsql/public
-I/export/home/oracle/product/network/public -I/
export/home/oracle/product/rdbms/demo
-I/export/home/oracle/product/plsql/public -I/export/
home/oracle/product/rdbms/public
-I/export/home/oracle/product/rdbms/demo -I/usr/perl5/site
_perl/5.8.4/sun4-solaris-64int/auto/DBI/ -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xarch
=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.16\"
-DXS_VERSION=\"1.16\" -KPIC "-
I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT
-DNEW_OCI_INIT -DORA_OCI_VER
SION=\"9.2.0.1\" oci8.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/export/home/oracle/product/lib32:/export/home/oracle/product/rdbms/lib32"
cc
-G Oracle.o dbdimp.o oci8.o cc -Xa -xstrconst -xF -xarch=v8
-xchip=ultra -W2,-AKNR_
S -W2,-Rglobal_hoist -Wc,-Qdelay-speculate
-Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -er
rtags=yes -v -K PIC -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib
-L/export/home/oracle/p
roduct/rdbms/lib32/ -L/export/home/oracle/product/lib32/ -lclntsh
`cat /export/home/oracle/product/lib32/ldflags` `cat
/export/home/oracle/product/lib32/sysliblist` -R/export/ho
me/oracle/product/lib32 -laio -lposix4 -lkstat -lm -lthread -o
blib/arch/auto/DBD/Oracle/
Oracle.so
ld: fatal: file cc: open failed: No such file or directory
ld: fatal: File processing errors. No output written to
blib/arch/auto/DBD/Oracle/Oracle.so
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/DBD/Oracle/Oracle.so'


can any one help me in resolving this issue.

Thanks & Regards,
raj.

 
Reply With Quote
 
 
 
 
George
Guest
Posts: n/a
 
      06-13-2005
rajesh wrote:

> Hi,
>
> I am using the following environment to build DBD::Oracle.
> I am using root account.
>
> Solaris version = 5.10
> Oracle DB version = 10g
> DBD Version = 1.16
> Perl version = 5.8.4
>
> I built the makefile by using command "perl Makefile.PL".
> Then I tried to make DBD. And got the following error.
>
> #make
>
> Skip blib/lib/DBD/Oracle.pm (unchanged)
> Skip blib/lib/oraperl.ph (unchanged)
> Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
> Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
> Skip blib/lib/Oraperl.pm (unchanged)
> Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
> Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
> Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
> cc -c -I/export/home/oracle/product/rdbms/demo
> -I/export/home/oracle/product/rdbms/public
> -I/export/home/oracle/product/plsql/public
> -I/export/home/oracle/product/network/public -I/
> export/home/oracle/product/rdbms/demo
> -I/export/home/oracle/product/plsql/public -I/export/
> home/oracle/product/rdbms/public
> -I/export/home/oracle/product/rdbms/demo -I/usr/perl5/site
> _perl/5.8.4/sun4-solaris-64int/auto/DBI/ -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -xarch
> =v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.16\"
> -DXS_VERSION=\"1.16\" -KPIC "-
> I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT
> -DNEW_OCI_INIT -DORA_OCI_VER
> SION=\"9.2.0.1\" Oracle.c
> cc -c -I/export/home/oracle/product/rdbms/demo
> -I/export/home/oracle/product/rdbms/public
> -I/export/home/oracle/product/plsql/public
> -I/export/home/oracle/product/network/public -I/
> export/home/oracle/product/rdbms/demo
> -I/export/home/oracle/product/plsql/public -I/export/
> home/oracle/product/rdbms/public
> -I/export/home/oracle/product/rdbms/demo -I/usr/perl5/site
> _perl/5.8.4/sun4-solaris-64int/auto/DBI/ -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -xarch
> =v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.16\"
> -DXS_VERSION=\"1.16\" -KPIC "-
> I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT
> -DNEW_OCI_INIT -DORA_OCI_VER
> SION=\"9.2.0.1\" dbdimp.c
> cc -c -I/export/home/oracle/product/rdbms/demo
> -I/export/home/oracle/product/rdbms/public
> -I/export/home/oracle/product/plsql/public
> -I/export/home/oracle/product/network/public -I/
> export/home/oracle/product/rdbms/demo
> -I/export/home/oracle/product/plsql/public -I/export/
> home/oracle/product/rdbms/public
> -I/export/home/oracle/product/rdbms/demo -I/usr/perl5/site
> _perl/5.8.4/sun4-solaris-64int/auto/DBI/ -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -xarch
> =v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.16\"
> -DXS_VERSION=\"1.16\" -KPIC "-
> I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT
> -DNEW_OCI_INIT -DORA_OCI_VER
> SION=\"9.2.0.1\" oci8.c
> Running Mkbootstrap for DBD::Oracle ()
> chmod 644 Oracle.bs
> rm -f blib/arch/auto/DBD/Oracle/Oracle.so
> LD_RUN_PATH="/export/home/oracle/product/lib32:/export/home/oracle/pro
> duct/rdbms/lib32" cc
> -G Oracle.o dbdimp.o oci8.o cc -Xa -xstrconst -xF -xarch=v8
> -xchip=ultra -W2,-AKNR_
> S -W2,-Rglobal_hoist -Wc,-Qdelay-speculate
> -Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -er
> rtags=yes -v -K PIC -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib
> -L/export/home/oracle/p
> roduct/rdbms/lib32/ -L/export/home/oracle/product/lib32/ -lclntsh
> `cat /export/home/oracle/product/lib32/ldflags` `cat
> /export/home/oracle/product/lib32/sysliblist` -R/export/ho
> me/oracle/product/lib32 -laio -lposix4 -lkstat -lm -lthread -o
> blib/arch/auto/DBD/Oracle/
> Oracle.so
> ld: fatal: file cc: open failed: No such file or directory
> ld: fatal: File processing errors. No output written to
> blib/arch/auto/DBD/Oracle/Oracle.so
> *** Error code 1
> make: Fatal error: Command failed for target
> `blib/arch/auto/DBD/Oracle/Oracle.so'
>
>
> can any one help me in resolving this issue.
>
> Thanks & Regards,
> raj.


Not related to perl,
error generated by "make" command
 
Reply With Quote
 
 
 
 
Simon Taylor
Guest
Posts: n/a
 
      06-14-2005
Hello Rajesh,

> I built the makefile by using command "perl Makefile.PL".
> Then I tried to make DBD. And got the following error.


[snip]

> *** Error code 1
> make: Fatal error: Command failed for target
> `blib/arch/auto/DBD/Oracle/Oracle.so'


The DBD::Oracle README file provides the best pointers for resolving
this sort of problem.

See:

http://search.cpan.org/src/TIMB/DBD-Oracle-1.16/README

and in particular the notes about the dbi-users mailing list:

: This software is supported via the dbi-users mailing list. For more
: information and to keep informed about progress you can join the
: mailing list by sending a message to http://www.velocityreviews.com/forums/(E-Mail Removed)

I hope this helps,

Regards,

Simon Taylor
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using DBD::pNET or DBD::Proxy with DBD::Oracle Jim Cochrane Perl Misc 0 08-25-2007 12:10 AM
DBD::Sybase / DBD::ODBC + FreeTDS woes - placeholders and implicit datatype conversions Richard Gration Perl Misc 1 07-07-2005 11:41 AM
DBD::CSV or DBD::DBM or something else? meneg Perl Misc 2 11-17-2004 09:07 AM
DBD::mysqlPP v DBD::mysql Mike Solomon Perl Misc 1 02-16-2004 02:07 PM
DBD::CSV questions and is there a DBD::XML? Andrew Crook Perl Misc 2 09-11-2003 11:17 AM



Advertisments