< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] SQL dependency in repro?


On the main/head from github I am getting the following compile error when building repro:
g++ -DHAVE_CONFIG_H -I. -I.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -DREPRO_DSO_PLUGIN_DIR_DEFAULT=\"/usr/local/lib/resiprocate/repro/plugins\" -O2 -g -fPIC -DUSE_NETNS -DBUILD_FOR_VALGRIND -I/home/dpetrie/dev/resiprocate/contrib/cajun/include -I/home/dpetrie/dev/resiprocate/contrib/Netxx-0.3.2/include -Wall -Wno-deprecated -I/home/dpetrie/dev/resiprocate/rutil/dns/ares -MT librepro_la-RequestFilter.lo -MD -MP -MF .deps/librepro_la-RequestFilter.Tpo -c monkeys/RequestFilter.cxx  -fPIC -DPIC -o .libs/librepro_la-RequestFilter.o
monkeys/RequestFilter.cxx: In constructor 'repro::RequestFilter::RequestFilter(repro::ProxyConfig&, repro::Dispatcher*)':
monkeys/RequestFilter.cxx:59:73: error: cannot dynamic_cast '(& config)->repro::ProxyConfig::getDatabase(databaseIndex)' (of type 'class repro::AbstractDb*') to type 'class repro::SqlDb*' (target is not pointer or reference to complete type)
          mSqlDb = dynamic_cast<SqlDb*>(config.getDatabase(databaseIndex));
                                                                         ^
Has a MySql dependency been added to repro such that its now manditory to install some MySql package even if a SQL DB is not going to be use?

This is on Ubuntu, I tried adding libmysqlclient-dev, reran configure and make, but still got the same error.

Cheers,
Dan