[Pythonmac-SIG] SWIG Install problem.

Louis Pecora pecora at anvil.nrl.navy.mil
Wed Dec 7 20:04:06 CET 2005


Here is the output of the 'make' command after my ./configure command. 
Again the only difference from your successful output in the beginning 
is my output shows g++ being used in place of gcc for you.  But then in 
line 5 (I think I counted right) an error of some type occurs.  What the 
heck is going on?  Sigh.

Thanks for taking the time to help.  I'm stumped.

louispec% make
make  all-am
depbase=`echo CParse/cscanner.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H     -I../Source/Include -I../Source/CParse 
-I../Source/Include -I../Source/DOH -I../Source/CParse 
-I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -g -O2 
-Wall -W -ansi -pedantic -MT CParse/cscanner.o -MD -MP -MF 
"$depbase.Tpo" -c -o CParse/cscanner.o CParse/cscanner.c; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 
1; fi
In file included from CParse/cscanner.c:18:
parser.y:1252: error: parse error before `throw'
parser.y:1266: error: parse error before `throw'
make[2]: *** [CParse/cscanner.o] Error 1
make[1]: *** [all] Error 2
make: *** [source] Error 2
Exit 2


Lou Pecora

Code 6362
Naval Research Lab
Washington, DC  20375
Ph:  +202-767-6002
email:  pecora at anvil.nrl.navy.mil

More information about the Pythonmac-SIG mailing list