Ubuntu下编译Libjingle


Ubuntu下编译Libjingle
 
$ gclient config http://libjingle.googlecode.com/svn/trunk 
   生成.gclient文件  www.2cto.com  
$ gclient sync                获取源代码
 
$ gclient runhooks         生成Makefile文件
 
执行runhooks 这步会出现如下几个错误 :
  www.2cto.com  
Updating projects from gyp files...
Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'nss' found
 
安装这个包即可 :apt-get install libnss3-dev
 
Updating projects from gyp files...
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
 
安装这个包即可 :apt-get install libgtk2.0-dev
 
下来 cd  trunk 目录, 已经有Makefile 文件了,
 
直接Make
 

相关内容

    暂无相关文章