I'm trying make DBD::Oracle on Macintosh OS X against Oracle Developer 
Preview release.

DBI-1.30 compiled and tested cleanly.

I'm attaching the entire output of:

perl Makefile.PL for DBD::Oracle 1.12

Other than minor errors like:

Multiple copies of Driver.xst found in: /Library/Perl/darwin/auto/DBI 
/Library/Perl/darwin/auto/DBI at Makefile.PL line 36
Using DBI 1.30 installed in /Library/Perl/darwin/auto/DBI
Duplicate specification "S=s" for option "s"

things appear to be going very well until:

Attempting to discover Oracle OCI build rules...
cc -c  -I/Users/oracle/9iR2/orahome/rdbms/demo 
-I/Users/oracle/9iR2/orahome/rdbms/public 
-I/Users/oracle/9iR2/orahome/plsql/public 
-I/Users/oracle/9iR2/orahome/network/public 
-I/Users/oracle/9iR2/orahome/rdbms/demo 
-I/Users/oracle/9iR2/orahome/rdbms/demo -I/Library/Perl/darwin/auto/DBI 
-pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -O3   
-DVERSION=\"1.12\" -DXS_VERSION=\"1.12\"  "-I/Library/Perl/darwin/CORE" 
   DBD_ORA_OBJ.c
Warning: Oracle build rule discovery failed (512)
Oracle oci build prolog:
         make: *** No rule to make target 
`/Users/oracle/9iR2/orahome/lib/libwtc9.so', needed by 
`/Users/oracle/9iR2/orahome/lib/libclntsh.dylib'.  Stop.

And things pretty much go to hell from there.

Interesting note: There is no file named libwtc9.so under $ORACLE_HOME, 
which would certainly explain the error message shown above. :-)

Any ideas?

I've compiled perl (not 5.8.0 though) and DBI/DBD::Oracle many times on 
Linux and have had few problems. I'm completely new to building it on 
Mac OS X, of course, as the Oracle developer release has only been 
available for a couple of days.

I've also attached output of Perl -V

-- 
-- Tom Mornini
-- InfoMania Printing and Prepress
--
-- ICQ: 113526784, AOL, Yahoo, MSN and Jabber: tmornini

Attachment: Makefile.txt
Description: application/applefile

bash-2.05a$ perl Makefile.PL
Multiple copies of Driver.xst found in: 
/Library/Perl/darwin/auto/DBI /Library/Perl/darwin/auto/DBI at Makefile.PL line 36
Using DBI 1.30 installed in /Library/Perl/darwin/auto/DBI
Duplicate specification 
"S=s" for option "s"

 Configuring DBD::Oracle ...

>>>     Remember to actually 
*READ* the README file!
        Especially if you have any problems.

Using Oracle in 
/Users/oracle/9iR2/orahome
Found header files in rdbms/demo.
Found 
/Users/oracle/9iR2/orahome/rdbms/demo/demo_rdbms.mk
Found 
/Users/oracle/9iR2/orahome/otrace/demo/atmoci.mk
Found 
/Users/oracle/9iR2/orahome/precomp/demo/proc/demo_proc.mk
Using 
/Users/oracle/9iR2/orahome/rdbms/demo/demo_rdbms.mk
Reading 
/Users/oracle/9iR2/orahome/rdbms/demo/demo_rdbms.mk.
Reading 
/Users/oracle/9iR2/orahome/rdbms/lib/env_rdbms.mk.
Deleting ORA_NLS = 
$(ORACLE_HOME)/ocommon/nls/admin/data/
  because it is not already set in the 
environment
  and it can cause ORA-01019 errors.
Deleting ORA_NLS33 = 
$(ORACLE_HOME)/ocommon/nls/admin/data/
  because it is not already set in the 
environment
  and it can cause ORA-01019 errors.
Appending 
'/Users/oracle/9iR2/orahome/rdbms/lib/libskgxpd.a 
/Users/oracle/9iR2/orahome/rdbms/lib/libskgxpu.a 
/Users/oracle/9iR2/orahome/rdbms/lib/libskgxpt.a' to EXTRALIBS
Appending 
'$(LIBHOME)libskgxp9.so' to SHLIBS
Appending 
'/Users/oracle/9iR2/orahome/rdbms/lib/libskgxp9.a' to LIBS
Appending 
'/Users/oracle/9iR2/orahome/rdbms/lib/libskgxns.a 
/Users/oracle/9iR2/orahome/rdbms/lib/libskgxnd.a 
/Users/oracle/9iR2/orahome/rdbms/lib/libskgxnr.a' to EXTRALIBS
Appending 
'$(LIBHOME)libskgxn9.so' to SHLIBS
Appending 
'/Users/oracle/9iR2/orahome/rdbms/lib/libskgxn9.a' to LIBS
Evaluating `cat 
$(LIBHOME)sysliblist`
  expanded `cat /Users/oracle/9iR2/orahome/lib/sysliblist`
  
returned ' -ldl -lpoll -lm -lpthread '

Attempting to discover Oracle OCI build 
rules...
cc -c  -I/Users/oracle/9iR2/orahome/rdbms/demo 
-I/Users/oracle/9iR2/orahome/rdbms/public -I/Users/oracle/9iR2/orahome/plsql/public 
-I/Users/oracle/9iR2/orahome/network/public -I/Users/oracle/9iR2/orahome/rdbms/demo 
-I/Users/oracle/9iR2/orahome/rdbms/demo -I/Library/Perl/darwin/auto/DBI -pipe 
-fno-common -no-cpp-precomp -fno-strict-aliasing -O3   -DVERSION=\"1.12\" 
-DXS_VERSION=\"1.12\"  "-I/Library/Perl/darwin/CORE"   DBD_ORA_OBJ.c
Warning: Oracle 
build rule discovery failed (512)
Oracle oci build prolog:
        make: *** No rule 
to make target `/Users/oracle/9iR2/orahome/lib/libwtc9.so', needed by 
`/Users/oracle/9iR2/orahome/lib/libclntsh.dylib'.  Stop.
Oracle oci build command:

Use of uninitialized value in substitution (s///) at Makefile.PL line 303.
Use of 
uninitialized value in substitution (s///) at Makefile.PL line 308.
Use of 
uninitialized value in substitution (s///) at Makefile.PL line 309.
Use of 
uninitialized value in substitution (s///) at Makefile.PL line 310.

Use of 
uninitialized value in substitution (s///) at Makefile.PL line 333.
Use of 
uninitialized value in concatenation (.) or string at Makefile.PL line 383.
Use of 
uninitialized value in concatenation (.) or string at Makefile.PL line 384.

System: 
perl5.008 darwin impp-131.infomania.com 6.0 darwin kernel version 6.0: sat jul 27 
13:18:52 pdt 2002; root:xnuxnu-344.obj~1release_ppc power macintosh powerpc 
Compiler: 
  cc -O3 -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing
Linker:     
/usr/bin/ld
Sysliblist:  -ldl -lpoll -lm -lpthread  
Oracle makefiles would have used 
these definitions but we override them:
  CC:       cc

  CFLAGS:   $(GFLAG) 
$(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
        $(SHARED_CFLAG) $(USRFLAGS)
       
    [$(GFLAG) -O3 $(CDEBUG) $(CCFLAGS) -I/Users/oracle/9iR2/orahome/rdbms/demo 
-I/Users/oracle/9iR2/orahome/rdbms/public -I/Users/oracle/9iR2/orahome/plsql/public 
-I/Users/oracle/9iR2/orahome/network/public -DMAC_OSX -D_GNU_SOURCE -DSLTS_ENABLE 
-DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS $(LPFLAGS) $(USRFLAGS)]

  LDFLAGS:  -o $@ 
$(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)stubs/
     
      [-o $@ -L/Users/oracle/9iR2/orahome/rdbms/lib/ -L$(LIBHOME) -L$(LIBHOME)stubs/]


Linking with OTHERLDFLAGS =  [from 'build' rule]


Use of uninitialized value in 
concatenation (.) or string at Makefile.PL line 1129.
LD_RUN_PATH=/Users/oracle/9iR2/orahome/lib:/Users/oracle/9iR2/orahome/rdbms/lib
Using 
DBD::Oracle 1.12.
Using DBD::Oracle 1.12.
Multiple copies of Driver.xst found in: 
/Library/Perl/darwin/auto/DBI /Library/Perl/darwin/auto/DBI at Makefile.PL line 1136
Using DBI 1.30 installed in /Library/Perl/darwin/auto/DBI
Writing Makefile for 
DBD::Oracle

***  If you have problems...
     read all the log printed above, and the 
README and README.help files.
     (Of course, you have read README by now anyway, 
haven't you?)


Attachment: Perl.txt
Description: application/applefile

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
  
  osname=darwin, osvers=6.0, archname=darwin
    uname='darwin impp-131.infomania.com 
6.0 darwin kernel version 6.0: sat jul 27 13:18:52 pdt 2002; 
root:xnuxnu-344.obj~1release_ppc power macintosh powerpc '
    config_args='-de'
    
hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef 
use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define 
d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef 
use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  
Compiler:
    cc='cc', ccflags ='-pipe -fno-common -no-cpp-precomp 
-fno-strict-aliasing',
    optimize='-O3',
    cppflags='-no-cpp-precomp -pipe 
-fno-common -no-cpp-precomp -fno-strict-aliasing'
    ccversion='', gccversion='3.1 
20020420 (prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, 
doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, 
longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', 
ldflags =' -flat_namespace'
    libpth=/usr/lib
    libs=-lm -lc
    perllibs=-lm -lc
 
   libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
    
gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dyld.xs, dlext=bundle, 
d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -flat_namespace -bundle 
-undefined suppress'


Characteristics of this binary (from libperl): 
  Compile-time 
options: USE_LARGE_FILES
  Built under darwin
  Compiled at Aug 29 2002 17:03:25
  
@INC:
    /Library/Perl/darwin
    /Library/Perl
    /Library/Perl/darwin
    
/Library/Perl
    /Library/Perl
    /Network/Library/Perl/darwin
    
/Network/Library/Perl
    /Network/Library/Perl
    .

Reply via email to