On Mon, 20 May 2002 07:47:12 +0100
"Stevenson, Jonathan" <[EMAIL PROTECTED]> wrote:
> .. On another note, I don't know if you are trying to install
> DBD::Oracle (the +z suggests you may be), no one has found the exact
> recipe to do it using gcc. If you do get this to work, I would be like
> to hear what was needed.
I found it rather simple, when I followed instructions from README.hpux.
Of course I used parameter for GCC, not for native compiler.
export LDOPTS=+s # to allow using of SHLIB_PATH
SHLIB_PATH=${ORACLE_HOME}/lib:${ORACLE_HOME}/JRE/lib/PA_RISC/native_threads:$SHLIB_PATH
../Configure -des -Uinstallusrbinperl -Uusethreads -Uuseithreads -Duselargefiles
-Dcc=gcc -Darchname=PA-RISC1.1 -Dprefix=/usr/local -Dlibs='-lcl -lpthread
-L${ORACLE_HOME}/JRE/lib/PA_RISC/native_threads -ljava -lnsl -lnm -lndbm -ldld -lm -lc
-lndir -lcrypt -lsec'
make
make test
make install # as root
I had to link perl binary with libjava, as our Oracle installation seems to use it
everywhere.
After this I was able to install DBI and DBD::Oracle in usual way.
Also I hit the problems with HP-UX' includes, when I compiled perl,
but I was able to googled proper HP patch when I simply
inserted gcc's error message.
Waldemar