linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Errors compiling linphone 3.5.2 in Mac OS X - libe


From: Álvaro Serrano
Subject: [Linphone-developers] Errors compiling linphone 3.5.2 in Mac OS X - libeXosip2 to blame?
Date: Tue, 27 Nov 2012 17:43:22 +0100

Hello everyone,

I'm trying to install linphone 3.5.2 on Mac OS X Mountain Lion but I'm having some issues. I have followed the instructions in the file README.macos down to the letter. I got the sources from git. 

I have these dependencies installed with macports:
speex @1.2rc1_0 (active)
libosip2 @3.5.0_0 (active)
libeXosip2 @3.3.0_0 (active)      NOTEI have tried to install versions 3.5.0 and 3.6.0 manually instead of using macports but I have not been able to do so.
ffmpeg-devel @20120917_0+gpl2+mmx
ffmpeg-devel @20121031_0+gpl2 (active)
libvpx @1.1.0_0 (active)
readline @6.2.000_0 (active)

I have not installed srtp and zrtpcpp, both of which are optional. Also, I had to manually install some dependencies (cairo and pango without x11) so that I could then install gtk2 without errors. I have sorted all that out, and managed to reach the point where I try to compile the tunnel.

According to the readme file:

- Compile and install the tunnel
If you got the source code from git, run ./autogen.sh first
Then or otherwise, do:
 $ ./configure --prefix=/opt/local && make && sudo make install

./autogen.sh runs fine, but the final step doesn't work. I tried to break the line down and type each piece separately:

./configure --prefix=/opt/local runs fine. 

However when I type make I get an error that seems related to the libeXosip2 library. I have been trying for two days and so far I've had no luck. As I said, I tried to manually install the latest versions of libeXosip2 (3.5.0 and 3.6.0) but I haven't been able to do it. Installation breaks down when attempting the 'make' command. Any help would be deeply appreciated.

Thanks in advance! 
Regards,
Alvaro.


PS: This is the final part of the output I get when I try to run make:

Now type 'make' to compile, and then 'make install' as root to install it.
Lupin:linphone aserranor$ make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/aserranor/documents/linphone/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive

(...)

finalizing index lists...
symbol cache used 6031/65536 hits=122228 misses=6031
lookup cache used 696/65536 hits=7573 misses=965
finished...
cd ../help/doc/html && tar cf html.tar *
Making all in coreapi
if test "3.5.2-816-gc6bd038" != "" ; then \
/bin/echo -n "#define LIBLINPHONE_GIT_VERSION \"3.5.2-816-gc6bd038\"" > liblinphone_gitversion.h.tmp ; \
elif test "c6bd038a6d2dcb179f643eaae6bcb8daf34a0976" != "" ; then \
/bin/echo -n "#define LIBLINPHONE_GIT_VERSION \"3.5.99.0_c6bd038a6d2dcb179f643eaae6bcb8daf34a0976\"" > liblinphone_gitversion.h.tmp ; \
else \
/bin/echo -n "" > liblinphone_gitversion.h.tmp ; \
fi
if test ! -f ./liblinphone_gitversion.h ; then \
cp -f liblinphone_gitversion.h.tmp ./liblinphone_gitversion.h ; \
fi
if test "`cat liblinphone_gitversion.h.tmp`" != "`cat ./liblinphone_gitversion.h`" ; then \
cp -f liblinphone_gitversion.h.tmp ./liblinphone_gitversion.h ; \
fi
rm -f liblinphone_gitversion.h.tmp ;
make  all-recursive
Making all in .
if test "3.5.2-816-gc6bd038" != "" ; then \
/bin/echo -n "#define LIBLINPHONE_GIT_VERSION \"3.5.2-816-gc6bd038\"" > liblinphone_gitversion.h.tmp ; \
elif test "c6bd038a6d2dcb179f643eaae6bcb8daf34a0976" != "" ; then \
/bin/echo -n "#define LIBLINPHONE_GIT_VERSION \"3.5.99.0_c6bd038a6d2dcb179f643eaae6bcb8daf34a0976\"" > liblinphone_gitversion.h.tmp ; \
else \
/bin/echo -n "" > liblinphone_gitversion.h.tmp ; \
fi
if test ! -f ./liblinphone_gitversion.h ; then \
cp -f liblinphone_gitversion.h.tmp ./liblinphone_gitversion.h ; \
fi
if test "`cat liblinphone_gitversion.h.tmp`" != "`cat ./liblinphone_gitversion.h`" ; then \
cp -f liblinphone_gitversion.h.tmp ./liblinphone_gitversion.h ; \
fi
rm -f liblinphone_gitversion.h.tmp ;
  CC       sal_eXosip2.lo
sal_eXosip2.c: In function 'sal_set_dscp':
sal_eXosip2.c:386: error: 'EXOSIP_OPT_SET_DSCP' undeclared (first use in this function)
sal_eXosip2.c:386: error: (Each undeclared identifier is reported only once
sal_eXosip2.c:386: error: for each function it appears in.)
make[4]: *** [sal_eXosip2.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Lupin:linphone aserranor$ 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]