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

Re: [reSIProcate] Building latest SVN



On 27/12/13 03:13, Nathan Stratton wrote:
> Hmm, so it wont work with contrib that is in the svn tree? When I try
> with that I get:
> 
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -DRESIP_OSTYPE_LINUX
> -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU
> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/libdb4 -DUSE_DNS_VIP -DNDEBUG -g -Wall -Wno-deprecated
> -MT librepro_la-Registrar.lo -MD -MP -MF
> .deps/librepro_la-Registrar.Tpo -c Registrar.cxx -o
> librepro_la-Registrar.o >/dev/null 2>&1
> ReproRunner.cxx: In member function 'virtual bool
> repro::ReproRunner::loadPlugins()':
> ReproRunner.cxx:440: error: 'REPRO_DSO_PLUGIN_DIR_DEFAULT' was not
> declared in this scope


Some changes like this involve a change to the configure script and
Makefile.am

You need to refresh the generated Makefiles:

cd $TOP_LEVEL_OF_YOUR_SOURCE_TREE

autoreconf -fi

./configure ....

For convenience you can look in config.log to find the arguments from
last time you ran configure and you can look in our CI scripts at
build/travis/* for some stuff you can cut and paste

If you --enable-python you will also need the PyCXX code, it is not
currently in contrib.