Beim Bauen von py-cairo werden die python header files nicht gefunden:
Der gnomelogalyzer findet nix.
Und: Ja, ich habe /usr/ports/UPDATING gelesen und ausgeführt:
Es gibt eine Python- Headerdatei auf dem System:
Kann man make die Header irgendwie zu Fuß mitgeben?
Code:
# cd /usr/ports/graphics/py-cairo/
# make install clean
...
===> Configuring for py26-cairo-1.8.6
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking
...
checking for CAIRO... yes
checking for headers required to compile python extensions... not found
configure: error: could not find Python headers
===> Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
...
*** Error code 1
Stop in /usr/ports/graphics/py-cairo.
Und: Ja, ich habe /usr/ports/UPDATING gelesen und ausgeführt:
Code:
...
20090608:
AFFECTS: users of lang/python* and py-*
AUTHOR: miwi@FreeBSD.org
The default version of Python has been changed from 2.5.x to 2.6.x.
If you have 2.5.x installed, perform an upgrade of lang/python25 to
lang/python26 with one of the following commands:
If using portupgrade:
# portupgrade -o lang/python26 lang/python25
If using portmaster:
[B]# portmaster -o lang/python26 lang/python25[/B]
If you want to retain 2.5.x as default Python version, set the
DR16 branch now resides in x11-wm/e16.
...
Once the installed Python has been updated to 2.6, by using the
method above, it is required to run the upgrade-site-packages target in
lang/python to assure that site-packages are made available to the new
Python version.
If using portupgrade:
# cd /usr/ports/lang/python && make upgrade-site-packages
If using portmaster:
[B]# cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
[/B]
Code:
# locate ython.h
/usr/local/include/python2.6/Python.h
Kann man make die Header irgendwie zu Fuß mitgeben?

