io.h include file in pyconfig.h

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pythonnewbie

    io.h include file in pyconfig.h

    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:1 6: io.h: No such file or
    directory

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

    Thanks.

  • Michael Hoffman

    #2
    Re: io.h include file in pyconfig.h

    pythonnewbie wrote:
    [color=blue]
    > where I should find the correct "io.h" in this linux environment?[/color]

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

    You are probably missing some RPM that has various system header files.
    --
    Michael Hoffman

    Comment

    • pythonnewbie

      #3
      Re: io.h include file in pyconfig.h

      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)

      Comment

      Working...