这是我在网上搜得编译方法
LINPHONE是LINUX下最有名的SIP软UA之一。满多人问如何编译,其实方法满简单的。列出来和大家分享,如果对这些方面有兴趣的欢迎交流
LINPHONE的编译(LINUX下的)
1、先装OSIP。建议下比较新的OSIP2。直接./configure make make install
2、装ORTP。在linphone下也有。直接./configure make make install
3、下载SPEEX。(新的linphone版本就不需要,我用的是1.1.0的,需要),然后安装
4、安装Linphone。直接./configure make make install
然后就可以用了。
OSIP2,ORTP成功安装,然后我以为我的1.6.0版本够高了就直接进行第四部,可是出错
checking for SPEEX... Package speex was not found in the pkg-config search path.Perhaps you should add the directory containing `speex.pc'
to the PKG_CONFIG_PATH environment variable
No package 'speex' found
configure: error: Package requirements (speex >= 1.1.6) were not met:
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables SPEEX_CFLAGS
and SPEEX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
所以我又下载了speex-1.1.10-1安装成功后
再进行第四部,但仍然出现同样的错了,烦死了,一周都没弄好,有谁弄过么?
whshuai | 07-05-16 18:10 |
步骤如下:
安装libosip2.2.2
安装readline
安装speex
安装ffmpeg(这个版本要选对,要不后面会出问题,我用的是ffmpeg_0.cvs20060823的这个版本)
安装SDL-1.2.11
最后就是安装linphone了(./configure后,要改两个地方,1.vi mediastreamer/tests/Makefile, 在LIBS=那里增加-lavutil,2.vi mediastreamer/src/Makefile, 在LIBS=那里增加-lavutil)