[Pdns-users] Oracle Backend Errors

Cody Lerum clerum at transaria.com
Mon Jan 16 23:55:36 UTC 2006


First time user of PowerDNS, and I'm trying to get the pdns sources
installed with goracle backend module.

I have installed the oracle instant client
(oracle-instantclient-basic-10.2.0.1-1.i386.rpm)

I can't get the source to build however. This is on a Fedora Core 2

Can someone point me in the right direction? I'm sure I'm missing
something basic.

Thanks!

-C

[root at pluto pdns-2.9.19]#./configure --with-modules="goracle"
[root at pluto pdns-2.9.20-svn]# ./configure --with-modules="goracle"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/tmp/pdns-2.9.20-svn/missing: Unknown `--run' option
Try `/tmp/pdns-2.9.20-svn/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
***
<output --- removed>
***
config.status: creating config.h
config.status: executing depfiles commands


[root at pluto pdns-2.9.19]# make
make  all-recursive
make[1]: Entering directory `/tmp/pdns-2.9.19'
Making all in modules
make[2]: Entering directory `/tmp/pdns-2.9.19/modules'
Making all in goraclebackend
make[3]: Entering directory `/tmp/pdns-2.9.19/modules/goraclebackend'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../.. -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public
-D_GNU_SOURCE  -Wall -O2 -MT goraclebackend.lo -MD -MP -MF
".deps/goraclebackend.Tpo" -c -o goraclebackend.lo goraclebackend.cc; \
then mv -f ".deps/goraclebackend.Tpo" ".deps/goraclebackend.Plo"; else
rm -f ".deps/goraclebackend.Tpo"; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/oracle/rdbms/demo
-I/opt/oracle/rdbms/public -D_GNU_SOURCE -Wall -O2 -MT goraclebackend.lo
-MD -MP -MF .deps/goraclebackend.Tpo -c goraclebackend.cc  -fPIC -DPIC
-o .libs/goraclebackend.o
In file included from goraclebackend.cc:16:
soracle.hh:9:17: oci.h: No such file or directory
In file included from goraclebackend.cc:16:
soracle.hh:28: error: syntax error before `*' token
soracle.hh:29: error: syntax error before `*' token
soracle.hh:30: error: syntax error before `*' token
soracle.hh:31: error: syntax error before `*' token
soracle.hh:35: error: 'sb2' is used as a type, but is not defined as a
type.
soracle.hh:37: error: syntax error before `*' token
soracle.hh:39: error: 'dsword' is used as a type, but is not defined as
a type.
make[3]: *** [goraclebackend.lo] Error 1
make[3]: Leaving directory `/tmp/pdns-2.9.19/modules/goraclebackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pdns-2.9.19/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pdns-2.9.19'
make: *** [all] Error 2



More information about the Pdns-users mailing list