Trying to build Pyraf on a Fedora 7 i686 32-bit system
Almost there, but i get the following error in the build:
[root@localhost stsci_python-2.4]# python setup.py install --with-f2c=/iraf/iraf/unix/bin.redhat/
running install
running build
running build_py
running build_ext
building 'pyraf.xutilmodule' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/X11R6/include -I/usr/include/python2.5 -c pyraf/src/xutil.c -o build/temp.linux-
i686-2.5/pyraf/src/xutil.o
pyraf/src/xutil.c:2:19: error: X11/X.h: No such file or directory
pyraf/src/xutil.c:3:22: error: X11/Xlib.h: No such file or directory
pyraf/src/xutil.c:4:23: error: X11/Xutil.h: No such file or directory
pyraf/src/xutil.c:5:21: error: X11/Xos.h: No such file or directory
pyraf/src/xutil.c:6:23: error: X11/Xatom.h: No such file or directory
pyraf/src/xutil.c:23: error: expected ')' before '*' token
pyraf/src/xutil.c:24: error: expected ')' before '*' token
pyraf/src/xutil.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
.
.
.
error: command 'gcc' failed with exit status 1
-------------------
Is this because I am missing xorg-x11-dev?
Any ideas how to get around problem?
-Sebas