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

Re: [reSIProcate-users] Compilation error?


You are missing the Cajun package.  I understand this package is just in the process of being pushed to Debian/Ubuntu distros.  In the meantime, please direct autotools to use the cajun version that is in the contrib tree by using the -I directive.  See the following wiki package (the more complete example) for more info:

http://www.resiprocate.org/Quick_Subversion_Checkout_and_Compilation_HOWTO#reSIProcate_1.8_and_beyond:_autotools

Scott


On Tue, Jan 28, 2014 at 9:32 PM, calibu taranjik <kalibu@xxxxxxxxx> wrote:
Hi

I am trying to build from the tars. I downloaded the most recent resipro and the contrib tars. I did autoconf, ./configure --with-ssl --with-repro (gave no err) then make which gives the error below.

What am I missing?

in.lo -MD -MP -MF .deps/librepro_la-WebAdmin.Tpo -c WebAdmin.cxx -o librepro_la-WebAdmin.o >/dev/null 2>&1
mv -f .deps/librepro_la-WebAdmin.Tpo .deps/librepro_la-WebAdmin.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU  -g -O2 -Wall -Wno-deprecated -I/TEMP/resiprocate-1.9.0~rc2/rutil/dns/ares -MT librepro_la-WebAdminThread.lo -MD -MP -MF .deps/librepro_la-WebAdminThread.Tpo -c -o librepro_la-WebAdminThread.lo `test -f 'WebAdminThread.cxx' || echo './'`WebAdminThread.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -g -O2 -Wall -Wno-deprecated "-I/TEMP/resiprocate-1.9.0~rc2/rutil/dns/ares" -MT librepro_la-WebAdminThread.lo -MD -MP -MF .deps/librepro_la-WebAdminThread.Tpo -c WebAdminThread.cxx  -fPIC -DPIC -o .libs/librepro_la-WebAdminThread.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -g -O2 -Wall -Wno-deprecated "-I/TEMP/resiprocate-1.9.0~rc2/rutil/dns/ares" -MT librepro_la-WebAdminThread.lo -MD -MP -MF .deps/librepro_la-WebAdminThread.Tpo -c WebAdminThread.cxx -o librepro_la-WebAdminThread.o >/dev/null 2>&1
mv -f .deps/librepro_la-WebAdminThread.Tpo .deps/librepro_la-WebAdminThread.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU  -g -O2 -Wall -Wno-deprecated -I/TEMP/resiprocate-1.9.0~rc2/rutil/dns/ares -MT librepro_la-AccountingCollector.lo -MD -MP -MF .deps/librepro_la-AccountingCollector.Tpo -c -o librepro_la-AccountingCollector.lo `test -f 'AccountingCollector.cxx' || echo './'`AccountingCollector.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -g -O2 -Wall -Wno-deprecated "-I/TEMP/resiprocate-1.9.0~rc2/rutil/dns/ares" -MT librepro_la-AccountingCollector.lo -MD -MP -MF .deps/librepro_la-AccountingCollector.Tpo -c AccountingCollector.cxx  -fPIC -DPIC -o .libs/librepro_la-AccountingCollector.o
AccountingCollector.cxx:8:31: fatal error: cajun/json/reader.h: No such file or directory
compilation terminated.
make[3]: *** [librepro_la-AccountingCollector.lo] Error 1
make[3]: Leaving directory `/TEMP/resiprocate-1.9.0~rc2/repro'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/TEMP/resiprocate-1.9.0~rc2/repro'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/TEMP/resiprocate-1.9.0~rc2'
make: *** [all] Error 2



thanks

_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/