Hi,

I am trying to get DBD-Oracle working on Oracle 8.1.6 on IRIX.

As Oracle 8.1.6 is 64 bit only, I need to use 64 bit perl. I have

successfully installed the DBI stuff, but when I try to install the

DBD-Oracle stuff, I get the following problem:

Using DBI 1.15 installed in

/usr/freeware/lib/perl5/site_perl/5.005/irix-64/auto/DBI

Writing Makefile for DBD::Oracle

Argument "_ABIN32" isn't numeric in eq at

/usr/freeware/lib/perl5/site_perl/5.005/sys/types.ph line 11.

Argument "_ABIN32" isn't numeric in eq at

/usr/freeware/lib/perl5/site_perl/5.005/sys/types.ph line 30.

Argument "_ABIN32" isn't numeric in eq at

/usr/freeware/lib/perl5/site_perl/5.005/sys/types.ph line 39.

Argument "_ABIN32" isn't numeric in eq at

/usr/freeware/lib/perl5/site_perl/5.005/sys/types.ph line 50.

Argument "_ABIN32" isn't numeric in ne at

/usr/freeware/lib/perl5/site_perl/5.005/sys/types.ph line 124.

*** If you have problems, read the README and README.help files ***

(Of course, you have read README by now anyway, haven't you?)

For completeness here is the output from perl -V:

bill 81% perl5.00503-n64 -V

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:

Platform:

osname=irix, osvers=6.2, archname=irix-64

uname='irix neteng 6.2 12160003 ip22 '

hint=recommended, useposix=true, d_sigaction=define

usethreads=undef useperlio=undef d_sfio=undef

Compiler:

cc='cc -64 -mips3', optimize='-O3 -IPA', gccversion=

cppflags='-D_BSD_TYPES -D_BSD_TIME -DLANGUAGE_C'

ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184

-OPT:Olimit=0:space=ON '

stdchar='unsigned char', d_stdstdio=define, usevfork=false

intsize=4, longsize=8, ptrsize=8, doublesize=8

d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16

alignbytes=8, usemymalloc=y, prototype=define

Linker and Libraries:

ld='cc -64 -IPA', ldflags =' -IPA'

libpth=/usr/local/lib64 /usr/local/lib /usr/freeware/lib64 /usr/gnu/lib

/usr/lib64 /lib64

libs=-lm

libc=/usr/lib64/libc.so, so=so, useshrplib=true, libperl=libperl.so

Dynamic Linking:

dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='

-Wl,-rpath,/usr/freeware/lib/perl5/5.00503/irix-64/CORE'

cccdlflags=' ', lddlflags='-64 -shared '

Characteristics of this binary (from libperl): 

Built under irix

Compiled at Jan 12 2000 14:22:12

@INC:

/usr/freeware/lib/perl5/5.00503/irix-64

/usr/freeware/lib/perl5/5.00503

/usr/freeware/lib/perl5/site_perl/5.005/irix-64

/usr/freeware/lib/perl5/site_perl/5.005

/usr/freeware/lib/perl5/sgi_perl/irix-64

/usr/freeware/lib/perl5/site_perl

.

and here is the full output from the perl Makefile.PL

bill 82% perl5.00503-n64 Makefile.PL

Using DBI 1.15 installed in

/usr/freeware/lib/perl5/site_perl/5.005/irix-64/auto/DBI

Configuring DBD::Oracle ...

>>> Remember to actually *READ* the README file!

Especially if you have any problems.

Using Oracle in /u01/oracle/app/oracle/product/8.1.6

Found /u01/oracle/app/oracle/product/8.1.6/rdbms/demo/demo_rdbms.mk

Found /u01/oracle/app/oracle/product/8.1.6/otrace/demo/atmoci.mk

Using /u01/oracle/app/oracle/product/8.1.6/rdbms/demo/demo_rdbms.mk

Reading /u01/oracle/app/oracle/product/8.1.6/rdbms/demo/demo_rdbms.mk.

Reading /u01/oracle/app/oracle/product/8.1.6/rdbms/lib/env_rdbms.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.

Discovering Oracle OCI build rules...

Oracle oci build prolog:

RDBMSLIB changed after being used

Building client shared library libclntsh.so ...

Call script /u01/oracle/app/oracle/product/8.1.6/bin/genclntsh ...

echo genclntsh

genclntsh

Built /u01/oracle/app/oracle/product/8.1.6/lib/libclntsh.so ... DONE

true cc -Wl,`if [ "-64" = "-n32" ]; then echo "-n32" ; \

elif [ "-64" = "-64" ]; then echo "-64" ; \

Oracle oci build command:

else echo "-64" ; fi`

-Wl,-woff,16,-woff,84,-woff,85,-woff,134,-rdata_shared,-multigot,-mips3 -o

build -rpath /u01/oracle/app/oracle/product/8.1.6/lib

-L/u01/oracle/app/oracle/product/8.1.6/network/lib/

-L/u01/oracle/app/oracle/product/8.1.6/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o

-lclntsh 

Found header files in rdbms/demo.

System: perl5.00503 irix neteng 6.2 12160003 ip22 

Compiler: cc -64 -mips3 -O3 -IPA -D_BSD_TYPES -D_BSD_TIME -woff

1009,1110,1184 -OPT:Olimit=0:space=ON 

Linker: /usr/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)

Using value of SGI_ABI from environment: -64

Using value of SGI_ABI from environment: -64

Evaluating `if [ "-64" = "-n32" ]; then echo "-n32" ; \

elif [ "-64" = "-64" ]; then echo "-64" ; \

else echo "-64" ; fi`

returned '-64'

Using value of SGI_ABI from environment: -64

Using value of SGI_ABI from environment: -64

[$(GFLAG) -O3 -TENV:X=1 -OPT:Olimit=0 -OPT:space

-OPT:got_call_conversion=OFF -OPT:IEEE_arithmetic=1 -OPT:roundoff=0

$(CDEBUG) -64 -mips3 -multigot -common -use_readonly_const -woff

1048,1110,1116,1171,1183,1184,1188,1209,134 $(IRIXINC) $(QACCFLAGS)

-I/u01/oracle/app/oracle/product/8.1.6/rdbms/demo

-I/u01/oracle/app/oracle/product/8.1.6/rdbms/public

-I/u01/oracle/app/oracle/product/8.1.6/plsql/public

-I/u01/oracle/app/oracle/product/8.1.6/network/public -mips3 -64

-DSLXMX_ENABLE -DSLTS_ENABLE -DSGI_IRIX -DSS_64BIT_SERVER $(LPFLAGS)

$(SHARED_CFLAG) $(USRFLAGS)]

LDFLAGS: -Wl,$(IRIXABI) $(IRIXLD) -o $@ $(SHAREDLIBPATH)

-L$(PRODUCT_LIBHOME) -L$(LIBHOME)

Using value of SGI_ABI from environment: -64

Using value of SGI_ABI from environment: -64

[-Wl,-64

-Wl,-woff,16,-woff,84,-woff,85,-woff,134,-rdata_shared,-multigot,-mips3 -o

$@ -rpath /u01/oracle/app/oracle/product/8.1.6/lib

-L/u01/oracle/app/oracle/product/8.1.6/network/lib/ -L$(LIBHOME)]

Linking with OTHERLDFLAGS = echo "-64" ; fi`

-Wl,-woff,16,-woff,84,-woff,85,-woff,134,-rdata_shared,-multigot,-mips3 -o

build -rpath /u01/oracle/app/oracle/product/8.1.6/lib

-L/u01/oracle/app/oracle/product/8.1.6/network/lib/

-L/u01/oracle/app/oracle/product/8.1.6/lib/ -lclntsh [from 'build' rule]

Checking if your kit is complete...

Looks good

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.15 installed in

/usr/freeware/lib/perl5/site_perl/5.005/irix-64/auto/DBI

Writing Makefile for DBD::Oracle

Argument "_ABIN32" isn't numeric in eq at

/usr/freeware/lib/perl5/site_perl/5.005/sys/types.ph line 11.

Argument "_ABIN32" isn't numeric in eq at

/usr/freeware/lib/perl5/site_perl/5.005/sys/types.ph line 30.

Argument "_ABIN32" isn't numeric in eq at

/usr/freeware/lib/perl5/site_perl/5.005/sys/types.ph line 39.

Argument "_ABIN32" isn't numeric in eq at

/usr/freeware/lib/perl5/site_perl/5.005/sys/types.ph line 50.

Argument "_ABIN32" isn't numeric in ne at

/usr/freeware/lib/perl5/site_perl/5.005/sys/types.ph line 124.

*** If you have problems, read the README and README.help files ***

(Of course, you have read README by now anyway, haven't you?)

bill 83% 

 

-- 
Mark Jeffery                Tel: +44 118 925 7666 
Business Development Mgr    Mob: +44 7710 579828 
Business Intelligence       Fax: +44 118 925 7699 
SGI                          <http://www.sgi.com/> http://www.sgi.com

 

Reply via email to