[TIMOB-6482] Android: SCons: "awk" error when building in Ubuntu 10.04
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2011-12-13T09:58:19.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | n/a |
Components | Android |
Labels | branch-v8, release-note-1.8.0 |
Reporter | Michael Pettiford |
Assignee | Bill Dawson |
Created | 2011-12-06T09:48:53.000+0000 |
Updated | 2017-03-10T19:18:27.000+0000 |
Description
When using a machine running Ubuntu 10.04 without the Android NDK installed, installing the Android NDK (as of writing it is version r7), then using scons to build, the Android NDK gives this error when building,
"Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !"
Steps to reproduce:
1. Have a machine running Ubuntu 10.04 without the Android NDK installed
2. Install the Android NDK (making sure to add the required path variables to the .bashrc profile)
3. Scons the mobile sdk
Expected result:
Building with scons succeeds
Actual result:
Scons fails and prints this error Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
This is not related to anything we're doing. It's a known issue with NDK. cf http://stackoverflow.com/questions/8384213/android-ndk-revision-7-host-awk-tool-is-outdated-error Basically, in the "prebuilt/linux-x86" folder under the NDK installation folder, rename
awk
toawk_
. I've just gone through setting up on Ubuntu, and documented the requirements. I'll pass this on to whomever writes such guides. http://pastie.org/2988956We have a known workaround but it seems like there's nothing we can do on the platform side for this issue.
Closing ticket as the issue will not fix.