我正在Red Hat机器上构建cx_Oracle 5.3。
我跑
python setup.py build
并收到以下错误消息:
In file included from /xy/Anaconda3/include/python3.5m/Python.h:11:0,
from src/cx_Oracle.c:17:
/usr/include/limits.h:125:26: fatal error: limits.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
但是,limits.h确实存在读取权限:
-rw-r--r--. 1 root root 4596 Jan 28 2016 /usr/include/limits.h
有关如何解决此错误的任何想法?