mynlp / enju

English HPSG parser
Other
51 stars 15 forks source link

Yacc.h when making Enju #6

Closed yukiar closed 6 years ago

yukiar commented 6 years ago

We have a trouble to compile Enju on a docker container (Ubuntu 16.04), which says "yacc.h" is missing... (Bison is installed though.) We found the related issue and cloned the latest master branch, but the problem was unsolved. Here is the error message:

make[2]: Entering directory ‘/root/enju/ll/src’
depbase=`echo yacc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -DPKGDATADIR=“\”/usr/local/share/liblilfes\“” -I. -I../include/liblilfes  -I../include -I../include/liblilfes -I.  -fstrict-aliasing -W -Wall -g -O2 -MT yacc.lo -MD -MP -MF $depbase.Tpo -c -o yacc.lo yacc.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -DPKGDATADIR=\“/usr/local/share/liblilfes\” -I. -I../include/liblilfes -I../include -I../include/liblilfes -I. -fstrict-aliasing -W -Wall -g -O2 -MT yacc.lo -MD -MP -MF .deps/yacc.Tpo -c yacc.cc -o yacc.o
make[2]: *** No rule to make target ‘yacc.h’, needed by ‘yacc.hh’.  Stop.
make[2]: Leaving directory ‘/root/enju/ll/src’

Would you help?

miyao-yusuke commented 6 years ago

it appears I introduced a bug in a recent revision. this should be fixed in the latest version.

yukiar commented 6 years ago

Thank you very much! We'll try the latest version.