[Pyrex] Building Pyrex module with Linux

Robert Kern robert.kern at gmail.com
Wed May 9 19:36:26 UTC 2007


Mike Wyatt wrote:
> Thanks!  That helps, but now I'm getting a new error.  I /think/ I need
> to add the GCC include folder to my pythonpath, but I'm not sure how to
> do that in Linux.  I haven't had any luck over the last 15 minutes or
> so, so I'll work on it some more after work tonight.  If someone could
> confirm that that would work, and/or tell me how to get/set my
> pythonpath in Linux, I'd be very appreciative.

No, your PYTHONPATH has nothing to do with the include path for compiling C
files, and I don't think even that is the problem.

I think you're missing the package libc-dev (which really ought to be required
by python2.5-dev, but apparently is not).

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Pyrex mailing list