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