On Mon, Dec 09, 2002 at 12:01:25PM -0000, Ben Middleton wrote:
> Hello again,
> 
> I am still not having any luck in getting the tests to pass. It appears to
> be the CLOB re-reading that is failing.
> 
> I have checked all the usual places for help. I have also tried creating a
> test stub that does a similar thing to the failed tests.

> Attempting to discover Oracle OCI build rules...
> gcc -B/usr/ccs/bin/    -c -o DBD_ORA_OBJ.o DBD_ORA_OBJ.c
> by executing:
> make -f /usr/local/oracle/product/9.2.0/rdbms/demo/demo_rdbms.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 -L/usr/local/oracle/product/9.2.0/lib/ -L/usr/local/oracle/product/9.2.
> 0/rdbms/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh   `cat
> /usr/local/oracle/product/9.2.0/lib/sysliblist` -R/usr/local/oracle/product/
> 9.2.0/lib -laio  -lposix4 -lkstat -lm  -lthread
>         -L/usr/local/oracle/product/9.2.0/lib/ -L/usr/local/oracle/product/9
> .2.0/rdbms/lib/ -o DBD_ORA_EXE
> DBD_ORA_OBJ.o -lclntsh -lnsl -lsocket -lgen -ldl -lsched -R/usr/local/oracle
> /product/9.2.0/lib -laio -lposix4 -lkstat -lm -lthread
> Unable to interpret Oracle oci build commands. Using fallback approach.

It would be good if you could hack the Makefile.PL to get the build
rule discovery to work.  I've attached my current Makefile.PL for
you to try (and hack on if it doesn't work - send me a diff -c patch).


> Linking with
> /usr/local/oracle/product/9.2.0/rdbms/lib/defopt.o  -lclntsh -lnsl -lsocket 
> -lgen -ldl -lsched -R/usr/local/oracle/product/9.2.0/lib -laio -lposix4 -lkstat
> -lm -lthread [from $(DEF_OPT) $(OCISHAREDLIBS)]

The list of libs etc shown here is shorted than the list shown in
the build rule discovery above.

If you can't hack the Makefile.PL to get the build rule discovery to work
then just hack the generated makefile to use the same list of libs etc
as above.

Tim.

Reply via email to