Bug 42822 - emerge k3d 0.2.5.4 failes with the python use flag
Bug#: 42822 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: graphics@gentoo.org Reported By: anoFfer@juno.com
Component: Applications
URL: 
Summary: emerge k3d 0.2.5.4 failes with the python use flag
Keywords:  
Status Whiteboard: 
Opened: 2004-02-24 16:24 0000
Description:   Opened: 2004-02-24 16:24 0000
It can be fixed with adding a USE="-python" before emerge k3d

checking for freetype2... found version 9.4.3
checking for plib/ssg.h... yes
checking for ulInit in -lplibul... yes
checking for /usr/include/python2.2/Python.h... no
configure: error:
        Couldn't find Python.h ... if you don't require python support, re-run
        configure with the --without-python option

        If you wish to include support and have Python installed in a directory
        configure can't find, try specify the basepath to library and header:

                ./configure --with-python=/usr/local

        To find out the path, type:

                locate Python.h

        If the above return '/usr/local/include/python2.2/Python.h' the basepath
        will in that case be '/usr/local'.


!!! ERROR: media-gfx/k3d-0.2.5.4 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed

Reproducible: Always
Steps to Reproduce:
1. emerge k3d

Actual Results:  
results in an error 
 
configure: error: 
        Couldn't find Python.h ... 

Expected Results:  
emerging sucessfully with python support. 

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.6.3-rc3-gentoo) 
================================================================= 
System uname: 2.6.3-rc3-gentoo i686 AMD-K7(tm) Processor 
Gentoo Base System version 1.4.3.13 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X alsa apm arts avi berkdb canna cdr cjk crypt encode esd 
foomaticdb gdbm gif gpm gtk2 imlib jpeg kde libg++ libwww mad mikmod motif 
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime 
readline samba sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"

------- Comment #1 From Ffer 2004-02-24 16:34:09 0000 -------
locate Python.h gives the following path:

/usr/include/python2.3/Python.h

2.3 not 2.2

------- Comment #2 From Bryan Østergaard (RETIRED) 2004-03-09 18:05:24 0000 -------
Fixed in cvs.