Eric Wang
2016-11-03 19:48:08 UTC
Hey guys,
I am trying to build swig from source code on Mac, I followed the instructions at http://swig.org/svn.html, I keep running into an error when run âmakeâ, which looks like
13:59:00 ~/swig$ make
make[1]: Entering directory `/Users/Eric/swig/Source'
make all-am
make[2]: Entering directory `/Users/Eric/swig/Source'
depbase=`echo CParse/parser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
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 -I/usr/local/Cellar/pcre/8.39/include -g -O2 -Wall -W -ansi -pedantic -MT CParse/parser.o -MD -MP -MF $depbase.Tpo -c -o CParse/parser.o CParse/parser.c &&\
mv -f $depbase.o $depbaasse.Po
mv: rename CParse/.deps/parser.o to .Po: No such file or directory
make[2]: *** [CParse/parser.o] Error 1
make[2]: Leaving directory `/Users/Eric/swig/Source'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/Users/Eric/swig/Source'
make: *** [source] Error 2
I am totally new to those command line build tools, I just follow the steps, and most of time I have no idea what exactly they are for. Can someone help me understand what was the problem here? Interesting though, when I built swig for the first time a few days ago, everything worked fine, and I do not think I changed anything except upgrading the system from Mac app store.
Thanks
Eric
I am trying to build swig from source code on Mac, I followed the instructions at http://swig.org/svn.html, I keep running into an error when run âmakeâ, which looks like
13:59:00 ~/swig$ make
make[1]: Entering directory `/Users/Eric/swig/Source'
make all-am
make[2]: Entering directory `/Users/Eric/swig/Source'
depbase=`echo CParse/parser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
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 -I/usr/local/Cellar/pcre/8.39/include -g -O2 -Wall -W -ansi -pedantic -MT CParse/parser.o -MD -MP -MF $depbase.Tpo -c -o CParse/parser.o CParse/parser.c &&\
mv -f $depbase.o $depbaasse.Po
mv: rename CParse/.deps/parser.o to .Po: No such file or directory
make[2]: *** [CParse/parser.o] Error 1
make[2]: Leaving directory `/Users/Eric/swig/Source'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/Users/Eric/swig/Source'
make: *** [source] Error 2
I am totally new to those command line build tools, I just follow the steps, and most of time I have no idea what exactly they are for. Can someone help me understand what was the problem here? Interesting though, when I built swig for the first time a few days ago, everything worked fine, and I do not think I changed anything except upgrading the system from Mac app store.
Thanks
Eric