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

Re: [reSIProcate-users] Compilation error?


This is how I do it when I configure resiprocate to use the built-in cajun distro


CXXFLAGS="-I${RESIPROCATE_SRCDIR} -I${RESIPROCATE_SRCDIR}/contrib/cajun/include" ./configure --prefix=${RESIPROCATE_INSTALLDIR} --with-c-ares --with-ssl --with-repro --enable-ipv6


replace ${RESIPROCATE_SRCDIR} where your source is located.


On 01/29/2014 10:02 PM, Scott Godin wrote:
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:


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/



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