18 Linphone

V0.0.1

18.1 Histroy

  • 2014-06-27, rayoslee, release V0.0.1

18.2 FAQ

  1. How to buile Linphone for ubuntu ?
    • Install Required Libraries

      sudo apt-get install libtool intltool libgtk2.0-dev libosip2-dev libexosip2-dev\
      libspeexdsp-dev libavcodec-dev libswscale-dev libx11-dev libxv-dev\
      libgl1-mesa-dev libglew1.6-dev libv4l-dev libasound2-dev

    • Extract belle-sip-1.3.0.tar.gz and linphone-3.7.0.tar.gz

      tar -zxvf belle-sip-1.3.0.tar.gz
      tar -zxvf linphone-3.7.0.tar.gz

    • Compile Linphone

      cd belle-sip-1.3.0

      ./autogen.sh
      ./configure –disable-strict

      sudo make
      sudo make install
      sudo ldconfig

      cd linphone-3.7.0

      ./autogen.sh
      ./configure --disable-strict

      sudo make
      sudo make install
      sudo ldconfig

  2. How to build Linphone for S605-32 ?
    • Install Required Libraries and compile them
    export PLACE_INSTALL=/linphone
    cd libogg-1.2.2
    ./configure --prefix=$PLACE_INSTALL --host=arm-linux \
        --with-gnu-ld --disable-static \
        CC="/usr/local/arm_linux_4.2/bin/arm-linux-gcc -I$PLACE_INSTALL/include -L$PLACE_INSTALL/lib" \
        AR="/usr/local/arm_linux_4.2/bin/arm-linux-ar" \
        RANLIB="/usr/local/arm_linux_4.2/bin/arm-linux-ranlib"   
    
    sudo make
    sudo make install
    cd speex-1.2rc1
    ./configure --prefix=$PLACE_INSTALL --host=arm-linux \
        --with-gnu-ld --disable-static --enable-fixed-point --with-ogg=$PLACE_INSTALL \
        CC="/usr/local/arm_linux_4.2/bin/arm-linux-gcc -I$PLACE_INSTALL/include -L$PLACE_INSTALL/lib" \
        AR="/usr/local/arm_linux_4.2/bin/arm-linux-ar" \
        RANLIB="/usr/local/arm_linux_4.2/bin/arm-linux-ranlib"
    
    sudo make
    sudo make install
    cd readline-6.2
    ./configure --prefix=$PLACE_INSTALL --host=arm-linux \
        --with-gnu-ld --disable-static \
        CC="/usr/local/arm_linux_4.2/bin/arm-linux-gcc -I$PLACE_INSTALL/include -L$PLACE_INSTALL/lib" \
        AR="/usr/local/arm_linux_4.2/bin/arm-linux-ar" \
        RANLIB="/usr/local/arm_linux_4.2/bin/arm-linux-ranlib"
    
    sudo make
    sudo make install
    cd libosip2-3.5.0
    ./configure --prefix=$PLACE_INSTALL --host=arm-linux \
        --with-gnu-ld --disable-static \
        CC="/usr/local/arm_linux_4.2/bin/arm-linux-gcc -I$PLACE_INSTALL/include -L$PLACE_INSTALL/lib" \
        AR="/usr/local/arm_linux_4.2/bin/arm-linux-ar" \
        RANLIB="/usr/local/arm_linux_4.2/bin/arm-linux-ranlib"
    
    sudo make
    sudo make install
    cd libeXosip2-3.5.0
    ./configure --prefix=$PLACE_INSTALL --host=arm-linux \
        OSIP_CFLAGS="-I$PLACE_INSTALL/include" OSIP_LIBS="-L$PLACE_INSTALL/lib -losip2 -losipparser2" \
        CC="/usr/local/arm_linux_4.2/bin/arm-linux-gcc -I$PLACE_INSTALL/include-L$PLACE_INSTALL/lib" \
        AR="/usr/local/arm_linux_4.2/bin/arm-linux-ar" \
        RANLIB="/usr/local/arm_linux_4.2/bin/arm-linux-ranlib" \
        PKG_CONFIG_PATH="$PLACE_INSTALL/lib/pkgconfig"
    
    sudo make
    sudo make install
    • Compile Linphone
    cd linphone-3.4.3
    ./configure --prefix=$PLACE_INSTALL --host=arm-linux \
        --with-gnu-ld --disable-static --disable-glib --with-osip=$PLACE_INSTALL \
        --with-readline=$PLACE_INSTALL \
        SPEEX_CFLAGS="-I$PLACE_INSTALL/include" SPEEX_LIBS="-L$PLACE_INSTALL/lib -lspeex -lspeexdsp" \
        OSIP_CFLAGS="-I$PLACE_INSTALL/include" OSIP_LIBS="-L$PLACE_INSTALL/lib -losip2 -leXosip2 -losipparser2" \
        CC="/usr/local/arm_linux_4.2/bin/arm-linux-gcc -I$PLACE_INSTALL/include -L$PLACE_INSTALL/lib" \
        AR="/usr/local/arm_linux_4.2/bin/arm-linux-ar" \
        RANLIB="/usr/local/arm_linux_4.2/bin/arm-linux-ranlib" \
        --disable-video --disable-gtk_ui --enable-gtk_ui=no --enable-video=no
    
    sudo make
    sudo make install