0
我试图编译cld,当我运行./configure && make
我得到这个错误:编译CLD未能在Ubuntu
configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."
运行时:
cd cld/ports/python
make install
我得到:
sudo python -u setup.py install
running install
running build
running build_ext
building 'cld' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/cld -I/usr/include/python2.7 -c pycldmodule.cc -o build/temp.linux-x86_64-2.7/pycldmodule.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
pycldmodule.cc:9:57: fatal error: encodings/compact_lang_det/compact_lang_det.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
make: *** [install] Error 1
任何线索? configure
前
或可能'autoreconf -i' – mgilson
@mgilson耶丢失的文件应安装过。我将它添加到我的答案以及详细输出。 –
仅供参考,我首先必须'sudo apt-get install automake'。谢谢大家帮助。 :) – Ansd