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

Re: [reSIProcate-users] Compilation error?


On 29/01/14 03:32, calibu taranjik 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?


You need the cajun-jsonapi package (libcajun-dev package on Debian/Ubuntu)

It has just been pushed to Fedora 19 and 20 stable repositories today,
EPEL in another week or so



>
> 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/