durusmail: durus-users: Problem compiling Durus on Tiger
Problem compiling Durus on Tiger
2005-06-22
2005-06-22
2005-06-22
2005-06-22
2005-06-22
2005-06-22
2005-06-24
Problem compiling Durus on Tiger
Toni Alatalo
2005-06-22
Mario Ruggier wrote:

> _persistent.c:6:20: Python.h: No such file or directory
> These files should come from the python installation?

no, they come with the Python source / developer files, e.g. in debian
in the python-dev package. they are needed to compile Python extensions
written in C.

> BTW, same problem when trying to install quixote.
> How do I fix this?

IIRC there are Python versions of the c-written (optimized) parts of at
least Durus, if the performance is not a problem you can configure the
installation so that it uses them instead and does not need to compile
any c code (i've done that on windows machines when haven't had a compiler).

Other than that one solution is to install the python source and point
the build to the headers in the includes dir there (just grab the
tarball from python.org, dunno if you need the exact same version)

I don't remember if there's a python-dev package in the macosx debian
port fink, or in darwinports, nor if those would work straight out of
the box with the apple-built interpreter, but there are surely options
there too..

>
>     mario

~Toni
reply