我在OpenSuse 13.2上工作,对操作系统不是很熟悉。我一直在尝试通过zypper安装一个包,
sudo zypper python-rdkit
但是我得到了以下错误:
Repository 'packman' is invalid [packman|http://ftp.gwdg.de/pub/linux/packman/suse/13.2/] Valid metadata not found at specified URL
所以我去检查了URL,它实际上已经不存在了。因此,我首先尝试使用以下命令更新packman存储库:
sudo zypper ar -f htt
我试图在静态模式下配置agent2d足球2d模拟库,但是我得到了这个错误!
configure: error: *** -lm not found! **
我在命令行中输入以下命令
make uninstall
make clean
make distclean
configure --disable-shared CXXFLAGS="-02 -march=i686"
下面是我的配置日志:
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-comp
#include <iostream>
#include <map>
using namespace std;
int main()
{
int x = 5;
decltype(x) y = 10;
map<int, int> m;
decltype(m) n;
decltype(m)::iterator it;
}
g++ -std=c++0x main.cpp
main.cpp: In function `int main()':
main.cpp:11: error: expected initia
这个问题与相关,应该很容易解决。然而,我的搜索没有找到任何有用的东西。
本质上,我们有两个32位操作系统(RedHat和SuSE)在不同的机器上使用相同的硬件。两者都使用相同的JVM,都执行相同的命令行。RedHat运行得很好,但SuSE报告说内存不足。
我们只需要知道这是不是我们正在使用的SuSE版本的限制,或者是其他原因。
‘'cat /proc/version’为我们提供了:
Linux version 2.6.5-7.244-bigsmp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Mon Dec 12 1