/libtool: eval: line 964: syntax error near unexpected token `|’

ERROR:

../libtool: eval: line 950: syntax error near unexpected token `|’

You can ignore the line number, it depends on which program you are compiling. After some debugging, I find out that it looks like this was being caused by NM not being defined. Appears that it was being concatenated with a number of other commands within Libtool. When NM evaluated to nothing, this resulted in the syntax error mentioned above.

To fix execute the following command:

export NM=nm

And then execute ./configure again.

=============================

http://rogeriomoraes.com/wp/?p=37

你可能感兴趣的:(expect)