spidermonkey formula is missing gawk as a dependency #751
Comments
I don't seem to remember needing gawk for Spidermonkey. Can you provide build error output? |
Sure. See http://gist.github.com/306696 |
Well it's actually autoconf 2.13 that is failing, Spidermonkey doesn't depend on gawk. Its build dependency Autoconf 2.13 does. But having said that, I just built spidermonkey without installing gawk on both 10.5 and 10.6. |
Autoconf should be able to use both awk and gawk. My guess is you have some env variable set that make autoconf choose gawk over awk? Or something like that. |
hmm, autoconf213 is installed and I don't know what I have done to make it choose gawk over awk. Sorry for the false alarm, maybe I simply messed something up with my system. |
np, it's still a bug to solve. My guess could be totally wrong, but it seems like a good first for the investigation. grep over the output from env perhaps? |
I did grep over env, but I could not find anything suspicious. Is there some options to make the build output more verbose? |
You will have to add some parameter to the autoconf line in the formula to make autoconf more verbose. |
It seems gawk is hardcoded in my /usr/local/Cellar/autoconf213/2.13/bin/autoconf213#40: Any ideas? |
I don't understand. You say it is hardcoded to gawk but then you show that actually it's hard coded to awk. |
arg, sorry, c&p mistake. It was |
OK, so I can see in the autoconf configure:
Which suggests it is likely you had gawk in your PATH when you installed autoconf213, and that became hardcoded (fuck knows why they would do that!). Try uninstalling and reinstalling autoconf213. |
Closed by d688e35; Force autoconf213 to use awk |
You're right. It's working now. What a nasty "bug"! |
When I rejiggled the args list into a modern format I missed the very last line. My apologies. Fixes: https://github.com/Homebrew/homebrew-versions/pull/712#issuecomment-90249936 Closes Homebrew#751. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
I discovered that the spidermonkey Formula is missing gawk in it's dependencies and this was the reason I was unable to build spidermoneky. After
brew install gawk
spidermonkey could be installed without any problems.The text was updated successfully, but these errors were encountered: