On Tue, Mar 25, 2003 at 04:08:25PM +0100, Honza Pazdziora wrote: > On Tue, Mar 25, 2003 at 03:01:38PM +0000, Tim Bunce wrote: > > > building process could somehow figure this out? > > > > Did the 'perl Makefile.PL' say it was using the build-rules from Oracle? > > Attempting to discover Oracle OCI build rules > gcc -c DBD_ORA_OBJ.c > by executing: (make -f /export/packages/oracle-9.2.0/rdbms/demo/demo_rdbms.mk build > ECHODO=echo ECHO=echo GENCLNTSH='echo genclntsh' CC=echo OPTIMIZE= CCFLAGS= > EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o) > Oracle oci build command: > + -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build > -L/export/packages/oracle-9.2.0/rdbms/lib/ -L/export/packages/oracle-9.2.0/lib/ -o > DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 > -lnsslb9 -lnnis9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl -lsocket > -lgen -ldl -R/export/packages/oracle-9.2.0/lib -laio -lposix4 -lkstat -lm -lthread
> Linking with OTHERLDFLAGS = -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build > -L/export/packages/oracle-9.2.0/rdbms/lib/ -L/export/packages/oracle-9.2.0/lib/ > -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 > -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl -lsocket -lgen -ldl > -R/export/packages/oracle-9.2.0/lib -laio -lposix4 -lkstat -lm -lthread > [from 'build' rule] > > LD_RUN_PATH="/export/packages/oracle-9.2.0/lib:/export/packages/oracle-9.2.0/rdbms/lib" > > gcc -o blib/arch/auto/DBD/Oracle/Oracle.so -G > +Oracle.o dbdimp.o oci7.o oci8.o -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o > build -L/export/packages/oracle-9.2.0/rdbms/lib/ > +-L/export/packages/oracle-9.2.0/lib/ -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 > -lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9 -lntcps9 > +-lnsslb9 -lntcp9 -lntns9 -lnsl -lsocket -lgen -ldl > -R/export/packages/oracle-9.2.0/lib -laio -lposix4 -lkstat -lm -lthread > > ld: warning: option -o appears more than once, first setting taken > > ld: fatal: file /export/packages/oracle-9.2.0/lib//libclntsh.so: wrong ELF class: > > ELFCLASS64 > > ld: fatal: File processing errors. No output written to > > blib/arch/auto/DBD/Oracle/Oracle.so > > collect2: ld returned 1 exit status > > *** Error code 1 > > make: Fatal error: Command failed for target `blib/arch/auto/DBD/Oracle/Oracle.so' > > > > It's easily fixed by replacing all the relevant lib with lib32. So the implication is that Oracle own OCI demo's won't build either. Can you take a look into /export/packages/oracle-9.2.0/rdbms/demo/demo_rdbms.mk /export/packages/oracle-9.2.0/rdbms/lib/env_rdbms.mk and see if they're any logic that tries to address this? > Now I realized there is another similar message > > t/select............Illegal hex digit ignored at t/select.t line 66. > > -- sorry for not catching it the first time. No problem. Fixed. > > [You do know I'll be removing support for perl 5.5 soon, right?] > > Yes I know. But I'll be leaving this project in six days time, so > it's gonna be my younger colleagues' task to handle. :-) :-) Tim.
