Chinaunix
标题:
【求助】Linux下用make安装软件的时候出现编译错误,提示缺少omp.h这个文件
[打印本页]
作者:
唯iiii
时间:
2015-09-12 14:23
标题:
【求助】Linux下用make安装软件的时候出现编译错误,提示缺少omp.h这个文件
g++ -DHAVE_CONFIG_H -I. -I.. -std=c++0x -pedantic -fopenmp -Wall -Wextra -Wno-deprecated -m64 -g -O2 -MT IRKE_run.o -MD -MP -MF .deps/IRKE_run.Tpo -c -o IRKE_run.o IRKE_run.cpp
IRKE_run.cpp:9:17: 致命错误:omp.h:没有那个文件或目录
#include <omp.h>
^
编译中断。
make[2]: *** [IRKE_run.o] 错误 1
make[2]: Leaving directory `/home/xydu/00.software/trinity/trinityrnaseq-2.0.6/Inchworm/src'
make[1]: *** [install-recursive] 错误 1
make[1]: Leaving directory `/home/xydu/00.software/trinity/trinityrnaseq-2.0.6/Inchworm'
make: *** [inchworm_target] 错误 2
复制代码
作者:
唯iiii
时间:
2015-09-14 08:48
求大神指点
作者:
yyu0378
时间:
2015-09-14 10:49
不知道你啥系统的,这个debian的包,安装这个就可以啦
1.jpg
(46.51 KB, 下载次数: 76)
下载附件
2015-09-14 10:49 上传
作者:
唯iiii
时间:
2015-09-14 17:14
远程登的一个服务器,我是普通用户可以装这个吗?
回复
3#
yyu0378
作者:
yyu0378
时间:
2015-09-14 18:45
回复
4#
唯iiii
你先要确定你系统类型,我这个是给debian用的
作者:
唯iiii
时间:
2015-09-15 15:08
我的是红帽
回复
5#
yyu0378
作者:
yyu0378
时间:
2015-09-15 16:43
回复
6#
唯iiii
那就不是这个了,我只是举个例子,你自己找找看吧
作者:
唯iiii
时间:
2015-09-16 08:55
好的,谢了
回复
7#
yyu0378
作者:
chenyx
时间:
2015-09-16 10:33
楼主看看红帽有没有3楼那个名字的包,注意需要有-devel字样的,如果有,安装下应该就可以了
作者:
唯iiii
时间:
2015-09-16 10:41
好像找不到哎
回复
9#
chenyx
作者:
chenyx
时间:
2015-09-16 11:09
你机器gcc安装了没有啊
作者:
唯iiii
时间:
2015-09-18 20:18
不好意思这么长时间才回复,作为菜鸟表示我还不知道GCC是什么东西。。。
回复
11#
chenyx
作者:
chenyx
时间:
2015-09-21 08:10
gcc是linux的编译工具链软件包
作者:
唯iiii
时间:
2015-09-21 14:22
这个应该是安装了的,这台服务器是让多个用户用来进行科研跑数据用的
回复
13#
chenyx
作者:
chenyx
时间:
2015-09-22 08:17
yum provides */omp.h
我在我的机器上查询得出的是gcc的包,楼主看下你的机器上跑的结果是啥
作者:
唯iiii
时间:
2015-09-23 09:46
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.4 (#1, Sep 24 2014, 15:25:27)
[GCC 4.4.4 20100726 (Red Hat 4.4.4-13)]
If you cannot solve this problem yourself, please go to
the yum faq at:
***
复制代码
这是我运行的结果
回复
16#
chenyx
作者:
chenyx
时间:
2015-09-23 10:02
你的yum不好使啊,这个不好了
作者:
西欧宇宙
时间:
2015-09-26 20:19
进来学习了啊
作者:
唯iiii
时间:
2015-09-28 11:01
问题还没能解决
回复
19#
西欧宇宙
作者:
ftwl
时间:
2015-09-28 17:57
复制错误信息到百度 或者谷歌试试,一般都会有答案!!!
作者:
唯iiii
时间:
2015-09-29 08:50
如果能查到,就不会来论坛里问了
回复
21#
ftwl
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2