Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Step 1: Firstly I Downloaded NDK on my Mac with the new Android SDK pkg. Then gaved the PATH of my NDK folder in ADT -> Preferences -> Android -> NDK

Step 2: Then i installed Autotools using this link (Only Followed Commands written under point: 2.3 How do I install the Autotools (as user)?) ndk_build

Step 3: After that i downloaded linphone-android using Terminal using -

git clone git://git.linphone.org/linphone-android.git --recursive
Now i want to follow these steps : Step 4: Go to root directory of the downloaded project using command on Terminal:

$ cd /home/my_downloaded_project_path/linphone-android

And then Step 5:

$ ./prepare_sources.sh /home/android-ndk-r7b/ndk_build

I compile this
./prepare_sources.sh /home/android-ndk-r7b/ndk_build

and get the errors

CSS
$ ./prepare_sources.sh /home/android-ndk-r7b/ndk_build
using /home/android-ndk-r7b/ndk_build as android NDK
./prepare_sources.sh: line 23: git: command not found
./prepare_sources.sh: line 23: grep: command not found
Applying patch to ffmpeg
./prepare_sources.sh: line 26: patch: command not found
./prepare_sources.sh: line 29: ./autogen.sh: No such file or directory
iLBC prepare stage failed
./prepare_sources.sh: line 31: ./configure: No such file or directory
VP8 prepare stage failed.
./prepare_sources.sh: line 33: ./autogen.sh: No such file or directory
SILK audio plugin prepare state failed.
./prepare_sources.sh: line 35: cp: command not found
SRTP prepare state failed.
./prepare_sources.sh: line 37: cd: /home/linphone-android-master/submodules/linphone/mediastreamer2/src/: No such file or directory
./prepare_sources.sh: line 39: cat: command not found
./prepare_sources.sh: line 39: grep: command not found
./prepare_sources.sh: line 39: grep: command not found
./prepare_sources.sh: line 39: sed: command not found
./prepare_sources.sh: line 40: cat: command not found
./prepare_sources.sh: line 40: grep: command not found
./prepare_sources.sh: line 40: grep: command not found
./prepare_sources.sh: line 40: sed: command not found
yuv2rgb.vs.h creation error (do you have 'xxd' application installed ?)
/home/linphone-android-master/submodules/mssilk


please help me to resolve this
Posted
Comments
Richard MacCutchan 4-Jul-15 3:44am    
Your path variable does not include the directory where those commands (git, grep ...) are stored.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900