http://download.savannah.gnu.org/releases-noredirect/linphone/misc
using your browser.
-Download lastest gtk+ win32 bundle from http://www.gtk.org
+Download lastest gtk+2 win32 bundle from http://www.gtk.org
Install all these three package in /:
c:\sources\
Within msys-git bash, do
cd /c/sources
-git clone git://git.savannah.nongnu.org/linphone.git --recursive
+git clone git://git.linphone.org/linphone.git --recursive
Building
you might see a process 'LVpSRV.exe' or something like this that eats 90% of cpu.
Kill it. Don't know what it is, but once killed, windows runs normally.
+#Compile and install tunnel (optional, available under proprietary licensing)
+
+cd tunnel && ./autogen.sh && ./configure --prefix=/usr --enable-shared --disable-static && make && make install
+
+#Build linphone itself:
#run autogen.sh after a git checkout or update
+
./autogen.sh
+
./configure --prefix=/opt/linphone --enable-shared --disable-static
+#note: in order to use the tunnel, append --enable-tunnel to the configure line above.
+
+#compile:
+
make
-#will install to /opt/linphone, required for compilation of plugins.
+
+#now install to /opt/linphone, required for compilation of plugins.
+
make install
+
#make a binary zip of linphone
+
make zip
+
#additionally you can make binary installer if you have Inno Setup 5 installed in its default path
+
make setup.exe
+
#now you're done, you have a fresh linphone windows installer in the current directory.
+
+
#build plugins
cd mediastreamer2/plugins/msx264
./autogen.sh
libgsm (from the web)
libxml2 (compiled)
libsoup (compiled)
+libsqlite3 (compiled)
Remarks:
For every package compiled that goes into linphone-deps, .la files (libtool files) must be removed to avoid libtool errors.
When running "make install DESTDIR=<somepath>", somepath must be absolute and should not contain any ~ or space.
+- building sqlite3
+ * download the sources on the following website:
+ http://www.sqlite.org/download.html (choose the sqlite-autoconf-3XXX.tar.gz)
+
+ * install:
+ ./configure
+ make && make install DESTDIR=/home/<myuser>/sqlite3-install
+ then copy the content of ~/sqlite3-install/usr/local/ into linphone-deps/.
+
- building ffmpeg
./configure --enable-shared --disable-static --enable-memalign-hack --extra-cflags="-fno-common" --enable-gpl && make
make install DESTDIR=/home/<myuser>/ffmpeg-install
./configure --enable-shared --disable-static && make && make install DESTDIR=/home/<myuser>/libxml2-install
copy ~/libxml2-install/usr/local/* into linphone-deps/.
+
- building x264:
* download yasm normal version windows executable from yasm project page: