configure: $NM is empty, causing "command not found"
Running autoconf (2.61), and then ./configure result in an error (ignored):
"./configure: line 39432: conftest.o: command not found"
This come from nobu's commit from yesterday
29706: (configure.in (rb_cv_export_prefix): check for prefixed underscore of exported symbols)
but seems to be a deeper issue, because the error is caused by $NM not being defined or empty at that time.
I searched around, and apparently the 'fi' at line 5324 of the generated configure does not match any 'if', but I could not look further as a 41688-lines generated file is hard to read.
Maybe this issue is from autoconf, I do not see any reason why it would not find my nm at /usr/bin/nm.
I join the configure executable generated.
- configure.in (NM): check on all platforms. #4031
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- configure.in: check only the first symbol to get rid of duplication. [ruby-core:33084] #4031
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Updated by Eregon (Benoit Daloze) over 8 years ago
$ grep -A1 export_prefix config.cache
I do not have any config.cache
However, config.log match (and is the only, except configure and configure.in):
configure:40468: WARNING: Cache variable rb_cv_export_prefix contains a newline.
configure:40571: creating ./config.status
configure:41710: WARNING: Cache variable rb_cv_export_prefix contains a newline.
I deleted the config.status, but nothing changed, even when restarting from zero (rm, autoconf, ./configure)
I still have it at every ./configure
The value of rb_cv_export_prefix seems to be:
(two underscores with a \n between)