----- Forwarded message from "WAZA,SANJAY (Non-HP-PaloAlto,ex1)"
<[EMAIL PROTECTED]> -----
Delivered-To: [EMAIL PROTECTED]
From: "WAZA,SANJAY (Non-HP-PaloAlto,ex1)" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Perl DBD:;Oracle 1.12 with Oracle 9i on HPUX11.0
Date: Tue, 9 Jul 2002 19:58:18 -0700
Hi Tim,.
I am trying to install Oracle DBD 1.12 for Oracle 9i on HP UX
11 . I am trying to do static linking
Here is what I ran . I downloaded the DBD::Oracle Tar file from CPAN . The
perl version is 5.005
I am getting these error messages and I am not sure what it means.
Could I get some help on this ?
Thanks a lot
Sanjay
Attached is the Log
make realclean
perl Makefile.PL LINKTYPE=static
make
make perl (you'll need to use and install _this_ new perl binary)
make test
make -f Makefile.aperl inst_perl MAP_TARGET=perl (install new perl)
make install
(install DBD::Oracle)
[boi48]dbi/DBD-Oracle-1.12 $ perl Makefile.PL LINKTYPE=static
Using DBI 1.14 installed in /opt/perl_local/PA-RISC1.1/auto/DBI
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in /mnt/disk37/app/oracle/product/9.2.0
Found header files in rdbms/demo.
Found /mnt/disk37/app/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk
Found /mnt/disk37/app/oracle/product/9.2.0/otrace/demo/atmoci.mk
Using /mnt/disk37/app/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk
Reading /mnt/disk37/app/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk.
Reading /mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/env_rdbms.mk.
Evaluating `cat $(LIBHOME)sysliblist`
expanded `cat /mnt/disk37/app/oracle/product/9.2.0/lib/sysliblist`
returned '-l:libcl.sl -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl
'
Attempting to discover Oracle OCI build rules...
/opt/ansic/bin/cc -O -c DBD_ORA_OBJ.c
Oracle oci build command:
echo -Wl,+s -Wl,+n +DA2.0W +DS2.0 -o build
-L/mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/ -L/mnt/disk37/app/orac
-Wl,+s -Wl,+n +DA2.0W +DS2.0 -o build
-L/mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/
-L/mnt/disk37/app/oracle/product/9.m
Unable to interpret Oracle oci build commands. Using fallback approach.
***
*** Warning: If you have trouble, see README.hpux...
you may have to build your own perl, or go hunting for libraries
***
System: perl5.00503 hp-ux moshpit b.11.00 a 9000889 256844361 two-user
license
Compiler: /opt/ansic/bin/cc -O +Onolimit -D_HPUX_SOURCE -Ae
-I/usr/local/include -DDEBUGGING +DA1.1 +DS2.0a -D_FILE_OFFSET_BITS=64
Linker: /usr/bin/ld
Sysliblist: -lrt -lpthread -l:libnss_dns.1 -ldld
Oracle makefiles would have used these definitions but we override them:
CC: cc
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
[$(GFLAG) $(OPTIMIZE) $(CDEBUG) +DA2.0W +DS2.0
-DSS_64BIT_SERVER -I/mnt/disk37/app/oracle/product/9.2.0/rdbms/demo -I/mn]
build: $(CC) $(LDFLAGS) $(LIBPATH) -o $(EXE) $(OBJS)
$(SHARED_LDCLIENTLIBS)
Evaluating `cat $(LIBHOME)ldflags`
expanded `cat /mnt/disk37/app/oracle/product/9.2.0/lib/ldflags`
returned '-lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9
-lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 '
expanded `cat /mnt/disk37/app/oracle/product/9.2.0/lib/sysliblist`
[ cc -Wl,+s -Wl,+n +DA2.0W +DS2.0 -o $@
-L/mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/ -L$(LIBHOME) $(LIBPATH) -o
$(E]
LDFLAGS: -Wl,+s -Wl,+n +DA2.0W +DS2.0 -o $@ -L$(PRODLIBHOME)
-L$(LIBHOME)
[-Wl,+s -Wl,+n +DA2.0W +DS2.0 -o $@
-L/mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/ -L$(LIBHOME)]
Linking with /mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/kpudfo.o
/mnt/disk37/app/oracle/product/9.2.0/lib/sscoreed.o -lclntst]
Warning: If you have problems you may need to rebuild perl with
-Uusemymalloc.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -l:libnss_dns.1
LD_RUN_PATH=/mnt/disk37/app/oracle/product/9.2.0/lib
Using DBD::Oracle 1.12.
Using DBI 1.14 installed in /opt/perl_local/PA-RISC1.1/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?)
[boi48]dbi/DBD-Oracle-1.12 $ make
mkdir blib
mkdir blib/lib
mkdir blib/lib/DBD
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/Oracle
mkdir blib/lib/auto
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/Oracle
mkdir blib/man1
mkdir blib/man3
cp Oraperl.pm blib/lib/Oraperl.pm
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp oraperl.ph blib/lib/oraperl.ph
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
/usr/bin/perl -p -e "s/~DRIVER~/Oracle/g" <
/opt/perl_local/PA-RISC1.1/auto/DBI/Driver.xst > Oracle.xsi
/usr/bin/perl -I/opt/perl5.005_03/lib/5.00503/PA-RISC1.1
-I/opt/perl5.005_03/lib/5.00503 /opt/perl5.005_03/lib/5.00503/ExtUc
/opt/ansic/bin/cc -c
-I/mnt/disk37/app/oracle/product/9.2.0/rdbms/demo
-I/mnt/disk37/app/oracle/product/9.2.0/rdbms/public c
/opt/ansic/bin/cc -c
-I/mnt/disk37/app/oracle/product/9.2.0/rdbms/demo
-I/mnt/disk37/app/oracle/product/9.2.0/rdbms/public c
/opt/ansic/bin/cc -c
-I/mnt/disk37/app/oracle/product/9.2.0/rdbms/demo
-I/mnt/disk37/app/oracle/product/9.2.0/rdbms/public c
/opt/ansic/bin/cc -c
-I/mnt/disk37/app/oracle/product/9.2.0/rdbms/demo
-I/mnt/disk37/app/oracle/product/9.2.0/rdbms/public c
cc: "oci8.c", line 267: warning 604: Pointers are not
assignment-compatible.
rm -rf blib/arch/auto/DBD/Oracle/Oracle.a
ar cr blib/arch/auto/DBD/Oracle/Oracle.a Oracle.o dbdimp.o
oci7.o oci8.o && : blib/arch/auto/DBD/Oracle/Oracle.a
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.a
/usr/bin/perl -Iblib/arch -Iblib/lib
-I/opt/perl5.005_03/lib/5.00503/PA-RISC1.1 -I/opt/perl5.005_03/lib/5.00503
ora_explainn
Extracted ora_explain from ora_explain.PL with variable substitutions.
mkdir blib/script
cp ora_explain blib/script/ora_explain
/usr/bin/perl -I/opt/perl5.005_03/lib/5.00503/PA-RISC1.1
-I/opt/perl5.005_03/lib/5.00503 -MExtUtils::MakeMaker -e "MY->fixn
Manifying blib/man3/DBD::Oraperl.3
Manifying blib/man3/DBD::Oracle.3
Manifying blib/man1/ora_explain.1
[boi48]dbi/DBD-Oracle-1.12 $ make perl
rm -rf blib/arch/auto/DBD/Oracle/Oracle.a
ar cr blib/arch/auto/DBD/Oracle/Oracle.a Oracle.o dbdimp.o
oci7.o oci8.o && : blib/arch/auto/DBD/Oracle/Oracle.a
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.a
Writing "Makefile.aperl" for this perl
Using DBI 1.14 installed in /opt/perl_local/PA-RISC1.1/auto/DBI
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in /mnt/disk37/app/oracle/product/9.2.0
Found header files in rdbms/demo.
Found /mnt/disk37/app/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk
Found /mnt/disk37/app/oracle/product/9.2.0/otrace/demo/atmoci.mk
Using /mnt/disk37/app/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk
Reading /mnt/disk37/app/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk.
Reading /mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/env_rdbms.mk.
Evaluating `cat $(LIBHOME)sysliblist`
expanded `cat /mnt/disk37/app/oracle/product/9.2.0/lib/sysliblist`
returned '-l:libcl.sl -l:librt.sl -lpthread -l:libnss_dns.1
-l:libdld.sl '
Attempting to discover Oracle OCI build rules...
/opt/ansic/bin/cc -c
-I/mnt/disk37/app/oracle/product/9.2.0/rdbms/demo
-I/mnt/disk37/app/oracle/product/9.2.0/rdbms/public c
Oracle oci build command:
echo -Wl,+s -Wl,+n +DA2.0W +DS2.0 -o build
-L/mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/ -L/mnt/disk37/app/orac
-Wl,+s -Wl,+n +DA2.0W +DS2.0 -o build
-L/mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/
-L/mnt/disk37/app/oracle/product/9.m
Unable to interpret Oracle oci build commands. Using fallback approach.
***
*** Warning: If you have trouble, see README.hpux...
you may have to build your own perl, or go hunting for libraries
***
System: perl5.00503 hp-ux moshpit b.11.00 a 9000889 256844361 two-user
license
Compiler: /opt/ansic/bin/cc -O +Onolimit -D_HPUX_SOURCE -Ae
-I/usr/local/include -DDEBUGGING +DA1.1 +DS2.0a -D_FILE_OFFSET_BITS=64
Linker: /usr/bin/ld
Sysliblist: -lrt -lpthread -l:libnss_dns.1 -ldld
Oracle makefiles would have used these definitions but we override
them:
CC: cc
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
[$(GFLAG) $(OPTIMIZE) $(CDEBUG) +DA2.0W +DS2.0
-DSS_64BIT_SERVER -I/mnt/disk37/app/oracle/product/9.2.0/rdbms/demo -I/mn]
build: $(CC) $(LDFLAGS) $(LIBPATH) -o $(EXE) $(OBJS)
$(SHARED_LDCLIENTLIBS)
Evaluating `cat $(LIBHOME)ldflags`
expanded `cat /mnt/disk37/app/oracle/product/9.2.0/lib/ldflags`
returned '-lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9
-lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 '
expanded `cat /mnt/disk37/app/oracle/product/9.2.0/lib/sysliblist`
[ cc -Wl,+s -Wl,+n +DA2.0W +DS2.0 -o $@
-L/mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/ -L$(LIBHOME) $(LIBPATH) -o
$(E]
LDFLAGS: -Wl,+s -Wl,+n +DA2.0W +DS2.0 -o $@ -L$(PRODLIBHOME)
-L$(LIBHOME)
[-Wl,+s -Wl,+n +DA2.0W +DS2.0 -o $@
-L/mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/ -L$(LIBHOME)]
Linking with /mnt/disk37/app/oracle/product/9.2.0/rdbms/lib/kpudfo.o
/mnt/disk37/app/oracle/product/9.2.0/lib/sscoreed.o -lclntst]
Warning: If you have problems you may need to rebuild perl with
-Uusemymalloc.
Note (probably harmless): No library found for -l:libnss_dns.1
LD_RUN_PATH=/mnt/disk37/app/oracle/product/9.2.0/lib
Using DBD::Oracle 1.12.
Using DBD::Oracle 1.12.
Using DBI 1.14 installed in /opt/perl_local/PA-RISC1.1/auto/DBI
Writing Makefile.aperl 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?)
make -f Makefile.aperl perl
Writing ./perlmain.c
cd . && /opt/ansic/bin/cc -c
-I/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/CORE -D_HPUX_SOURCE -Ae
-I/usr/local/include -DDE\
-DVERSION=\"1.12\" \
-DXS_VERSION=\"1.12\"
-I/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/CORE perlmain.c
cat
/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/auto/DynaLoader/extralibs.ld >>
blib/arch/auto/DBD/Oracle/extralibs.all
cat blib/arch/auto/DBD/Oracle/extralibs.ld >>
blib/arch/auto/DBD/Oracle/extralibs.all
/opt/ansic/bin/cc -L/usr/local/lib -Wl,-E -Wl,-B,deferred -o
perl -O +Onolimit ./perlmain.o blib/arch/auto/DBD/Oracle/Ora
/usr/ccs/bin/ld:
/mnt/disk37/app/oracle/product/9.2.0/lib//libclntst9.a: Not a valid library
(invalid magic number). Possibly a 64-.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
[boi48]dbi/DBD-Oracle-1.12 $
----- End forwarded message -----