Greetings,

While attempting to install version 1.06 of DBD for Oracle 8i on a
Sparc running Solaris 8, using Perl 5.6.0, I ran into to the following
problems.  After reading though the various READMEs, and scouring the
WWW, I didn't find any helpful information.  Before I go digging 
into this further, has anyone else seen the following errors and 
discovered how to correct them?  

If it makes any difference, the same errors occured when I tried using
gcc as well.  Like other things that I've tried, the static build and
using "perl Makefile.PL -p" didn't allow this to succeed either.


Discovering Oracle OCI build rules...
Warning: Oracle build rule discovery failed (256)
Oracle oci build command:

        cc -L/oracle/OraHome1/lib/ -L/oracle/OraHome1/rdbms/lib/ -o
DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh
/oracle/OraHome1/rdbms/lib/kpuadef.o `sed -e 's/-ljava//g'
/oracle/OraHome1/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed
-e 's/-ljava//g' /oracle/OraHome1/lib/ldflags` -lnsgr8 -lnzjs8 -ln8
-lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lwtc8 -lmm -lnls8
-lcore8 -lnls8 -lcore8 -lnls8 `sed -e 's/-ljava//g'
/oracle/OraHome1/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed
-e 's/-ljava//g' /oracle/OraHome1/lib/ldflags` -lnsgr8 -lnzjs8 -ln8
-lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -ltrace8 -lnls8
-lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8 -lcommon8
-lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat
/oracle/OraHome1/lib/sysliblist` `if [ -f /usr/lib/libsched.so ] ;
then echo -lsched ; else true; fi` -R/oracle/OraHome1/lib -laio
-lposix4 -lkstat -lm -lthread

        ld: fatal: file DBD_ORA_OBJ.o: unknown file type
        ld: fatal: File processing errors. No output written to DBD_ORA_EXE
        *** Error code 1
        make: Fatal error: Command failed for target `build'
Unable to interpret Oracle oci build commands. Using fallback approach.


Some warnings, but no errors, during make, appeared as well; after
make test:

t/plsql.............dubious                                                  
        Test returned status 0 (wstat 139, 0x8b)
        test program seems to have generated a core
DIED. FAILED tests 55-63
        Failed 9/63 tests, 85.71% okay
t/reauth............skipped test on this platform
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/plsql.t         0   139    63    9  14.29%  55-63
1 test skipped.
Failed 1/5 test scripts, 80.00% okay. 9/224 subtests failed, 95.98% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'


The output from Perl -V:


Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos morgana 5.8 generic_108528-05 sun4u sparc sunw,ultra-1 '
    config_args='-Dcc=gcc -Dpath=/usr/local/perl -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release)
    cppflags='-fno-strict-aliasing'
    ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    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
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' '
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G'

Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Apr  9 2001 17:07:38
  @INC:
    /usr/local/lib/perl5/5.6.0/sun4-solaris
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl
    .

--
Copyright (C) 2001 R. D. Davis    Ancient guru who see future once say:
All Rights Reserved               "wise man who meditate upon immortal wisdom 
[EMAIL PROTECTED] 410-744-4900    of Bart Simpson's words: "Don't have a cow, 
http://www.perqlogic.com/rdd      man" will enjoy interesting life."

Reply via email to