configure: error: PTLib needs the GNU Project fast lexical analyzer generator flex
[root@localhost ptlib-2.12.8]# yum install flex
checking for ptlib-config... no
Cannot find ptlib - please install or set PTLIBDIR and try again
export PTLIBDIR=/root/ptlib-2.12.8
export PTLIB_CONFIG=/usr/local/lib/pkgconfig/ptlib.pc
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./configure: line 3877: /usr/local/lib/pkgconfig/ptlib.pc: Permission denied
chmod 777 /usr/local/lib/pkgconfig/ptlib.pc
/root/h323plus/openh323u.mak:67: /usr/local/make/ptbuildopts.mak: No such file or directory
修改openh323u.mak
#PTLIBDIR = /usr/local
PTLIBDIR = /root/ptlib-2.12.8
ln -s ptlib-2.12.8 ptlib
================
修改代码 :/root/h323plus/include/openh323buildopts.h
// PTLIB VERSION
#define PT_MAJOR_VERSION 2
#define PT_MINOR_VERSION 12
#define PT_BUILD_NUMBER 8
阅读(4328) | 评论(0) | 转发(0) |