Dear All:

Is this one of the FAQs? Can someone point me to where
I can find the 'stories' of successful installation of
DBD-Oracle in Solaris 8? Should I install more later
version of Perl instead?

Thanks a lot in advance. Any response would be greatly
appreciated.

--- London Bell <[EMAIL PROTECTED]> wrote:
> Hi Everyone:
> 
> Please help! 
> 
> Here are the stuff I've installed in a SunBlade 150
> box (SunOS 5.8 Generic_108528-18 sun4u sparc SUNW)
> ...
> 
> Oracle9i Client   : 9.2.0.1.0
> Perl (ActivePerl) : 5.6.1
> PPM               : 2.1.6
> DBI               : 1.32
> 
> and I've got GCC in place as well ...
> 
> Reading specs from
>
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/specs
> Configured with: ../configure
> --with-as=/usr/local/bin/as
> --with-ld=/usr/local/bin/ld --enable-libgcj
> Thread model: posix
> gcc version 3.0.3
> 
> I've tried to install DBD-Oracle, but isn't able to.
> 
> For your references, attached are the standard
> outputs
> when I did "perl Makefile.PL" (perl-makefile.log)
> and
> then did "make" (make.log).
> 
> What am I missing? I tried "install dbd-oracle" via
> PPM but it said 
> 
> PPM> install dbd-oracle
> Install package 'dbd-oracle?' (y/N): y
> Installing package 'dbd-oracle'...
> Error installing package 'dbd-oracle': Read a PPD
> for
> 'dbd-oracle', but it is not intended for this build
> of
> Perl (sun4-solaris-thread-multi)
> 
> Thank you very much in advance!
> 
> 
> 
> 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.com> 
>
localhost:/export/home/londonbell/setup/temp/DBD-Oracle-1.12#
> perl Makefile.PL -v V
> Using DBI 1.32 installed in
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI
>   Configuring DBD::Oracle ...
>  >>>     Remember to actually *READ* the README
> file!
>         Especially if you have any problems.
>  Using Oracle in /export/home/londonbell/OraHome1
> Found rdbms/demo/oratypes.h
> Found header files in rdbms/demo.
> Found
>
/export/home/londonbell/OraHome1/precomp/demo/proc/demo_proc.mk
> Using
>
/export/home/londonbell/OraHome1/precomp/demo/proc/demo_proc.mk
> Reading
>
/export/home/londonbell/OraHome1/precomp/demo/proc/demo_proc.mk.
> Reading
>
/export/home/londonbell/OraHome1/precomp/lib/env_precomp.mk.
> Read a total of 1705 lines from
>
/export/home/londonbell/OraHome1/precomp/lib/env_precomp.mk
> (including inclusions)
> Read a total of 1891 lines from
>
/export/home/londonbell/OraHome1/precomp/demo/proc/demo_proc.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) $(PFLAGS)\
>         $(SHARED_CFLAG) $(USRFLAGS)
> Deleted LDFLAGS definition: LDFLAGS=-o $@
> $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
> LMAKE macro redefined by Oracle
>  from make
>    to /usr/ccs/bin/make
> FIND macro redefined by Oracle
>  from find
>    to /usr/local/bin/find # gnu find!
> LINK macro redefined by Oracle
>  from $(LDCCOM)
>    to $(ADE_DEL_FILE_CMD) $(PURECMDS) $(LD)
> $(LDFLAGS) -dy $(COMPSOBJS)
> LINKCC macro redefined by Oracle
>  from $(LDCCOMCC)
>    to $(ADE_DEL_FILE_CMD) $(PURECMDS) $(CCC)
> $(LDFLAGS) -norunpath -mt -nocx -dy $(COMPOBJSCC)
> LINKLDLIBS macro redefined by Oracle
>  from $(LDLIBS)
>    to $(EXPDLIBS) $(EXOSLIBS) $(SYSLIBS)
> $(LINKEXSYSLIBS) $(MATHLIB) $(USRLIBS) $(COMPEOBJS)
> COBLDLIBS macro redefined by Oracle
>  from $(LDLIBS)
>    to $(EXPDLIBS) $(EXOSLIBS) $(SYSLIBS)
> $(COBEXSYSLIBS) $(MATHLIB) $(USRLIBS)
> Deleted OPTIMIZE definition: OPTIMIZE=$(OPTIMIZE3)
> AR macro redefined by Oracle
>  from ar
>    to /usr/ccs/bin/ar
> Deleted AR definition: AR=/usr/ccs/bin/ar
> AS macro redefined by Oracle
>  from as
>    to /usr/ccs/bin/as
> Deleted AS definition: AS=/usr/ccs/bin/as
> LD macro redefined by Oracle
>  from ld
>    to /usr/ccs/bin/ld
> Deleted LD definition: LD=/usr/ccs/bin/ld
> NM macro redefined by Oracle
>  from nm
>    to /usr/ccs/bin/nm
> TR macro redefined by Oracle
>  from tr
>    to /usr/bin/tr
> CPP macro redefined by Oracle
>  from cpp
>    to $(CC) -E $(ANSI)
> Deleted CPP definition: CPP=$(CC) -E $(ANSI)
> TOUCH macro redefined by Oracle
>  from touch
>    to /bin/touch
> CHMOD macro redefined by Oracle
>  from chmod
>    to /bin/chmod
> Deleted CHMOD definition: CHMOD=/bin/chmod
> Deleted ASFLAGS definition:
> ASFLAGS=$(NOKPIC_ASFLAGS) $(KPIC_OPTION)
> Deleted CCFLAGS definition: CCFLAGS=
> $(NOKPIC_CCFLAGS) $(KPIC_OPTION)
> LIBNTVI macro redefined by Oracle
>  from $(NETWORKLIB)$(LIB_PREFIX)$(VINAME).$(SO_EXT)
>    to $(LIBHOME)$(LIB_PREFIX)$(VINAME).$(LIB_EXT)
> 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)
> 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/
> LLIBOCCI macro redefined by Oracle
>  from $(LDLIBFLAG)$(LIBOCCINAME)$(RDBMS_VERSION)
>    to $(LDLIBFLAG)$(LIBOCCINAME)
> LIBOCCI macro redefined by Oracle
>  from
>
$(LIBHOME)$(LIB_PREFIX)$(LIBOCCINAME)$(RDBMS_VERSION).$(LIB_EXT)
>    to
>
$(LIBHOME)$(LIB_PREFIX)$(LIBOCCINAME).$(SO_EXT).$(RDBMS_VERSION).0
> SHARED_LDFLAG macro redefined by Oracle
>  from -G -L$(ORACLE_HOME)/$(LIBDIR)
> -R$(ORACLE_HOME)/$(LIBDIR) -o
>    to -G -L$(SQLPLUSHOME)lib -L$(ORACLE_HOME)/lib
> -R$(ORACLE_HOME)/lib -o
> TOP macro redefined by Oracle
>  from $(ORACLE_HOME)/slax
>    to $(ORACLE_HOME)/precomp
> PRODUCT macro redefined by Oracle
>  from sqlplus
>    to precomp
> LIBPSD macro redefined by Oracle
>  from
>
$(LIBHOME)$(LIB_PREFIX)$(LIBPLCNAME)$(PLSQL_VERSION).$(LIB_EXT)
>    to
> $(PRECOMPLIB)$(LIB_PREFIX)$(LIBPSDNAME).$(LIB_EXT)
> CCFLAGS macro redefined by Oracle
>  from $(NOKPIC_CCFLAGS) $(KPIC_OPTION)
>    to $(NOKPIC_CCFLAGS) $(KPIC_OPTION) -DPRECOMP
> Deleted CCFLAGS definition:
> CCFLAGS=$(NOKPIC_CCFLAGS) $(KPIC_OPTION) -DPRECOMP
> INCLUDE macro redefined by Oracle
>  from $(PRECOMPSH) $(PLSQLPUBH) $(RDBMSPUBH)
> $(ORACOREPUBH) $(NLSRTLPUBH) \
>         $(OTRACEPUBH) $(NETWORKPUBH) $(SLAXPUBH)
> $(OTHER_H) $(I_SYM).
>    to $(I_SYM). $(I_SYM)$(PRECOMPHOME)public
> $(I_SYM)$(RDBMSHOME)public $(I_SYM)$(RDBMSHOME)demo
> $(I_SYM)$(PLSQLHOME)public
> $(I_SYM)$(NETWORKHOME)public
>  Attempting to discover Oracle OCI build rules...
> gcc   -c  DBD_ORA_OBJ.c
> by executing:
> make -f
>
/export/home/londonbell/OraHome1/precomp/demo/proc/demo_proc.mk
> build ECHODO=true ECHO=echo GENCLNTSH='echo
> genclntsh' CC=echo OPTIMIZE= CCFLAGS=
> EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o
> Oracle oci build command:
>         echo -o DBD_ORA_EXE DBD_ORA_OBJ.o
> -L/export/home/londonbell/OraHome1/lib/ -lclntsh
> `cat /export/home/londonbell/OraHome1/lib/ldflags`  
> `cat
> /export/home/londonbell/OraHome1/lib/sysliblist`
> -R/export/home/londonbell/OraHome1/lib 
=== message truncated ===> 
>
localhost:/export/home/londonbell/setup/temp/DBD-Oracle-1.12#
> make
> cp oraperl.ph blib/lib/oraperl.ph
> cp Oracle.pm blib/lib/DBD/Oracle.pm
> cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
> cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
> cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
> cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
> cp Oraperl.pm blib/lib/Oraperl.pm
> /usr/bin/perl -p -e "s/~DRIVER~/Oracle/g" <
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver.xst
> > Oracle.xsi
> /usr/bin/perl
>
-I/usr/local/ActivePerl-5.6/lib/5.6.1/sun4-solaris-thread-multi
> -I/usr/local/ActivePerl-5.6/lib/5.6.1
> /usr/local/ActivePerl-5.6/lib/5.6.1/ExtUtils/xsubpp 
> -typemap
> /usr/local/ActivePerl-5.6/lib/5.6.1/ExtUtils/typemap
> Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
> gcc -c -I.
> -I/export/home/londonbell/OraHome1/precomp/public
> -I/export/home/londonbell/OraHome1/rdbms/public
> -I/export/home/londonbell/OraHome1/rdbms/demo
> -I/export/home/londonbell/OraHome1/plsql/public
> -I/export/home/londonbell/OraHome1/network/public
> -I/export/home/londonbell/OraHome1/rdbms/demo
> -I/export/home/londonbell/OraHome1/rdbms/demo
>
-I/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI
> -DUSE_REENTRANT_API -D_POSIX_PTHREAD_SEMANTICS
> -D_REENTRANT -fno-strict-aliasing
> -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"1.12\" 
> -DXS_VERSION=\"1.12\" -fPIC
>
-I/usr/local/ActivePerl-5.6/lib/5.6.1/sun4-solaris-thread-multi/CORE
>  Oracle.c
> In file included from Oracle.h:20,
>                  from Oracle.xs:1:
> dbdimp.h:44:20: ocidfn.h: No such file or directory
> dbdimp.h:57:21: ociapr.h: No such file or directory
> In file included from Oracle.h:20,
>                  from Oracle.xs:1:
> dbdimp.h:97: parse error before "Lda_Def"
> dbdimp.h:97: warning: no semicolon at end of struct
> or union
> dbdimp.h:98: warning: data definition has no type or
> storage class
> dbdimp.h:105: parse error before '}' token
> dbdimp.h:126: parse error before "Cda_Def"
> dbdimp.h:126: warning: no semicolon at end of struct
> or union
> dbdimp.h:127: warning: data definition has no type
> or storage class
> dbdimp.h:153: parse error before '}' token
> dbdimp.h:279: parse error before "Lda_Def"
> In file included from Oracle.c:52:
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver_xst.h:
> In function `dbdxst_bind_params':
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver_xst.h:48:
> dereferencing pointer to incomplete type
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver_xst.h:49:
> dereferencing pointer to incomplete type
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver_xst.h:53:
> dereferencing pointer to incomplete type
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver_xst.h:54:
> dereferencing pointer to incomplete type
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver_xst.h:55:
> dereferencing pointer to incomplete type
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver_xst.h:
> In function `dbdxst_fetchall_arrayref':
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver_xst.h:80:
> dereferencing pointer to incomplete type
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver_xst.h:81:
> dereferencing pointer to incomplete type
>
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI/Driver_xst.h:88:
> dereferencing pointer to incomplete type
> Oracle.xsi: In function
> `XS_DBD__Oracle__db_selectall_arrayref':
> Oracle.xsi:107: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function
> `XS_DBD__Oracle__db_selectrow_arrayref':
> Oracle.xsi:142: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function `XS_DBD__Oracle__db_commit':
> Oracle.xsi:179: dereferencing pointer to incomplete
> type
> Oracle.xsi:179: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function
> `XS_DBD__Oracle__db_rollback':
> Oracle.xsi:188: dereferencing pointer to incomplete
> type
> Oracle.xsi:188: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function
> `XS_DBD__Oracle__db_disconnect':
> Oracle.xsi:197: dereferencing pointer to incomplete
> type
> Oracle.xsi:201: dereferencing pointer to incomplete
> type
> Oracle.xsi:202: dereferencing pointer to incomplete
> type
> Oracle.xsi:203: dereferencing pointer to incomplete
> type
> Oracle.xsi:207: dereferencing pointer to incomplete
> type
> Oracle.xsi:207: dereferencing pointer to incomplete
> type
> Oracle.xsi:209: dereferencing pointer to incomplete
> type
> Oracle.xsi:211: dereferencing pointer to incomplete
> type
> Oracle.xsi:215: dereferencing pointer to incomplete
> type
> Oracle.xsi:215: dereferencing pointer to incomplete
> type
> Oracle.xsi:215: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function `XS_DBD__Oracle__db_STORE':
> Oracle.xsi:229: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function `XS_DBD__Oracle__db_FETCH':
> Oracle.xsi:240: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function
> `XS_DBD__Oracle__db_DESTROY':
> Oracle.xsi:250: dereferencing pointer to incomplete
> type
> Oracle.xsi:252: dereferencing pointer to incomplete
> type
> Oracle.xsi:252: dereferencing pointer to incomplete
> type
> Oracle.xsi:259: dereferencing pointer to incomplete
> type
> Oracle.xsi:260: dereferencing pointer to incomplete
> type
> Oracle.xsi:261: dereferencing pointer to incomplete
> type
> Oracle.xsi:263: dereferencing pointer to incomplete
> type
> Oracle.xsi:264: dereferencing pointer to incomplete
> type
> Oracle.xsi:264: dereferencing pointer to incomplete
> type
> Oracle.xsi:264: dereferencing pointer to incomplete
> type
> Oracle.xsi:266: dereferencing pointer to incomplete
> type
> Oracle.xsi:274: dereferencing pointer to incomplete
> type
> Oracle.xsi:275: dereferencing pointer to incomplete
> type
> Oracle.xsi:275: dereferencing pointer to incomplete
> type
> Oracle.xsi:280: dereferencing pointer to incomplete
> type
> Oracle.xsi:280: dereferencing pointer to incomplete
> type
> Oracle.xsi:280: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function
> `XS_DBD__Oracle__st_execute':
> Oracle.xsi:396: dereferencing pointer to incomplete
> type
> Oracle.xsi:397: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function `XS_DBD__Oracle__st_finish':
> Oracle.xsi:460: dereferencing pointer to incomplete
> type
> Oracle.xsi:461: dereferencing pointer to incomplete
> type
> Oracle.xsi:465: dereferencing pointer to incomplete
> type
> Oracle.xsi:468: dereferencing pointer to incomplete
> type
> Oracle.xsi:468: dereferencing pointer to incomplete
> type
> Oracle.xsi:468: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function `XS_DBD__Oracle__st_STORE':
> Oracle.xsi:508: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function
> `XS_DBD__Oracle__st_FETCH_attrib':
> Oracle.xsi:525: dereferencing pointer to incomplete
> type
> Oracle.xsi: In function
> `XS_DBD__Oracle__st_DESTROY':
> Oracle.xsi:535: dereferencing pointer to incomplete
> type
> Oracle.xsi:537: dereferencing pointer to incomplete
> type
> Oracle.xsi:537: dereferencing pointer to incomplete
> type
> Oracle.xsi:543: dereferencing pointer to incomplete
> type
> Oracle.xsi:544: dereferencing pointer to incomplete
> type
> Oracle.xsi:544: dereferencing pointer to incomplete
> type
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

Reply via email to