io.h include file in pyconfig.h

P

pythonnewbie

I am trying to rebuild a rpm that was implemented in the python
language. I installed the python package 2.3.3 from Suse 9.1 Linux CD.
I got the following error when rebuilding the rpm,

/usr/Python-2.3.3/Include/pyconfig.h:30:16: io.h: No such file or
directory

where I should find the correct "io.h" in this linux environment?

Thanks.
 
M

Michael Hoffman

pythonnewbie said:
where I should find the correct "io.h" in this linux environment?

Should be in /usr/include/sys/io.h

You are probably missing some RPM that has various system header files.
 
P

pythonnewbie

Thanks. How do I verify what RPMs I need? I checked with rpm -qa |
python, it only showed the python package. After I included the
/usr/include/sys/io.h in the source package INCLUDE path, it seemed
like the compilation went into a include loop.
(/usr/include/sys/unisted.h:1:10 #include nested too deeply)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,222
Messages
2,571,137
Members
47,754
Latest member
Armand37T7

Latest Threads

Top