CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: DBI:
DBD:Oracle 1.19 Install problem (AIX 5.3 32bit)

 



ttlover
New User

Aug 14, 2007, 11:17 PM

Post #1 of 1 (3048 views)
DBD:Oracle 1.19 Install problem (AIX 5.3 32bit) Can't Post

there seems no problem when I run perl Makefile.PL, but failed when I run make

---------------------------------------------------------
/BTOL_sftw/DBD-Oracle/DBD-Oracle-1.19# perl Makefile.PL
Using DBI 1.53 (for perl 5.008002 on aix-thread-multi) installed in /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBI/

Configuring DBD::Oracle for perl 5.008002 on aix (aix-thread-multi)

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

Using Oracle in /u01/app/oracle/OraHome_1
DEFINE _SQLPLUS_RELEASE = "1002000300" (CHAR)
Oracle version 10.2.0.3 (10.2)
Found /u01/app/oracle/OraHome_1/rdbms/demo/demo_rdbms.mk
Using /u01/app/oracle/OraHome_1/rdbms/demo/demo_rdbms.mk
Your LIBPATH env var is set to '/opt/IBM/db2cmv8/lib:/usr/lib:/lib:/udb_projects/dms_db/sqllib/lib:/u01/app/oracle/OraHome_1/lib32'
Reading /u01/app/oracle/OraHome_1/rdbms/demo/demo_rdbms.mk
Reading /u01/app/oracle/OraHome_1/rdbms/lib/env_rdbms.mk
Deleting -b64 from COMPOBJS because -b64 doesn't exist.

Attempting to discover Oracle OCI build rules
cc_r -O -c DBD_ORA_OBJ.c
by executing: [make -f /u01/app/oracle/OraHome_1/rdbms/demo/demo_rdbms.mk build ECHODO=echo ECHO=echo GENCLNTSH='echo genclntsh' CC=true OPTIMIZE= CCFLAGS= EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o]
Oracle oci build command:
[ true -L/u01/app/oracle/OraHome_1/lib/ -L/u01/app/oracle/OraHome_1/rdbms/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh -lld -lm `cat /u01/app/oracle/OraHome_1/lib/sysliblist` -lm -lpthreads]

Found header files in /u01/app/oracle/OraHome_1/rdbms/public.

Checking for functioning wait.ph


System: perl5.008002 aix animals 2 5 000709cf4c00
Compiler: cc_r -O -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong
Linker: /usr/bin/ld
Sysliblist: /lib/crt0_r.o -ldl -lc -lpthreads -lodm -lm -lbsd_r -lld -lperfstat
Oracle makefiles would have used these definitions but we override them:
CC: $(ORACLE_HOME)/bin/oraxlc $(ORAXLCFLAGS)
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
[$(GFLAG) -O3 $(CDEBUG) -q64 -DSS_64BIT_SERVER -qwarn64 -qinfo=uni -DAIXRIOS -qtocmerge -bimport:/u01/app/oracle/OraHome_1/lib/ksms.imp -I/u01/app/oracle/OraHome_1/rdbms/demo -I/u01/app/oracle/OraHome_1/rdbms/public -I/u01/app/oracle/OraHome_1/plsql/public -I/u01/app/oracle/OraHome_1/network/public $(SPFLAGS) $(LPFLAGS) $(USRFLAGS)]
LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
[-o $@ -L/u01/app/oracle/OraHome_1/rdbms/lib/ -L$(LIBHOME)]
Linking with OTHERLDFLAGS = -L/u01/app/oracle/OraHome_1/lib/ -L/u01/app/oracle/OraHome_1/rdbms/lib/ -lclntsh -lld -lm `cat /u01/app/oracle/OraHome_1/lib/sysliblist` -lm -lpthreads [from 'build' rule]


WARNING: You will may need to rebuild perl using the xlc_r compiler.
The important thing is that perl and DBD::Oracle be built with the same compiler.
You may also need to: ORACCENV='cc=xlc_r'; export ORACCENV
Also see README.aix for gcc instructions and read about the -p option.
Checking if your kit is complete...
Looks good
LD_RUN_PATH=/u01/app/oracle/OraHome_1/lib32:/u01/app/oracle/OraHome_1/rdbms/lib32
Using DBD::Oracle 1.19.
Using DBD::Oracle 1.19.
Using DBI 1.53 (for perl 5.008002 on aix-thread-multi) installed in /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBI/
Writing Makefile for DBD::Oracle

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

/BTOL_sftw/DBD-Oracle/DBD-Oracle-1.19#

-----------------------------------------------------
/BTOL_sftw/DBD-Oracle/DBD-Oracle-1.19# make
cc_r -c -I/u01/app/oracle/OraHome_1/rdbms/public -I/u01/app/oracle/OraHome_1/rdbms/demo -I/u01/app/oracle/OraHome_1/rdbms/public -I/u01/app/oracle/OraHome_1/plsql/public -I/u01/app/oracle/OraHome_1/network/public -I/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.3\" dbdimp.c
cc_r -c -I/u01/app/oracle/OraHome_1/rdbms/public -I/u01/app/oracle/OraHome_1/rdbms/demo -I/u01/app/oracle/OraHome_1/rdbms/public -I/u01/app/oracle/OraHome_1/plsql/public -I/u01/app/oracle/OraHome_1/network/public -I/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.3\" oci8.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/u01/app/oracle/OraHome_1/lib32:/u01/app/oracle/OraHome_1/rdbms/lib32" ld -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/perl.exp -bE:Oracle.exp -bnoentry -lpthreads -lc_r Oracle.o dbdimp.o oci8.o -L/u01/app/oracle/OraHome_1/lib/ -L/u01/app/oracle/OraHome_1/rdbms/lib/ -lclntsh -lld -lm `cat /u01/app/oracle/OraHome_1/lib/sysliblist` -lm -lpthreads -o blib/arch/auto/DBD/Oracle/Oracle.so
ld: 0711-736 ERROR: Input file /lib/crt0_64.o:
XCOFF64 object files are not allowed in 32-bit mode.
make: 1254-004 The error code from the last command is 8.


Stop.
/BTOL_sftw/DBD-Oracle/DBD-Oracle-1.19#

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives