Operating System - Linux
1748180 Members
4228 Online
108759 Solutions
New Discussion юеВ

Re: Problem compiling DBD-Oracle-1.16 on 11iv2

 
Geoff Wild
Honored Contributor

Re: Problem compiling DBD-Oracle-1.16 on 11iv2

root@svr120 [ /usr/local/src/gcc-3.4.3/gcc ]
# ./configure \
> --enable-languages=c,c++ \
> --prefix=/usr/local --with-local-prefix=/usr/local \
> --with-gnu-as --with-as=/usr/local/bin/as \
> --disable-shared \
> --disable-nls
creating cache ./config.cache
checking host system type... hppa64-hp-hpux11.23
checking target system type... hppa64-hp-hpux11.23
checking build system type... hppa64-hp-hpux11.23
checking for a BSD compatible install... ./install-sh -c
*** This configuration is not supported in the following subdirectories:
target-libf2c
(Any other directories should still work fine.)
*** removing intl/Makefile to force reconfigure
*** removing libiberty/Makefile to force reconfigure
*** removing gcc/Makefile to force reconfigure
checking for hppa64-hp-hpux11.23-ar... no
checking for ar... ar
checking for hppa64-hp-hpux11.23-as... no
checking for as... as
checking for hppa64-hp-hpux11.23-dlltool... no
checking for dlltool... dlltool
checking for hppa64-hp-hpux11.23-ld... no
checking for ld... ld
checking for hppa64-hp-hpux11.23-nm... no
checking for nm... nm
checking for hppa64-hp-hpux11.23-ranlib... /bin/true
checking for hppa64-hp-hpux11.23-windres... no
checking for windres... windres
checking for hppa64-hp-hpux11.23-objcopy... no
checking for objcopy... objcopy
checking for hppa64-hp-hpux11.23-objdump... no
checking for objdump... objdump
checking for hppa64-hp-hpux11.23-ar... no
checking for ar... ar
checking for hppa64-hp-hpux11.23-as... no
checking for as... as
checking for hppa64-hp-hpux11.23-dlltool... no
checking for dlltool... dlltool
checking for hppa64-hp-hpux11.23-ld... no
checking for ld... ld
checking for hppa64-hp-hpux11.23-nm... no
checking for nm... nm
checking for hppa64-hp-hpux11.23-ranlib... no
checking for ranlib... ranlib
checking for hppa64-hp-hpux11.23-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile


Links are now set up to build a native compiler for hppa64-hp-hpux11.23.
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fixinc/Makefile
config.status: creating gccbug
config.status: creating mklibgcc
config.status: creating mkheaders
config.status: creating auto-host.h
config.status: executing default commands
Bootstrapping the compiler
Make: line 64: syntax error. Stop.
*** Error exit code 1

Stop.



Line 64: INSTALL = /usr/local/src/gcc-3.4.3/gcc/install-sh -c


Must be the source I have...

I also tried Build-64a and Build-gcc64 - those fail as well...

Rgds...Geoff

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Geoff Wild
Honored Contributor

Re: Problem compiling DBD-Oracle-1.16 on 11iv2

Tried at least a dozen different ways compile GCC myself - from sources from GNU...no go..

But - I went back to original problem - this line here from above:

/usr/include/sys/ipc.h:51: error: parse error before "cid_t"

So, I:

cp -p /usr/include/sys/ipc.h /usr/include/sys/ipc.h.11iv2
and copied /usr/include/sys/ipc.h from my 11iv1 system - and voila - DBD-Oracle-1.16 compiled!

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.

Re: Problem compiling DBD-Oracle-1.16 on 11iv2

Well, thank you very much. I wish I could submit points to you for this workaround
Geoff Wild
Honored Contributor

Re: Problem compiling DBD-Oracle-1.16 on 11iv2

See above...
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.