Hi! On Mon, Sep 10, 2007 at 11:30:55PM +0200, Hans-Jürgen Greif wrote:
I got some errors at the end of make procedure:
[Unbroke lines to make error messages readable]
Making all in check make[2]: Nothing to be done for `all'. Making all in ginsh sed -n -f ./ginsh_fcn_help.sed <ginsh.1 >ginsh_fcn_help.h sed -n -f ./ginsh_op_help.sed <ginsh.1 >ginsh_op_help.h if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../ginac -I../ginac -DIN_GINAC -I/usr/local/include -g -O2 -MT ginsh_parser.o -MD -MP -MF ".deps/ ginsh_parser.Tpo" -c -o ginsh_parser.o ginsh_parser.cc; \ then mv -f ".deps/ginsh_parser.Tpo" ".deps/ginsh_parser.Po"; else rm -f ".deps/ginsh_parser.Tpo"; exit 1; fi ../../GiNaC/ginsh/ginsh_parser.yy:51:6: error: missing binary operator before token "wrapper" ../../GiNaC/ginsh/ginsh_parser.yy:57:6: error: missing binary operator before token "wrapper" ../../GiNaC/ginsh/ginsh_parser.yy:863:6: error: missing binary operator before token "wrapper" ../../GiNaC/ginsh/ginsh_parser.yy:873:6: error: missing binary operator before token "wrapper" ../../GiNaC/ginsh/ginsh_parser.yy:927:6: error: missing binary operator before token "wrapper" ../../GiNaC/ginsh/ginsh_parser.yy: In function 'char** fcn_completion(const char *, int, int)': ../../GiNaC/ginsh/ginsh_parser.yy:861: error: invalid conversion from 'const char*' to 'char*' ../../GiNaC/ginsh/ginsh_parser.yy:866: error: 'rl_filename_completion_function' was not declared in this scope ../../GiNaC/ginsh/ginsh_parser.yy:866: error: 'rl_completion_matches' was not declared in this scope ../../GiNaC/ginsh/ginsh_parser.yy:876: error: 'rl_completion_matches' was not declared in this scope
Really, really reject non-GNU libreadline. --- acinclude.m4 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 11c8039..dd7299c 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -26,7 +26,7 @@ int main() return 0; }], [ dnl Some non-GNU readline implementations have non-numeric rl_library_version -ginac_cv_rlversion=`sed -e 's/[^0-9.]//g' 'conftest.out'`], [ ginac_cv_rlversion='unknown'], [ ginac_cv_rlversion='4.2'])]) +ginac_cv_rlversion=`sed -e 's/[[^0-9.]]//g' 'conftest.out'`], [ ginac_cv_rlversion='unknown'], [ ginac_cv_rlversion='4.2'])]) if test -z "$ginac_cv_rlversion"; then GINAC_WARNING([Unsupported version of libreadline.]) ginac_cv_rlversion='unknown' -- 1.4.4.4 Best regards, Alexei -- All science is either physics or stamp collecting.