DBD Make problem

Discussion in 'Perl Misc' started by rajesh, Jun 13, 2005.

  1. rajesh

    rajesh Guest

    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.
     
    rajesh, Jun 13, 2005
    #1
    1. Advertising

  2. rajesh

    George Guest

    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
     
    George, Jun 13, 2005
    #2
    1. Advertising

  3. rajesh

    Simon Taylor Guest

    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

    I hope this helps,

    Regards,

    Simon Taylor
     
    Simon Taylor, Jun 14, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Crook

    DBD::CSV questions and is there a DBD::XML?

    Andrew Crook, Sep 2, 2003, in forum: Perl Misc
    Replies:
    2
    Views:
    182
    Andrew Crook
    Sep 11, 2003
  2. Mike Solomon

    DBD::mysqlPP v DBD::mysql

    Mike Solomon, Feb 16, 2004, in forum: Perl Misc
    Replies:
    1
    Views:
    244
    James Willmore
    Feb 16, 2004
  3. meneg
    Replies:
    2
    Views:
    127
    meneg
    Nov 17, 2004
  4. Richard Gration
    Replies:
    1
    Views:
    161
    Richard Gration
    Jul 7, 2005
  5. Jim Cochrane
    Replies:
    0
    Views:
    127
    Jim Cochrane
    Aug 25, 2007
Loading...

Share This Page