I need to run a
configure file into my android phone so I think the best way to do this is to use the
adb shell command.
I'm running an Android emulator onto a Windows-7 platform, and there I'm running the
adb shell command into a DOS window. Using the
cd command I'm changing to the directory where my
configure file is, and then I'm executing the following command:
./configure. I'm getting the following error :
./configure: permission denied
So I try to run adb in root mode with
adb root -- but apparently my adb is already in root mode (Moreover I have the "#" character before each line of my adb shell).
I have also tried to use
chmod but I don't see any difference before and after executing this command (
ls -la), so maybe the problem is here (How can I run the
Maybe someone here can help me with my issue, and if you have also an explanation about why I don't have the permission to run my
configure file it will be great.
PS: My goal here is to use the net-snmp package on an Android platform by compiling the sources of this project directly onto the platform.
/sdcardis typically mounted with the
noexecflag in Android, so you can't execute binaries from it. I would recommend trying to move it to somewhere else (often
/data/localis used for things like that). See if that solves the problem.
/usr/local/tmpdirectory (the entire