Hi,
use antlr3c make install
Next, configure belle sip --with-antlr= <antlr prefix>
Cheers
Hello,
I got the error, before I compiled successfully old version but bella-sip caused me to stuck. last 6 hours I try to find the problem. I installed antlr3 and run version:
bash-3.2# java org.antlr.Tool -version ANTLR Parser Generator Version 3.4
I took antlr3 full code from Linphone site but failed to build it.
I have put all headers (antlr3.h, ...) under:
/usr/local /usr/local/include /opt/local /opt/local/include
but without success.
Still get the same error, sounds like Linphone (belle-sip) doesn't see thes headers.
From configure.ac row 73:
# Checks for libraries.
# Checks for header files. AC_ARG_WITH( antlr, [ --with-antlr Set prefix where libantlr3c can be found (ex:/usr or /usr/local)[default=PREFIX] ], [ antlr_prefix=${withval}],[ antlr_prefix=${prefix} ])
found_antlr3=no if test "$antlr_prefix" != "NONE" ; then ANTLR_CFLAGS="-I${antlr_prefix}/include" ANTLR_LIBS="-L${antlr_prefix}/lib" fi
I see that it looks for under /opt/local/ but I have there headers
I tried to run it with antlr flag like:
./configure --prefix=/opt/local/ --with-antlr=/opt/local/include/
but get the same error
What should I do?
Snippets of ./configure log:
checking how to hardcode library paths into programs... immediate checking antlr3.h usability... no checking antlr3.h presence... no checking for antlr3.h... no checking whether antlr3StringStreamNew is declared... no checking whether res_ndestroy is declared... yes configure: error: Could not find antlr3 development files. Please install antlr3 version > 3.2 (libantlr3c-dev on debian/ubuntu systems)
Really strange
-- View this message in context: http://nongnu.13855.n7.nabble.com/Got-error-when-try-to-run-configure-for-belle-sip-package-on-Os-x-tp172052.html Sent from the linphone-developers mailing list archive at Nabble.com.
_______________________________________________ Linphone-developers mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-developers
|