Dear Sirs, could you help me in resolving the following error installing 
DBD under Slackware? Here is the error:

bash-2.05a# perl Makefile.PL
Using DBI 1.33 installed in 
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/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 /home/utenteOracle/OraHome1
Found header files in rdbms/demo.
Found /home/utenteOracle/OraHome1/precomp/demo/proc/demo_proc.mk
Using /home/utenteOracle/OraHome1/precomp/demo/proc/demo_proc.mk
Reading /home/utenteOracle/OraHome1/precomp/demo/proc/demo_proc.mk.
Reading /home/utenteOracle/OraHome1/precomp/lib/env_precomp.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 '-ldl' to TTLIBS

Attempting to discover Oracle OCI build rules...
cc -c  . public public demo public public 
-I/home/utenteOracle/OraHome1/rdbms/demo 
-I/home/utenteOracle/OraHome1/rdbms/demo -I/usr/l
ocal/lib/perl5/site_perl/5.8.0/i686-linux/auto/DBI -fno-strict-aliasing 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 -O3   -DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -fpic 
"-I/usr/local/lib/perl5/5.8.0/i686-linux/CORE"  -DNO_OCI8 DBD_ORA_OBJ.c
cc: public: No such file or directory
cc: public: No such file or directory
cc: demo: No such file or directory
cc: public: No such file or directory
cc: public: No such file or directory
make: *** [DBD_ORA_OBJ.o] Error 1
Oracle oci build command:
        echo -o DBD_ORA_EXE DBD_ORA_OBJ.o 
-L/home/utenteOracle/OraHome1/lib/ -lclntsh `cat 
/home/utenteOracle/OraHome1/lib/ldflags`
  `cat /home/utenteOracle/OraHome1/lib/sysliblist` -ldl -lm
        -o DBD_ORA_EXE DBD_ORA_OBJ.o -L/home/utenteOracle/OraHome1/lib/ 
-lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnssl
b9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -ldl -lm -lpthread 
-lnsl -ldl -lm
Unable to interpret Oracle oci build commands. Using fallback approach.


System: perl5.008 linux pcextsys05 2.4.18 #2 thu feb 13 11:36:28 utc 2003 
i686 unknown
Compiler:   cc -O3 -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
Linker:     /usr/bin/ld
Sysliblist: -ldl -lm -lpthread -lnsl
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) -trigraphs -fPIC -DPRECOMP -I. 
-I/home/utenteOracle/OraHome1/precomp/public -I/home/utenteOracle/
OraHome1/rdbms/public -I/home/utenteOracle/OraHome1/rdbms/demo 
-I/home/utenteOracle/OraHome1/plsql/public -I/home/utenteOracle/OraHo
me1/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 
-D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -D
NS_THREADS $(LPFLAGS) $(USRFLAGS)]

  build:     $(CC) -o $(EXE) $(OBJS) $(LDPATHFLAG)$(LIBHOME) $(PROLDLIBS)
Evaluating `cat $(LIBHOME)ldflags`
  expanded `cat /home/utenteOracle/OraHome1/lib/ldflags`
  returned '-lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9  -lnsslb9   
-lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 '
Evaluating `cat $(LIBHOME)sysliblist`
  expanded `cat /home/utenteOracle/OraHome1/lib/sysliblist`
  returned '-ldl -lm -lpthread -lnsl'
           [ cc -o $(EXE) $(OBJS) -L$(LIBHOME) -lclntsh -lnbeq9 -lnhost9 
-lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lnt
cps9 -lnsslb9 -lntcp9 -lntns9 $(EXPDLIBS) $(EXOSLIBS) -ldl -lm -lpthread 
-lnsl -ldl -lm $(USRLIBS) ]

  LDFLAGS:  -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) 
$(LDPATHFLAG)$(LIBHOME)stubs/
           [-o $@ -L/home/utenteOracle/OraHome1/precomp/lib/ -L$(LIBHOME) 
-L$(LIBHOME)stubs/]


Linking with  -L/home/utenteOracle/OraHome1/lib -lclntsh [from 
$(LIBCLNTSH)]


Use of uninitialized value in substitution (s///) at Makefile.PL line 
1124.
LD_RUN_PATH=/home/utenteOracle/OraHome1/lib:/home/utenteOracle/OraHome1/rdbms/lib
Using DBD::Oracle 1.09.
Using DBD::Oracle 1.09.
Using DBI 1.33 installed in 
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/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?)

--------------------------------------------------------------------------------------------------

Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
Skip blib/lib/DBD/Oracle.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
Skip blib/lib/oraperl.ph (unchanged)
Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
Skip blib/lib/Oraperl.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
cc -c  . public public demo public public 
-I/home/utenteOracle/OraHome1/rdbms/demo 
-I/home/utenteOracle/OraHome1/rdbms/demo -I/usr/l
ocal/lib/perl5/site_perl/5.8.0/i686-linux/auto/DBI -fno-strict-aliasing 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 -O3   -DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -fpic 
"-I/usr/local/lib/perl5/5.8.0/i686-linux/CORE"   Oracle.c
cc: public: No such file or directory
cc: public: No such file or directory
cc: demo: No such file or directory
cc: public: No such file or directory
cc: public: No such file or directory
In file included from Oracle.h:20,
                 from Oracle.xs:1:
dbdimp.h:44: ocidfn.h: No such file or directory
dbdimp.h:57: ociapr.h: No such file or directory
make: *** [Oracle.o] Error 1

Thanks for your help!

-- 
Salvatore


***************************************************************************
*
*  "Who Watches the Watchmen?"
*  
*  
*
***************************************************************************


Reply via email to