Linphone compiling problems on osx

◇◆丶佛笑我妖孽 提交于 2019-12-04 21:04:59

Below is the details to configure the dependencies and build linphone.

==============================================================

Step: 1:- Dependency configuration:

I just followed the instruction which is available in "README.macos" upto sqlite3 configuration. I had some problem with dependancies configuration.

  1. Because of macport version, srtp configuration is failed. So I have downloaded "MacPorts-2.1.3-10.8-MountainLion.pkg" and installed manually.

  2. Because of GTK version, libsoup is failed. So I have downloaded "GTK_2.18.5-X11.pkg" and installed manually.

After the manual installation, I have followed "README.macos" again for reconfiguration.

NOTE: Sometime terminal won't recognize "wget". 
  --> Solution: just execute below command.
    echo 'alias wget="curl -O"' >> ~/.bash_profile

Step: 2:- Compile and Install:

I got some problem related to intltool while compiling.
Solution: just I set the path by executing below commands

 export PATH=$PATH:/opt/local/bin
    export MANPATH=$MANPATH:/opt/local/share/man
    export INFOPATH=$INFOPATH:/opt/local/share/info

Now it is successfully compiled and installed.

Step: 3:- Creating bundle to run the app:

Just I followed below commands to make the build.


If you want to generate a portable bundle, then install gtk-mac-bundler.
Use git:
 $ git clone https://github.com/jralls/gtk-mac-bundler.git 
 $ cd gtk-mac-bundler && make install
 $ export PATH=$PATH:~/.local/bin
 #make this dummy charset.alias file for the bundler to be happy:
 $ sudo touch touch /opt/local/lib/charset.alias

Then run, inside linphone source tree:
 1. Run configure as told before but with "--enable-relativeprefix" appended.

 $ make
 $ make bundle

It will create "linphone.app" file in current linphone directory. It will support only for "Mountain Lion".

Step: 4:- Support for lower version: (e.g.: Lion, Snow Leopard...)

We have to configure "libiconv hack" to supporting for lower version

I think it will help you.

Kevin Delord

I wrote an answer here. It's a bit long but I sincerely hope it is clear enough and will help you. It contains the build settings and other libs you need to include. Cool stuff I didn't need to run the make :)

Best,

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!