Building emacs 25.2 fails with “gcc: error: libgom

2019-08-19 02:01发布

On Oracle Linux 6.9 (similar to Centos) I try to build GNU Emacs 25.2. make fails on

CCLD     temacs

with

gcc: error: libgomp.spec: No such file or directory

Same problem occurs when building Emacs 25.3.

The strange things is: I did build Emacs 25.2 six months ago on the same machine and it built fine, but now the exact same tarball gives the above mentioned error.

Any idea what causes this and how to fix it?

1条回答
Melony?
2楼-- · 2019-08-19 02:51

Thanks to @lawlist's probing in the comments I got on the right track to pinpoint the problem:

During the last couple of months V6 of gcc was installed and this version doesn't seem to have the needed packages containing libgomp.spec.

My solution was to switch back to V4 of gcc and everything went smoothly through.

查看更多
登录 后发表回答