[GiNaC-list] ginsh_parser.yy error in Tiger.

Guangqiang Dong guangqiang.dong at utoronto.ca
Mon Aug 22 16:59:19 CEST 2005


Hi, there,

I am trying to install GiNaC in Mac osx 10.4.2 (Tiger) using  
darwinports. The error I get is:

--->  Building GiNaC with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/ 
var/db/dports/build/ 
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdat 
e_dports_math_GiNaC/work/ginac-1.3.2" && make all" returned error 2
Command output: make  all-recursive
Making all in ginac
make[2]: Nothing to be done for `all'.
Making all in check
make[2]: Nothing to be done for `all'.
Making all in ginsh
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../ginac -I../ginac - 
DIN_GINAC  -I/opt/local/include -I/opt/local/include -I/opt/local/ 
include  -g -O2 -MT ginsh_parser.o -MD -MP -MF ".deps/ 
ginsh_parser.Tpo" \
   -c -o ginsh_parser.o `test -f 'ginsh_parser.cc' || echo  
'./'`ginsh_parser.cc; \
then mv -f ".deps/ginsh_parser.Tpo" ".deps/ginsh_parser.Po"; \
else rm -f ".deps/ginsh_parser.Tpo"; exit 1; \
fi
ginsh_parser.yy:48:6: error: missing binary operator before token  
"wrapper"
ginsh_parser.yy:54:6: error: missing binary operator before token  
"wrapper"
ginsh_parser.yy:837:6: error: missing binary operator before token  
"wrapper"
ginsh_parser.yy:847:6: error: missing binary operator before token  
"wrapper"
ginsh_parser.yy:899:6: error: missing binary operator before token  
"wrapper"
ginsh_parser.yy: In function 'char** fcn_completion(const char*, int,  
int)':
ginsh_parser.yy:835: error: invalid conversion from 'const char*' to  
'char*'
ginsh_parser.yy:840: error: 'rl_filename_completion_function' was not  
declared in this scope
ginsh_parser.yy:840: error: 'rl_completion_matches' was not declared  
in this scope
ginsh_parser.yy:850: error: 'rl_completion_matches' was not declared  
in this scope
make[2]: *** [ginsh_parser.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Guangqiang





More information about the GiNaC-list mailing list