[Pythonmac-SIG] SWIG Install problem.

Louis Pecora pecora at anvil.nrl.navy.mil
Tue Dec 6 23:40:00 CET 2005


Rob Managan wrote:

> [cut]


>
> [mangrove:~/Documents/My_Downloads/swig-1.3.27] managan% make
> make  all-am
> depbase=`echo CParse/cscanner.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
> if gcc -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
> depbase=`echo CParse/parser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
> if gcc -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/parser.o -MD -MP -MF 
> "$depbase.Tpo" -c -o CParse/parser.o CParse/parser.c; \
> then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; 
> exit 1; fi
> depbase=`echo CParse/templ.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
> ...
>
> I notice that yours has "if g++ -D... " while mine uses gcc there. 
> Check configure output against mine and see if there are differences.
>
> I am running OSX 10.3.9 (Panther) so it may be a gcc 3.3 versus 3.4 
> problem.
>

I am running 10.3.9, too.  Thanks for giving me something (successful) 
to compare to.

-- 
Cheers,

Lou Pecora

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



More information about the Pythonmac-SIG mailing list