linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] building sdks for iOS


From: Eli Burke
Subject: Re: [Linphone-developers] building sdks for iOS
Date: Wed, 29 Oct 2014 13:18:32 -0400

Anton,

In order to get antlr to work with brew, I had to install libantlr3c. Here is the install sequence I used when I built a Mavericks dev box (about 10 months ago, so I can’t promise it still works):

1) Brew:
• Install Brew: http://brew.sh/
• brew install coreutils automake autoconf libtool intltool gettext
• brew install wget pkgconfig cmake yasm doxygen ImageMagick optipng
• brew install libantlr3c
• brew tap homebrew/dupes
• brew install xz homebrew/dupes/grep
• sudo mkdir /opt
• sudo ln -s /usr/local /opt/local
• sudo mkdir -p /usr/local/share/java
• sudo cp spotbeam/submodules/externals/antlr3/antlr-3.4-complete.jar /usr/local/share/java
• ln -s /usr/local/share/java/antlr-3.4-complete.jar /usr/local/share/java/antlr3.jar
• brew link –force gettext
2) Install the latest JDK. http://www.oracle.com/technetwork/java/javase/downloads/index.html
3) Fix the environment
• edit path to ensure /usr/local/bin and /opt/local/bin come first
• link dev tools per README instructions (strings, perhaps also ar, libtoolize, etc)
4) update linphone's autogen.sh for the correct locations. vi submodules/linphone/autogen.sh
• aclocal is now /usr/local/share/aclocal

On Oct 28, 2014, at 9:25 AM, address@hidden wrote:

Message: 2
Date: Tue, 28 Oct 2014 11:49:39 +0100
From: Gautier Pelloux-Prayer
<address@hidden>
To: address@hidden
Subject: Re: [Linphone-developers] building sdks for iOS

Hi Anton,

Home-brew for Linphone is pretty experimental, we are using it internally only since this week so do not expect it to work fully immediately. 

In a first time, can you try to build linphone-iphone instead, which is simpler to build and confirm whether it works for you?

Thanks.

Gautier Pelloux-Prayer
Software Engineer @ Belledonne Communications

On 28 Oct 2014, at 09:05, Anton Pomozov <address@hidden> wrote:

Hi

I removed macports and trying to use homebrew:

checking whether res_ndestroy is declared... yes
checking for antlr3... no
configure: error: Could not find antlr.jar. Please install antlr3
make[1]: *** [/Users/user/Documents/iOS/linphone/submodules/build/../build-i386-apple-darwin/belle-sip/Makefile] Error 1
make: *** [broadcast_all] Error 2

$ brew info antlr3
antlr3: stable 3.4
http://www.antlr.org/
/usr/local/Cellar/antlr3/3.4 (3 files, 2.3M) *
Built from source
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/antlr3.rb

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]