Commit d3170478 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

Fix homebrew README (MacOSX): user must install gtk+ --without-x11 to avoid...

Fix homebrew README (MacOSX): user must install gtk+ --without-x11 to avoid segmentation fault at launch
parent 080cb978
......@@ -3,8 +3,10 @@
## Build prerequisite
* Xcode (download from apple or using appstore application)
* Java SE
* [HomeBrew]( or [Macports](
* [Java SE]( or openJDK
This is required to generate a C sourcefile from SIP grammar using [antlr3]( generator.
* [HomeBrew]( or [Macports](
* [XQuartz]( for GTK version.
### Dependencies
......@@ -41,21 +43,19 @@ Install `GTK`. It is recommended to use the `quartz` backend for better integrat
##### Linphone library (liblinphone)
brew install automake intltool libtool pkg-config coreutils \
yasm nasm wget imagemagick speex ffmpeg
#then you have to install some dependencies from a tap.
brew tap Gui13/linphone
brew install antlr3.2 libantlr3.4c mattintosh4/gtk-mac-integration/gtk-mac-integration
brew install intltool libtool wget pkg-config automake libantlr3.4c \
antlr3.2 gettext speex ffmpeg readline
ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
brew link --force gettext
##### Linphone UI (GTK version)
brew install gettext pygtk gtk+
brew link gettext --force
brew install gtk+ --without-x11
brew install gettext gtk-mac-integration
#readline is required from linphonec.c otherwise compilation will fail
brew link readline --force
### Building Linphone
The next pieces need to be compiled manually.
......@@ -122,7 +122,7 @@ The libvpx build isn't able to produce dual architecture files. To workaround th
If you got the source code from git, run `./` first.
Then or otherwise, :
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/opt/local --disable-x11 --with-srtp=/opt/local --with-gsm=/opt/local --enable-zrtp --disable-strict && make
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/opt/local --with-srtp=/opt/local --with-gsm=/opt/local --enable-zrtp --disable-strict && make
* Install on the system
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment