libjingle0.4のインストールしなおし

わかりやすい記事があったのでやってみる
Live your life.....: Compiling libjingle on Ubuntu Feisty Fawn or Ubuntu Gutsy Gibbon


sudo apt-get install build-essential
sudo apt-get install libexpat1 libexpat1-dev libspeex1 libspeex-dev libssl-dev openssl
sudo apt-get install libasound2-dev
sudo apt-get install libogg-dev
wget http://downloads.us.xiph.org/releases/speex/speex-1.1.12.tar.gz
tar -zxvf speex-1.1.12.tar.gz
cd speex-1.1.12/
./configure
make
sudo make install
sudo apt-get install libglib2.0-dev
wget http://download.savannah.nongnu.org/releases/linphone/ortp/sources/ortp-0.7.1.tar.gz
tar -zxvf ortp-0.7.1.tar.gz
cd ortp-0.7.1
./configure
make
sudo make install
wget http://download.savannah.gnu.org/releases/linphone/1.7.x/sources/msilbc-2.0.0.tar.gz
tar zxf msilbc-2.0.0.tar.gz
cd msilbc-2.0.0
tar zxf ilbc-rfc3951.tar.gz
cd ilbc-rfc3951
./configure --prefix=/usr
make
sudo make install
wget http://libjingle.googlecode.com/files/libjingle-0.4.0.tar.gz
tar -zxvf libjingle-0.4.0.tar.gz
cd libjingle-0.4.0
sudo mkdir /opt/libjingle
./configure --prefix=/opt/libjingle


libjingleのソースを修正してmake - 橋本詳解をやる



talk/base/unixfilesystem.cc を編集

bool UnixFilesystem::GetTemporaryFolderI(Pathname &pathname, bool create,
				    const std::string *append) {
  pathname.SetPathname("/tmp");
  if (append) {
    pathname.AppendFolder(*append);
    if (create)
      CreateFolder(pathname);
  }
}

から

bool UnixFilesystem::GetTemporaryFolderI(Pathname &pathname, bool create,
				    const std::string *append) {
  pathname.SetPathname("/tmp");
  if (append) {
    pathname.AppendFolder(*append);
    if (create)
      CreateFolder(pathname);
  }
  return true;
}

に変更

make

で、やっぱりlinphoneまわりでエラーがでてコンパイル通らない