mkdir -p Lib
test -z "1" || (cd CCache && make)
echo "/* SWIG warning codes */" > Lib/swigwarn.swg
cat Source/Include/swigwarn.h | grep "^#define WARN\|/\*.*\*/\|^[ \t]*$" | sed 's/^#define \(WARN.*[0-9][0-9]*\)\(.*\)$/%define SWIG\1 %enddef\2/' >> Lib/swigwarn.swg
make[1]: Entering directory '/root/swig/CCache'
gcc -g -O2 -Wall -W -I. -c -o ccache.o ccache.c
gcc -g -O2 -Wall -W -I. -c -o mdfour.o mdfour.c
gcc -g -O2 -Wall -W -I. -c -o hash.o hash.c
make[1]: Entering directory '/root/swig/Source'
/bin/bash ../Tools/config/ylwrap CParse/parser.y y.tab.c CParse/parser.c y.tab.h `echo CParse/parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output CParse/parser.output -- yacc -d
../Tools/config/ylwrap: line 176: yacc: command not found
Makefile:993: recipe for target 'CParse/parser.c' failed
make[1]: *** [CParse/parser.c] Error 127
make[1]: Leaving directory '/root/swig/Source'
Makefile:37: recipe for target 'source' failed
make: *** [source] Error 2
make: *** Waiting for unfinished jobs....
해결방법
$ sudo apt-get install bison
'리눅스 > 문제해결' 카테고리의 다른 글
우분투(ubuntu) 16.04에서 swig 업그레이드 방법 링크 (0) | 2017.11.26 |
---|---|
Ubuntu 16.04 brew(Homebrew) 설치하기 - 링크 (0) | 2017.11.26 |
Could not find a package configuration file provided by "dynamic_reconfigure" (0) | 2017.11.18 |
Could not find a package configuration file provided by "nodelet" (0) | 2017.11.18 |
404 Not Found [IP: 91.189.88.161 80] (0) | 2017.04.07 |