Ok, I'm down to going through the Makefile.PL to see if I can figure out why
this is failing.
Can anyone tell me if it would help to purchase Pro*C?
Tracy
-----Original Message-----
From: Roper, Tracy D.
Sent: Tuesday, March 27, 2001 5:18 PM
To: Roper, Tracy D.; '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Oracle Problems
Further research shows that this make command ends with the following
result:
make -f /u01/oracle/OraHome1/rdbms/demo/demo_rdbms.mk build EXE=DBD_ORA_EXE
OBJS=DBD_ORA
_OBJ.o
Make: Don't know how to make DBD_ORA_OBJ.o. Stop.
Thought this might give more direction.
Tracy
-----Original Message-----
From: Roper, Tracy D.
Sent: Monday, March 26, 2001 11:31 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: DBD: Oracle Problems
I am running Oracle 8i Enterprise (8.1.7.0.0) on a DEC Alpha Tru64 Unix
platform.
perl, v5.6.0 built for alpha-dec_osf
DBI 1.14
All of that tested and installed fine.
I have been fighting this install for a couple of weeks now. I have tried
every option mentioned in the README files for the DBD install and have
surfed extensively for answers. No luck so far though.
Tracy
perl Makefile.PL -V
stderr output
Warning: Oracle build rule discovery failed (256)
Potential libraries are '-L/u01/oracle/OraHome1/lib/ -lclntsh -lc':
'-lclntsh' found at /u01/oracle/OraHome1/lib//libclntsh.so.8.0
c not found in /u01/oracle/OraHome1/lib/
c not found in /usr/local/lib
'-lc' found at /usr/shlib/libc.so
makefile.log
Using DBI 1.14 installed in
/usr/local/lib/perl5/site_perl/5.6.0/alpha-dec_osf/auto/DBI
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in /u01/oracle/OraHome1
Found /u01/oracle/OraHome1/rdbms/demo/demo_rdbms.mk
Found /u01/oracle/OraHome1/otrace/demo/atmoci.mk
Using /u01/oracle/OraHome1/rdbms/demo/demo_rdbms.mk
Reading /u01/oracle/OraHome1/rdbms/demo/demo_rdbms.mk.
Reading /u01/oracle/OraHome1/rdbms/lib/env_rdbms.mk.
Read a total of 2186 lines from /u01/oracle/OraHome1/rdbms/lib/env_rdbms.mk
(including inclusions)
Read a total of 2391 lines from
/u01/oracle/OraHome1/rdbms/demo/demo_rdbms.mk (including inclusions)
Deleted SHELL definition: SHELL=/bin/sh
Deleted LIB_EXT definition: LIB_EXT=a
Deleted OBJ_EXT definition: OBJ_EXT=o
Deleted AR definition: AR=ar
Deleted AS definition: AS=as
Deleted CC definition: CC=cc
Deleted CHMOD definition: CHMOD=chmod
Deleted CPP definition: CPP=cpp
Deleted ECHO definition: ECHO=echo
Deleted LD definition: LD=ld
Deleted PERL definition: PERL=perl
Deleted CFLAGS definition: CFLAGS=$(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS)
$(QACCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
Deleted LDFLAGS definition: LDFLAGS=-o $@ $(LDPATHFLAG)$(PRODLIBHOME)
$(LDPATHFLAG)$(LIBHOME)
STATIC_ORACLETTLIBS macro redefined by Oracle
from $(KPUADEF) $(NTZEOBJ) $(NETLIBS) $(LIBRDBMS_CLT) \
$(LIBMM) $(CORELIBS) $(NETLIBS) $(LIBRDBMS_CLT) $(LIBPLS_CLT) \
$(LIBEPC) $(CORELIBS) $(LIBRDBMS_CLT) $(CORELIBS)
to $(LLIBCLNTST) $(LDFLAGSLIST)
LMAKE macro redefined by Oracle
from make
to /bin/make
MAKE macro redefined by Oracle
from $(LMAKE)
to /bin/make
FIND macro redefined by Oracle
from find
to /bin/find
Deleted CCFLAGS definition: CCFLAGS=$(GEMC_FLAGS) $(ANSI_C) -DOSF1 -DA_OSF
-readonly_strings -ieee -noansi_alias -D_INTRINSICS $(DTKFLAGS) $(OM_FLAGS)
CPP macro redefined by Oracle
from cpp
to $(CC) -E $(CCFLAGS)
Deleted CPP definition: CPP=$(CC) -E $(CCFLAGS)
Deleted OPTIMIZE definition: OPTIMIZE=$(CDEBUG?:-O3 -fast -fp_reorder
-U_FASTMATH)
DOAR macro redefined by Oracle
from $(ARCREATE) $@ $? $(RANLIB)
to $(AR) cr$(ARLOCAL) $(LIB) $(OBJS)
Deleted PERL definition: PERL = perl
LINK macro redefined by Oracle
from $(LDCCOM)
to $(CC) $(GFLAG) $(CDEBUG) $(CCFLAGS) $(LDFLAGS) -rpath
$(ORACLE_HOME)/lib
Deleted ASFLAGS definition: ASFLAGS=$(CDEBUG)
AS macro redefined by Oracle
from as
to as
Deleted AS definition: AS=as
Deleted LD definition: LD=ld
LDFLAGS macro redefined by Oracle
from -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
to $(LDOPTIMIZE) $(SHARED_FLAG) -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME)
$(NO_STRIP_EXE?:-s)
Deleted LDFLAGS definition: LDFLAGS = $(LDOPTIMIZE) $(SHARED_FLAG) -o $@
$(PRODUCT_LIBHOME) -L$(LIBHOME) $(NO_STRIP_EXE?:-s)
LDCCOM macro redefined by Oracle
from $(PURECMDS) $(CC) $(GFLAG) $(CCFLAGS) $(EXOSFLAGS) $(LDFLAGS)
to $(CC) $(GFLAG) $(CDEBUG) $(CCFLAGS) $(LDFLAGS) -rpath
$(ORACLE_HOME)/lib
STATICTTLIBS macro redefined by Oracle
from $(ORACLETTLIBS) $(LDLIBS)
to $(SLTSSTUB) $(KPUADEF) \
$(NETLIBS) $(LLIBRDBMS_CLT) $(LLIBMM) $(CORELIBS)\
$(LLIBRDBMS_CLT) $(LIBPLS_CLT) $(NETLIBS) $(NETLIBS) \
$(LLIBEPC) $(CORELIBS) $(LLIBRDBMS_CLT) $(CORELIBS) $(LDLIBS)
TTLIBS macro redefined by Oracle
from $(LLIBCLNTSH) $(STATICTTLIBS)
to $(NAETTOBJS) $(STATICTTLIBS)
LINKTTLIBS macro redefined by Oracle
from $(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS)
to $(TTLIBS)
CCC macro redefined by Oracle
from CC
to /bin/cxx -x cxx -DA_OSF
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.
Deleted ORA_NLS definition: ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data/
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.
Deleted ORA_NLS33 definition: ORA_NLS33 =
$(ORACLE_HOME)/ocommon/nls/admin/data/
Deleted SHELL definition: SHELL=/bin/sh
Deleted LIB_EXT definition: LIB_EXT=a
Deleted OBJ_EXT definition: OBJ_EXT=o
Deleted AR definition: AR=ar
AS macro redefined by Oracle
from as
to as
Deleted AS definition: AS=as
Deleted CC definition: CC=cc
CCC macro redefined by Oracle
from /bin/cxx -x cxx -DA_OSF
to CC
Deleted CHMOD definition: CHMOD=chmod
CPP macro redefined by Oracle
from $(CC) -E $(CCFLAGS)
to cpp
Deleted CPP definition: CPP=cpp
Deleted ECHO definition: ECHO=echo
FIND macro redefined by Oracle
from /bin/find
to find
Deleted LD definition: LD=ld
LMAKE macro redefined by Oracle
from /bin/make
to make
Deleted PERL definition: PERL=perl
DOAR macro redefined by Oracle
from $(AR) cr$(ARLOCAL) $(LIB) $(OBJS)
to $(ARCREATE) $@ $? $(RANLIB)
MAKE macro redefined by Oracle
from /bin/make
to $(LMAKE)
Deleted CFLAGS definition: CFLAGS=$(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS)
$(QACCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
LDCCOM macro redefined by Oracle
from $(CC) $(GFLAG) $(CDEBUG) $(CCFLAGS) $(LDFLAGS) -rpath
$(ORACLE_HOME)/lib
to $(PURECMDS) $(CC) $(GFLAG) $(CCFLAGS) $(EXOSFLAGS) $(LDFLAGS)
LINK macro redefined by Oracle
from $(CC) $(GFLAG) $(CDEBUG) $(CCFLAGS) $(LDFLAGS) -rpath
$(ORACLE_HOME)/lib
to $(LDCCOM)
LDFLAGS macro redefined by Oracle
from $(LDOPTIMIZE) $(SHARED_FLAG) -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME)
$(NO_STRIP_EXE?:-s)
to -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
Deleted LDFLAGS definition: LDFLAGS=-o $@ $(LDPATHFLAG)$(PRODLIBHOME)
$(LDPATHFLAG)$(LIBHOME)
STATICTTLIBS macro redefined by Oracle
from $(SLTSSTUB) $(KPUADEF) \
$(NETLIBS) $(LLIBRDBMS_CLT) $(LLIBMM) $(CORELIBS)\
$(LLIBRDBMS_CLT) $(LIBPLS_CLT) $(NETLIBS) $(NETLIBS) \
$(LLIBEPC) $(CORELIBS) $(LLIBRDBMS_CLT) $(CORELIBS) $(LDLIBS)
to $(ORACLETTLIBS) $(LDLIBS)
TTLIBS macro redefined by Oracle
from $(NAETTOBJS) $(STATICTTLIBS)
to $(LLIBCLNTSH) $(STATICTTLIBS)
LINKTTLIBS macro redefined by Oracle
from $(TTLIBS)
to $(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS)
STATIC_ORACLETTLIBS macro redefined by Oracle
from $(LLIBCLNTST) $(LDFLAGSLIST)
to $(KPUADEF) $(NTZEOBJ) $(NETLIBS) $(LIBRDBMS_CLT) \
$(LIBMM) $(CORELIBS) $(NETLIBS) $(LIBRDBMS_CLT) $(LIBPLS_CLT) \
$(LIBEPC) $(CORELIBS) $(LIBRDBMS_CLT) $(CORELIBS)
STATIC_ORACLETTLIBS macro redefined by Oracle
from $(KPUADEF) $(NTZEOBJ) $(NETLIBS) $(LIBRDBMS_CLT) \
$(LIBMM) $(CORELIBS) $(NETLIBS) $(LIBRDBMS_CLT) $(LIBPLS_CLT) \
$(LIBEPC) $(CORELIBS) $(LIBRDBMS_CLT) $(CORELIBS)
to $(LLIBCLNTST) $(LDFLAGSLIST)
LMAKE macro redefined by Oracle
from make
to /bin/make
MAKE macro redefined by Oracle
from $(LMAKE)
to /bin/make
FIND macro redefined by Oracle
from find
to /bin/find
Deleted CCFLAGS definition: CCFLAGS=$(GEMC_FLAGS) $(ANSI_C) -DOSF1 -DA_OSF
-readonly_strings -ieee -noansi_alias -D_INTRINSICS $(DTKFLAGS) $(OM_FLAGS)
CPP macro redefined by Oracle
from cpp
to $(CC) -E $(CCFLAGS)
Deleted CPP definition: CPP=$(CC) -E $(CCFLAGS)
Deleted OPTIMIZE definition: OPTIMIZE=$(CDEBUG?:-O3 -fast -fp_reorder
-U_FASTMATH)
DOAR macro redefined by Oracle
from $(ARCREATE) $@ $? $(RANLIB)
to $(AR) cr$(ARLOCAL) $(LIB) $(OBJS)
Deleted PERL definition: PERL = perl
LINK macro redefined by Oracle
from $(LDCCOM)
to $(CC) $(GFLAG) $(CDEBUG) $(CCFLAGS) $(LDFLAGS) -rpath
$(ORACLE_HOME)/lib
Deleted ASFLAGS definition: ASFLAGS=$(CDEBUG)
AS macro redefined by Oracle
from as
to as
Deleted AS definition: AS=as
Deleted LD definition: LD=ld
LDFLAGS macro redefined by Oracle
from -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
to $(LDOPTIMIZE) $(SHARED_FLAG) -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME)
$(NO_STRIP_EXE?:-s)
Deleted LDFLAGS definition: LDFLAGS = $(LDOPTIMIZE) $(SHARED_FLAG) -o $@
$(PRODUCT_LIBHOME) -L$(LIBHOME) $(NO_STRIP_EXE?:-s)
LDCCOM macro redefined by Oracle
from $(PURECMDS) $(CC) $(GFLAG) $(CCFLAGS) $(EXOSFLAGS) $(LDFLAGS)
to $(CC) $(GFLAG) $(CDEBUG) $(CCFLAGS) $(LDFLAGS) -rpath
$(ORACLE_HOME)/lib
STATICTTLIBS macro redefined by Oracle
from $(ORACLETTLIBS) $(LDLIBS)
to $(SLTSSTUB) $(KPUADEF) \
$(NETLIBS) $(LLIBRDBMS_CLT) $(LLIBMM) $(CORELIBS)\
$(LLIBRDBMS_CLT) $(LIBPLS_CLT) $(NETLIBS) $(NETLIBS) \
$(LLIBEPC) $(CORELIBS) $(LLIBRDBMS_CLT) $(CORELIBS) $(LDLIBS)
TTLIBS macro redefined by Oracle
from $(LLIBCLNTSH) $(STATICTTLIBS)
to $(NAETTOBJS) $(STATICTTLIBS)
LINKTTLIBS macro redefined by Oracle
from $(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS)
to $(TTLIBS)
CCC macro redefined by Oracle
from CC
to /bin/cxx -x cxx -DA_OSF
LIBNTOD macro redefined by Oracle
from $(NETWORKLIB)$(LIB_PREFIX)$(DCENAME).$(LIB_EXT)
to $(LIBHOME)$(LIB_PREFIX)$(DCENAME).$(LIB_EXT)
LIBCDS macro redefined by Oracle
from $(NETWORKLIB)$(LIB_PREFIX)$(CDSNAME).$(LIB_EXT)
to $(LIBHOME)$(LIB_PREFIX)$(CDSNAME).$(LIB_EXT)
LIBNTLU62 macro redefined by Oracle
from $(NETWORKLIB)$(LIB_PREFIX)$(LU62NAME).$(LIB_EXT)
to $(LIBHOME)$(LIB_PREFIX)$(LU62NAME).$(LIB_EXT)
LIBNTS macro redefined by Oracle
from $(NETWORKLIB)$(LIB_PREFIX)$(SPXNAME).$(LIB_EXT)
to $(LIBHOME)$(LIB_PREFIX)$(SPXNAME).$(LIB_EXT)
LIBNETWORK macro redefined by Oracle
from $(NETWORKLIB)$(LIB_PREFIX)$(COMMONNAME).$(LIB_EXT)
to $(LIBHOME)$(LIB_PREFIX)$(COMMONNAME).$(LIB_EXT)
LIBNSGR macro redefined by Oracle
from $(NETWORKLIB)$(LIB_PREFIX)$(NSGRNAME).$(LIB_EXT)
to $(LIBHOME)$(LIB_PREFIX)$(NSGRNAME).$(LIB_EXT)
LIBNTP macro redefined by Oracle
from $(NETWORKLIB)$(LIB_PREFIX)$(BEQNAME).$(LIB_EXT)
to $(LIBHOME)$(LIB_PREFIX)$(BEQNAME).$(LIB_EXT)
LIBNL macro redefined by Oracle
from $(NETWORKLIB)$(LIB_PREFIX)$(NLNAME).$(LIB_EXT)
to $(LIBHOME)$(LIB_PREFIX)$(NLNAME).$(LIB_EXT)
LIBSSLB macro redefined by Oracle
from $(NETWORKLIB)$(LIB_PREFIX)$(SSLBNAME).$(LIB_EXT)
to $(LIBHOME)$(LIB_PREFIX)$(SSLBNAME).$(LIB_EXT)
Deleted VERSION definition: VERSION=8
TOP macro redefined by Oracle
from $(ORACLE_HOME)/precomp
to $(ORACLE_HOME)/slax
Deleted VERSION definition: VERSION=8
Deleted VERSION definition: VERSION=8
Deleted VERSION definition: VERSION=8
LLIBORDSDO macro redefined by Oracle
from $(LDLIBFLAG)$(LIB_PREFIX)$(LIBORDSDONAME).$(LIB_EXT)
to $(LDLIBFLAG)$(LIBORDSDONAME)$(LIB_SUFFIX)
LDFLAGSLIST macro redefined by Oracle
from `$(CAT) $(LDFLAGSFILE)`
to `$(SED) -e 's/-ljava//g' $(LDFLAGSFILE)`
LDFLAGSLIST macro redefined by Oracle
from `$(SED) -e 's/-ljava//g' $(LDFLAGSFILE)`
to `$(CAT) $(LDFLAGSFILE)`
STATICTTLIBS macro redefined by Oracle
from $(SLTSSTUB) $(KPUADEF) \
$(NETLIBS) $(LLIBRDBMS_CLT) $(LLIBMM) $(CORELIBS)\
$(LLIBRDBMS_CLT) $(LIBPLS_CLT) $(NETLIBS) $(NETLIBS) \
$(LLIBEPC) $(CORELIBS) $(LLIBRDBMS_CLT) $(CORELIBS) $(LDLIBS)
to $(SLTSSTUB) $(KPUADEF) \
$(LLIBNZJS) $(NETLIBS) $(LLIBRDBMS_CLT) $(LLIBMM) $(CORELIBS)\
$(LLIBRDBMS_CLT) $(LIBPLS_CLT) $(NETLIBS) $(NETLIBS) \
$(LLIBMM) $(LLIBEPC) $(CORELIBS) $(LLIBRDBMS_CLT) $(CORELIBS)
$(LDLIBS)
OCISTATICLIBS macro redefined by Oracle
from $(STATICTTLIBS) $(LLIBTHREAD)
to $(NAETTOBJS) $(STATICTTLIBS) $(LLIBTHREAD)
SKGXND macro redefined by Oracle
from $(RDBMSLIB)skgxnd.$(OBJ_EXT)
to $(SKGXNS)
LIBDLM macro redefined by Oracle
from $(SKGXN) $(LIBHOME)$(LIB_PREFIX)$(LIBDLMNAME).$(LIB_EXT)
to $(CLUSTERDIR)libdlm.$(LIB_EXT)
LLIBDLM macro redefined by Oracle
from $(SKGXN) $(LDLIBFLAG)$(LIBDLMNAME)
to $(SKGXN) -ldlm -lcnx -lssn
ORACLE_LINKLINE macro redefined by Oracle
from $(LINK) $(PL_FLAGS) $(ORAMAI) $(SSORED) $(TTCSOI) $(KPUASVR)\
$(NAETTOBJS) $(CONFIG) $(SPOBJS) $(LLIBSERVER) $(LLIBSKGXP) \
$(LLIBRDBMS_SERVER) $(DEF_OPT) $(LLIBKNLOPT) $(LLIBSLAX)
$(LLIBPLSQL) \
$(LLIBSERVER) $(LLIBRDBMS_SERVER) $(LLIBKNLOPT) $(LLIBSLAX) \
$(LLIBPLSQL) $(NMLIBS) $(LLIBICX) $(LLIBOWSUTL) $(LLIBJAVAVMORJOX) \
$(LLIBWWG) $(LLIBOBK) $(ORACLETTLIBS1) $(LLIBSERVER) $(SDOLIBS) \
$(CARTLIBS) $(CORELIBS) $(LINKLDLIBS) $(PL_ORALIBS)
to $(LDCCOM_ORA) $(PL_FLAGS) $(ORAMAI) $(SSORED) $(TTCSOI) \
$(KPUASVR)\
$(NAETTOBJS) $(CONFIG) $(SPOBJS) $(LLIBSERVER) $(LLIBSKGXP) \
$(LLIBRDBMS_SERVER) $(DEF_OPT) $(LLIBKNLOPT) $(LLIBSLAX)
$(LLIBPLSQL) \
$(LLIBSERVER) $(LLIBRDBMS_SERVER) $(LLIBKNLOPT) $(LLIBSLAX) \
$(LLIBPLSQL) $(NMLIBS) $(LLIBICX) $(LLIBOWSUTL) $(LLIBJAVAVMORJOX) \
$(LLIBWWG) $(LLIBOBK) \
$(STATICTTLIBS_ORA) $(LLIBSERVER) $(SDOLIBS) $(CARTLIBS) $(CORELIBS)
\
$(LINKLDLIBS)
SVRMGRL_LINKLINE macro redefined by Oracle
from $(LINK) $(LLIBSVRM) $(DEF_OPT) $(LLIBCLIENT) $(LLIBWTC) $(LLIBSQL) \
$(LINKTTLIBS) $(CLNTLDFLAGSLIST)
to $(LINK) $(PL_FLAGS) $(LLIBSVRM) $(DEF_OPT) $(LLIBCLIENT)\
$(LLIBWTC) $(LLIBSQL) $(LINKTTLIBS) $(CLNTLDFLAGSLIST)
EXTPROC_LINKLINE macro redefined by Oracle
from $(LINK) $(OPT) $(EXTPMAI) $(PROD_EXTPROC_OPT) \
$(HSALIB_SUBSET1) $(PROD_EXTPROC_LIBS) $(HSALIB_SUBSET2)
to (USE_PTHREAD=T; export USE_PTHREAD;\
$(LINK) $(EXTPMAI) $(DEF_OPT) $(HSAGTSHC) $(SSDBED) \
$(LIBAGENT) $(LLIBPLSQL) $(CORELIBS) \
$(TTLIBS) $(LLIBSQL) $(CORELIBS))
AGTCTL_LINKLINE macro redefined by Oracle
from $(LINK) $(OPT) $(AGTCLMAI) $(HSALIB_SUBSET1) \
$(AGTCLSUR) $(HSALIB_SUBSET2)
to (USE_PTHREAD=T; export USE_PTHREAD;\
$(LINK) $(AGTCLMAI) $(DEF_OPT) $(SSDBED) $(AGTCLSUR) \
$(HSAGTSHC) $(LIBAGENT) $(CORELIBS) \
$(TTLIBS) $(LLIBSQL) $(CORELIBS))
HSALLOCI_LINKLINE macro redefined by Oracle
from $(LINK) $(OPT) $(HSALLMAI) $(HSALIB_SUBSET1) \
$(HS_OCI_DRIVER) $(HS_XASWITCH_ORA) $(RDBMSLIB)$(XAD_OFF) \
$(HSALIB_SUBSET2)
to (USE_PTHREAD=T; export USE_PTHREAD;\
$(LINK) $(OPT) $(HSALLMAI) $(DEF_OPT) $(HSAGTSHC) $(SSDBED) \
$(HS_OCI_DRIVER) $(HS_XASWITCH_ORA) $(RDBMSLIB)$(XAD_OFF) \
$(LIBAGENT) $(LLIBPLSQL) $(CORELIBS) \
$(TTLIBS) $(LLIBSQL) $(CORELIBS))
HSDEPXA_LINKLINE macro redefined by Oracle
from $(LINK) $(OPT) $(HSDEPMAI) $(HSALIB_SUBSET1) \
$(HS_DEP_DRIVER) $(RDBMSLIB)$(XAD_OFF) \
$(HSALIB_SUBSET2)
to (USE_PTHREAD=T; export USE_PTHREAD;\
$(LINK) $(OPT) $(HSDEPMAI) $(DEF_OPT) $(HSAGTSHC) $(SSDBED) \
$(HS_DEP_DRIVER) $(RDBMSLIB)$(XAD_OFF) \
$(LIBAGENT) $(LLIBPLSQL) $(CORELIBS) \
$(TTLIBS) $(LLIBSQL) $(CORELIBS))
HSOTS_LINKLINE macro redefined by Oracle
from $(LINK) $(OPT) $(HSOTSMAI) $(HSALIB_SUBSET1) \
$(HS_OTS_DRIVER) $(HS_XASWITCH_ORA) $(RDBMSLIB)$(XAD_OFF) \
$(HSALIB_SUBSET2)
to (USE_PTHREAD=T; export USE_PTHREAD;\
$(LINK) $(OPT) $(HSOTSMAI) $(DEF_OPT) $(HSAGTSHC) $(SSDBED) \
$(HS_OTS_DRIVER) $(HS_XASWITCH_ORA) $(RDBMSLIB)$(XAD_OFF) \
$(LIBAGENT) $(LLIBPLSQL) $(CORELIBS) \
$(TTLIBS) $(LLIBSQL) $(CORELIBS))
IMAGEEXE_LINKLINE macro redefined by Oracle
from $(LINK) $(OPT) $(IMAGEOBJS) $(SSDBED) $(DEF_OPT) \
$(LLIBOBK) $(SQLLIBS) $(LIBDBTOOLS) $(LINKTTLIBS) $(THREADLIBS)
to if [ "$(SHARED_FLAG)" ]; then \
$(LDCCOM) $(OPT) $(IMAGEOBJS) \
$(LLIBCLNTSH);\
else\
$(LDCCOM) $(OPT) $(IMAGEOBJS) $(SSDBED) $(DEF_OPT) \
$(LLIBOBK) \
$(LIBDBTOOLS) $(TTLIBS) -lldapclnt8 -lnldap8 $(AXOPTS) \
$(SQLLIBS) -lpls8 $(LLIBRDBMS_CLT) $(CORELIBS) $(THREADLIBS);\
fi;
MIG_LINKLINE macro redefined by Oracle
from $(LINK) $(OPT) $(MIGMAI) $(SSDBED) $(DEF_OPT) $(NAETTOBJS) \
$(LIBDBTOOLS) $(ORACLETTLIBS) $(LINKLDLIBS) $(CLNTLDFLAGSLIST)
to $(LINK) $(PL_FLAGS) $(OPT) $(MIGMAI) $(SLTSSTUB) $(SSDBED) $(DEF_OPT)
$(NAETTOBJS) \
$(LIBDBTOOLS) $(ORACLETTLIBS) $(LINKLDLIBS) $(CLNTLDFLAGSLIST)
LOADPSP_LINKLINE macro redefined by Oracle
from $(LINK) $(OPT) $(LOADPSPMAI) $(LIBDBTOOLS) $(LINKTTLIBS)
to $(LINK) $(OPT) $(LOADPSPMAI) $(DEF_OPT) $(LIBDBTOOLS) $(LINKTTLIBS)
SBTTEST_LINKLINE macro redefined by Oracle
from $(LINK) $(S0MAIN) $(SSKRSED) $(SKRSPT) $(DEF_OPT) \
$(SHAREDLIBPATH) $(LLIBOBK) $(LIBDBTOOLS) $(LINKTTLIBS)
to $(LINK) $(S0MAIN) $(SSKRSED) $(SKRSPT) $(DEF_OPT) \
$(SHAREDLIBPATH) $(LIBDBTOOLS) $(LLIBOBK) $(LINKTTLIBS_SBT)
SCN_LINKLINE macro redefined by Oracle
from $(LINK) $(SCNMAI) $(LIBDBTOOLS) $(LINKTTLIBS) $(LLIBTHREAD)
to (USE_PTHREAD=T;export USE_PTHREAD;$(LINK) $(SCNMAI) $(LIBDBTOOLS)
$(DEF_OPT) $(LINKTTLIBS) $(LLIBTHREAD))
CONFIG_COMPILE_LINE macro redefined by Oracle
from $(AS) -P config.s
to $(CC) -c config.c
LINKSTLIBS macro redefined by Oracle
from $(ORACLESTLIBS) $(LINKLDLIBS)
to $(SLTSSTUB) $(ORACLESTLIBS) $(LINKLDLIBS)
OCISHAREDLIBS macro redefined by Oracle
from $(TTLIBS) $(LLIBTHREAD)
to $(LLIBCLNTSH) -lc
LDFLAGS macro redefined by Oracle
from $(LDOPTIMIZE) $(SHARED_FLAG) -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME)
$(NO_STRIP_EXE?:-s)
to -L$(LIBHOME) -L$(RDBMSLIB)
Deleted LDFLAGS definition: LDFLAGS=-L$(LIBHOME) -L$(RDBMSLIB)
ARRAY(0x14038e890)
make -f /u01/oracle/OraHome1/rdbms/demo/demo_rdbms.mk build ECHODO=true
ECHO=echo GENCLNTSH='echo genclntsh' EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o
Discovering Oracle OCI build rules...
by executing:
make -f /u01/oracle/OraHome1/rdbms/demo/demo_rdbms.mk build ECHODO=true
ECHO=echo GENCLNTSH='echo genclntsh' EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o
Oracle oci build command:
cc -L/u01/oracle/OraHome1/lib/ -L/u01/oracle/OraHome1/rdbms/lib/ -o
DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh -lc
ld:
Can't read file: DBD_ORA_OBJ.o (Error 0)
*** Exit 1
Stop.
Unable to interpret Oracle oci build commands. Using fallback approach.
Found rdbms/demo/oratypes.h
Found rdbms/demo/oci8dp.h
Found rdbms/demo/ociapr.h
Found rdbms/demo/ocidef.h
Found rdbms/demo/ocidem.h
Found rdbms/demo/ocidfn.h
Found rdbms/demo/ocikpr.h
Found header files in rdbms/demo.
System: perl5.006 osf1 cs02im.mcit.com v4.0 878 alpha
Compiler: cc -O4 -std -fprm d -ieee -D_INTRINSICS -DLANGUAGE_C
Linker: /bin/ld
Oracle makefiles would have used these definitions but we override them:
CC: cc
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS)
$(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
[$(GFLAG) -O3 -fast -fp_reorder -U_FASTMATH -O3 -fast -fp_reorder
-U_FASTMATH $(GEMC_FLAGS) -std1 -DOSF1 -DA_OSF -readonly_strings -ieee
-noansi_alias -D_INTRINSICS -DARCH_EV56 -arch ev56 -tune ev6 $(QACCFLAGS)
-I/u01/oracle/OraHome1/rdbms/demo -I/u01/oracle/OraHome1/rdbms/public
-I/u01/oracle/OraHome1/plsql/public -I/u01/oracle/OraHome1/network/public
$(LPFLAGS) $(SHARED_CFLAG) $(USRFLAGS)]
build: $(CC) $(LDFLAGS) -o $(EXE) $(OBJS) $(OCISHAREDLIBS)
[ cc -L$(LIBHOME) -L/u01/oracle/OraHome1/rdbms/lib/ -o $(EXE)
$(OBJS) -lclntsh -lc]
LDFLAGS: -L$(LIBHOME) -L$(RDBMSLIB)
[-L$(LIBHOME) -L/u01/oracle/OraHome1/rdbms/lib/]
Linking with /u01/oracle/OraHome1/rdbms/lib/ssdbaed.o
/u01/oracle/OraHome1/rdbms/lib/defopt.o -lclntsh -lc [from $(SSDBED)
$(DEF_OPT) $(OCISHAREDLIBS)]
MakeMaker (v5.4302)
Checking if your kit is complete...
Looks good
ABSTRACT_FROM => q[Oracle.pm]
AUTHOR => q[Tim Bunce ([EMAIL PROTECTED])]
DEFINE => q[]
DIR => []
EXE_FILES => [q[ora_explain]]
INC => q[$(I_SYM)$(ORACLE_HOME)/rdbms/demo
$(I_SYM)$(ORACLE_HOME)/rdbms/public $(I_SYM)$(ORACLE_HOME)/plsql/public
$(I_SYM)$(ORACLE_HOME)/network/public -I/u01/oracle/OraHome1/rdbms/demo
-I/u01/oracle/OraHome1/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.6.0/alpha-dec_osf/auto/DBI]
LIBS => [q[-L/u01/oracle/OraHome1/lib/ -lclntsh -lc]]
NAME => q[DBD::Oracle]
OBJECT => q[$(O_FILES)]
PREREQ_PM => { DBI=>q[0] }
VERSION_FROM => q[Oracle.pm]
clean => { FILES=>q[Oracle.xsi dll.base dll.exp sqlnet.log
libOracle.def ora_explain] }
dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist],
PREOP=>q[$(MAKE) -f Makefile.old distdir], COMPRESS=>q[gzip -v9],
SUFFIX=>q[gz] }
dynamic_lib => { OTHERLDFLAGS=>q[
/u01/oracle/OraHome1/rdbms/lib/ssdbaed.o
/u01/oracle/OraHome1/rdbms/lib/defopt.o $(COMPOBJS)] }
Using PERL=/usr/local/bin/perl
Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.
Using DBD::Oracle 1.06.
Using DBI 1.14 installed in
/usr/local/lib/perl5/site_perl/5.6.0/alpha-dec_osf/auto/DBI
Writing Makefile for DBD::Oracle
make test VERBOSE=1
make test
Makefile built with ExtUtils::MakeMaker v 5.4302 Current Version is 5.45.
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.0/
alpha-dec_osf -I/usr/local/lib/perl5/5.6.0 -e 'use Test::Harness
qw(&runtests $verbose); $
verbose=1; runtests @ARGV;' t/*.t
t/base..............1..5
ok 1
ok 2
ok 3
FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/general...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/long..............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/plsql.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/reauth............ORACLE_USERID_2 not defined.
Tests skiped.
1..0
skipped test on this platform
Failed Test Status Wstat Total Fail Failed List of failed
----------------------------------------------------------------------------
---
t/base.t 5 2 40.00% 4-5
t/general.t 255 65280 ?? ?? % ??
t/long.t 255 65280 ?? ?? % ??
t/plsql.t 255 65280 ?? ?? % ??
1 test skipped.
*** Exit 25