libpython3.3-dev: fatal error: pyconfig.h: No such file or directory

Bug #1075232 reported by IRIE Shinsuke
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Blender
New
Undecided
auto-bf-committers
blender (Ubuntu)
Fix Released
Undecided
Unassigned
python3.3 (Debian)
Fix Released
Unknown
python3.3 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Package: libpython3.3-dev 3.3.0-1

I attempted to build Blender trunk using python3.3-dev but got the following error:

[ 33%] Building C object source/blender/python/intern/CMakeFiles/bf_python.dir/gpu.c.o
In file included from /home/irie/Subversion/Blender/blender/source/blender/python/generic/bgl.c:38:0:
/usr/include/python3.3m/Python.h:8:22: fatal error: pyconfig.h: No such file or directory
compilation terminated.

Indeed, Python.h assumes that pyconfig.h is in the same directory but it is placed in /usr/include/x86_64-linux-gnu/python3.3m on my 64bit system.
Multi-arch support is still incomplete.

Tags: multiarch
IRIE Shinsuke (irie)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python3.3 (Ubuntu):
status: New → Confirmed
IRIE Shinsuke (irie)
summary: - fatal error: pyconfig.h: No such file or directory
+ libpython3.3-dev: fatal error: pyconfig.h: No such file or directory
description: updated
Changed in python3.3 (Debian):
status: Unknown → New
Revision history for this message
IRIE Shinsuke (irie) wrote :

Package maintainer in Debian considers this is Blender's bug. He said "Please use python3.3-config --include".

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

In Debian & Ubuntu python3.3 has multiple include locations.
In ubuntu we patched blender to support those.
And the patch is forwarded to Debian.
See patch at one of these locations:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692376
https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/raring/blender/raring/revision/38

Changed in python3.3 (Ubuntu):
status: Confirmed → Invalid
Changed in blender (Ubuntu):
status: New → Fix Released
Revision history for this message
IRIE Shinsuke (irie) wrote :

Dmitrijs, I reported this problem in Blender developers ML and it was fiexed in trunk r51976, so your patch can be dropped in the future release (2.65+).

http://lists.blender.org/pipermail/bf-committers/2012-November/038070.html
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51976

Anyway, thanks for the fix!

Revision history for this message
IRIE Shinsuke (irie) wrote :
Changed in python3.3 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.