Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to install autotools on windows machine(autoconf, automake, aclocal, libtoolize pkgconfig)

I want to build Linphone android project.I have already downloaded project but unable to follow instructions given in README.Not getting how to install autotools on windows machine.if someone has any idea please help me to install these tools.

like image 596
Ashwini Avatar asked Jun 01 '12 09:06

Ashwini


2 Answers

Install MingW or Cygwin: http://cygwin.com/install.html

You can choose which packages to install.

like image 187
fedelibre Avatar answered Sep 30 '22 10:09

fedelibre


well, you should first download all the needed dependencies like ndk version>=8 and Cygwin. you can find the ndk on the android developers site and unpack it at desired location.

Now download the cygwin installer, which is of few KB. when u starts the installer, it will search for the packages and the list of servers. choose a server which is close to your location. from the available package, download the complete Developers branch so that in future u don't get any new problem that u r missing some file or whatever.

after downloading it, install it with the help of Cygwin installer. the installation path should contain any sapce so better to install it at Drive:\Cygwin

now the next step is to setup the environment variable path for the bin directory of both NDK and Cygwin, so do it quickly.. nothing is as simple as this step is :)

now, all the dependencies are available to use. so start the cygwin shell, its similar to the normal CMD.

locate to the root directory of the project by executing the following command :

$ cd

this root directory must contain all the files like manifest files, makefiles and the most importent : prepare_sources.sh

now run the following command :

$ ./prepare_sources.sh /

this complete path to ndk is the path to the ndk-build file in the ndk unpacked source. in my case, its : G:/android-ndk-r8d-windows/android-ndk-r8d/ndk-build

Now hit Enter.. n you have completed the main task... now let the Cygwin handle everything including compilation of the native files n all. wait for the cygwin to complate the process... it would need the working high speed internet connection like broadband.

after completion of this process, import the project into eclipse and run it.. :)

I hope it would help you a little bit.. :)

like image 20
Prakash Avatar answered Sep 30 '22 10:09

Prakash