我正在尝试安装工具Polyglot。当安装文件运行时,会发生错误。我安装了所有所需的软件包。错误是:
Running pycld2-0.31/setup.py -q bdist_egg --dist-dir /tmp/easy_install-mZGHbc/pycld2-0.31/egg-dist-tmp-TKDn8z
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
In file included from /usr/include/stdio.h:28:0,
from cld2/internal/scoreonescriptspan.h:76,
from cld2/internal/cldutil.h:25,
from cld2/internal/cldutil.cc:20:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1发布于 2015-05-27 07:09:02
错误是;
/usr/include/predefs.h ures.h:324:26:致命错误:位/predefs.h:没有这样的文件或目录
这主要表明您正在64位机器上构建32位,因此要解决这个问题。
尝试安装包gcc-multilib
sudo apt-get install gcc-multilib如果你已经有了,或者这不能用,那就试着安装
sudo apt-get install libc6-dev-i386https://askubuntu.com/questions/628783
复制相似问题