所以,说到linux,我绝对是个0,现在我一直在努力安装一个数据分析所需的软件包
这个包是spt3g,我正在尝试将它安装到CentOS 7系统中。我没有根访问权限,所以我在miniconda环境中运行所有操作。我的CMake版本是3.17.0,GCC是7.3.0,Boost是1.73&;Python是3.8.2
当我尝试执行安装过程(即cd spt3g、mkdir build、cd build、cmake..、make)时,出现25%的错误:
spt3g/core/src/G3Timestream.cxx:11:10: fatal error: FLAC/stream_encoder.h: No such file or directory
include FLAC/stream_encoder.h
编辑:我通过使用以下版本设法达到91%的安装率:CMake:3.17.2,GCC:4.8.5,Boost:1.53.0&;Python:3.8.2。 在这种情况下,我得到的错误如下:
spt3g/maps/src/FlatSkyMap.cxx: In function ‘boost::python::api::object flatskymap_getitem_2d(const FlatSkyMap&, boost::python::tuple)’:
spt3g/maps/src/FlatSkyMap.cxx:771:18: error: ‘slice’ is not a member of ‘bp’
if (bp::extract<bp::slice>(coords[0]).check()) {
^
spt3g/maps/src/FlatSkyMap.cxx:771:18: error: ‘slice’ is not a member of ‘bp’
spt3g_software-master/maps/src/FlatSkyMap.cxx:771:27: error: template argument 1 is invalid
if (bp::extract<bp::slice>(coords[0]).check()) {
^
spt3g/maps/src/FlatSkyMap.cxx:773:3: error: ‘slice’ is not a member of ‘bp’
bp::slice yslice = bp::extract<bp::slice>(coords[0]);
^
spt3g/maps/src/FlatSkyMap.cxx:773:13: error: expected ‘;’ before ‘yslice’
bp::slice yslice = bp::extract<bp::slice>(coords[0]);
^
spt3g/maps/src/FlatSkyMap.cxx:774:3: error: ‘slice’ is not a member of ‘bp’
bp::slice xslice = bp::extract<bp::slice>(coords[1]);
^
spt3g/maps/src/FlatSkyMap.cxx:774:13: error: expected ‘;’ before ‘xslice’
bp::slice xslice = bp::extract<bp::slice>(coords[1]);
^
spt3g/maps/src/FlatSkyMap.cxx:779:7: error: ‘yslice’ was not declared in this scope
if (yslice.start().ptr() != Py_None)
^
spt3g/maps/src/FlatSkyMap.cxx:783:7: error: ‘yslice’ was not declared in this scope
if (yslice.stop().ptr() != Py_None)
^
spt3g/maps/src/FlatSkyMap.cxx:787:7: error: ‘yslice’ was not declared in this scope
if (yslice.step().ptr() != Py_None)
^
spt3g/maps/src/FlatSkyMap.cxx:789:7: error: ‘xslice’ was not declared in this scope
if (xslice.start().ptr() != Py_None)
^
spt3g/maps/src/FlatSkyMap.cxx:793:7: error: ‘xslice’ was not declared in this scope
if (xslice.stop().ptr() != Py_None)
^
spt3g/maps/src/FlatSkyMap.cxx:797:7: error: ‘xslice’ was not declared in this scope
if (xslice.step().ptr() != Py_None)
^
At global scope:
cc1plus: error: unrecognized command line option "-Wno-self-assign-overloaded" [-Werror]
cc1plus: error: unrecognized command line option "-Wno-constant-conversion" [-Werror]
cc1plus: error: unrecognized command line option "-Wno-deprecated-register" [-Werror]
cc1plus: error: unrecognized command line option "-Wno-unknown-warning-option" [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [maps/CMakeFiles/maps.dir/src/FlatSkyMap.cxx.o] Error 1
make[1]: *** [maps/CMakeFiles/maps.dir/all] Error 2
make: *** [all] Error 2
最后,我知道这个软件包可以工作,因为我在笔记本电脑上安装了它,但无法在这里运行分析,因为我的CPU没有冷却系统(分析脚本使用了所有这些)
对于从头开始安装此软件包的任何帮助,我们将不胜感激。谢谢
目前没有回答
相关问题 更多 >
编程相关推荐