Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54785 - gimp-2.0.2.ebuild complains about missing python header during configure
Summary: gimp-2.0.2.ebuild complains about missing python header during configure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-22 11:50 UTC by Jörg Spanke
Modified: 2004-06-28 23:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cat /var/tmp/portage/gimp-2.0.2/temp/environment (environment,86.73 KB, text/plain)
2004-06-22 11:53 UTC, Jörg Spanke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Spanke 2004-06-22 11:50:26 UTC
configure is probably using a wrong prefix on amd64

Reproducible: Always
Steps to Reproduce:
1. emerge -up gimp

Actual Results:  
>>> md5 src_uri ;-) gimp-2.0.2.tar.bz2 
>>> Unpacking source... 
>>> Unpacking gimp-2.0.2.tar.bz2 to /var/tmp/portage/gimp-2.0.2/work 
 * Applying ltmain_sh-1.5.0-fix-relink.patch...                                          
[ ok ] 
>>> Source unpacked. 
 * Patching ${S}/ltmain.sh... 
 *   Applying portage-1.4.1.patch... 
 *   Applying max_cmd_len-1.5.0.patch... 
configure: WARNING: If you wanted to set the --build type, don't use --host. 
    If a cross compiler is detected then cross compile mode will be used. 
checking for a BSD-compatible install... /bin/install -c 
checking whether build environment is sane... yes 
checking for gawk... gawk 
checking whether make sets $(MAKE)... yes 
checking for x86_64-pc-linux-gnu-strip... no 
checking for strip... strip 
checking for x86_64-pc-linux-gnu-gcc... gcc 
checking for C compiler default output file name... a.out 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ANSI C... none needed 
checking for style of include used by make... GNU 
checking dependency style of gcc... gcc3 
checking build system type... x86_64-unknown-linux-gnu 
checking host system type... x86_64-pc-linux-gnu 
checking for a sed that does not truncate output... /bin/sed 
checking for egrep... grep -E 
checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld 
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes 
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... 
-r 
checking for BSD-compatible nm... nm 
checking whether ln -s works... yes 
checking how to recognise dependent libraries... pass_all 
checking how to run the C preprocessor... gcc -E 
checking for ANSI C header files... yes 
checking for sys/types.h... yes 
checking for sys/stat.h... yes 
checking for stdlib.h... yes 
checking for string.h... yes 
checking for memory.h... yes 
checking for strings.h... yes 
checking for inttypes.h... yes 
checking for stdint.h... yes 
checking for unistd.h... yes 
checking dlfcn.h usability... yes 
checking dlfcn.h presence... yes 
checking for dlfcn.h... yes 
checking for x86_64-pc-linux-gnu-g++... g++ 
checking whether we are using the GNU C++ compiler... yes 
checking whether g++ accepts -g... yes 
checking dependency style of g++... gcc3 
checking how to run the C++ preprocessor... g++ -E 
checking for x86_64-pc-linux-gnu-g77... no 
checking for x86_64-pc-linux-gnu-f77... no 
checking for x86_64-pc-linux-gnu-xlf... no 
checking for x86_64-pc-linux-gnu-frt... no 
checking for x86_64-pc-linux-gnu-pgf77... no 
checking for x86_64-pc-linux-gnu-fort77... no 
checking for x86_64-pc-linux-gnu-fl32... no 
checking for x86_64-pc-linux-gnu-af77... no 
checking for x86_64-pc-linux-gnu-f90... no 
checking for x86_64-pc-linux-gnu-xlf90... no 
checking for x86_64-pc-linux-gnu-pgf90... no 
checking for x86_64-pc-linux-gnu-epcf90... no 
checking for x86_64-pc-linux-gnu-f95... no 
checking for x86_64-pc-linux-gnu-fort... no 
checking for x86_64-pc-linux-gnu-xlf95... no 
checking for x86_64-pc-linux-gnu-ifc... no 
checking for x86_64-pc-linux-gnu-efc... no 
checking for x86_64-pc-linux-gnu-pgf95... no 
checking for x86_64-pc-linux-gnu-lf95... no 
checking for x86_64-pc-linux-gnu-gfortran... no 
checking for g77... no 
checking for f77... no 
checking for xlf... no 
checking for frt... no 
checking for pgf77... no 
checking for fort77... no 
checking for fl32... no 
checking for af77... no 
checking for f90... no 
checking for xlf90... no 
checking for pgf90... no 
checking for epcf90... no 
checking for f95... no 
checking for fort... no 
checking for xlf95... no 
checking for ifc... no 
checking for efc... no 
checking for pgf95... no 
checking for lf95... no 
checking for gfortran... no 
checking whether we are using the GNU Fortran 77 compiler... no 
checking whether  accepts -g... no 
checking the maximum length of command line arguments... 32768 
checking command to parse nm output from gcc object... ok 
checking for objdir... .libs 
checking for x86_64-pc-linux-gnu-ar... no 
checking for ar... ar 
checking for x86_64-pc-linux-gnu-ranlib... no 
checking for ranlib... ranlib 
checking for x86_64-pc-linux-gnu-strip... strip 
checking if gcc static flag  works... yes 
checking if gcc supports -fno-rtti -fno-exceptions... no 
checking for gcc option to produce PIC... -fPIC 
checking if gcc PIC flag -fPIC works... yes 
checking if gcc supports -c -o file.o... yes 
checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 
supports shared libraries... yes 
checking whether -lc should be explicitly linked in... no 
checking dynamic linker characteristics... GNU/Linux ld.so 
checking how to hardcode library paths into programs... immediate 
checking whether stripping libraries is possible... yes 
checking if libtool supports shared libraries... yes 
checking whether to build shared libraries... yes 
checking whether to build static libraries... no 
configure: creating libtool 
appending configuration tag "CXX" to libtool 
checking for ld used by g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU 
ld... yes 
checking whether the g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 
supports shared libraries... yes 
checking for g++ option to produce PIC... -fPIC 
checking if g++ PIC flag -fPIC works... yes 
checking if g++ supports -c -o file.o... yes 
checking whether the g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 
supports shared libraries... yes 
checking dynamic linker characteristics... GNU/Linux ld.so 
checking how to hardcode library paths into programs... immediate 
checking whether stripping libraries is possible... yes 
appending configuration tag "F77" to libtool 
checking whether to enable maintainer-specific portions of Makefiles... no 
checking for target architecture... x86_64-pc-linux-gnu 
checking for some Win32 platform... no 
checking for native Win32... no 
checking for strerror in -lcposix... no 
checking for gcc option to accept ANSI C... none needed 
checking for a BSD-compatible install... /bin/install -c 
checking whether make sets $(MAKE)... (cached) yes 
checking for special C compiler options needed for large files... no 
checking for _FILE_OFFSET_BITS value needed for large files... no 
checking for _LARGE_FILES value needed for large files... no 
checking whether to turn on debugging... no 
checking whether to turn on profiling... no 
checking for dirent.h that defines DIR... yes 
checking for library containing opendir... none required 
checking for ANSI C header files... (cached) yes 
checking for sys/wait.h that is POSIX.1 compatible... yes 
checking whether time.h and sys/time.h may both be included... yes 
checking sys/param.h usability... yes 
checking sys/param.h presence... yes 
checking for sys/param.h... yes 
checking sys/time.h usability... yes 
checking sys/time.h presence... yes 
checking for sys/time.h... yes 
checking sys/times.h usability... yes 
checking sys/times.h presence... yes 
checking for sys/times.h... yes 
checking for sys/wait.h... (cached) yes 
checking for unistd.h... (cached) yes 
checking for pid_t... yes 
checking return type of signal handlers... void 
checking for vprintf... yes 
checking for _doprnt... no 
checking for working alloca.h... yes 
checking for alloca... yes 
checking for difftime... yes 
checking for putenv... yes 
checking for mmap... yes 
checking for perl... /usr/bin/perl 
checking locale.h usability... yes 
checking locale.h presence... yes 
checking for locale.h... yes 
checking for LC_MESSAGES... yes 
checking libintl.h usability... yes 
checking libintl.h presence... yes 
checking for libintl.h... yes 
checking for dgettext in libc... yes 
checking for bind_textdomain_codeset... yes 
checking for msgfmt... /usr/bin/msgfmt 
checking for dcgettext... yes 
checking for gmsgfmt... /usr/bin/msgfmt 
checking for xgettext... /usr/bin/xgettext 
checking for catalogs to be installed...  de 
checking for pkg-config... /usr/bin/pkg-config 
checking for GLIB - version >= 2.2.0... yes (version 2.4.2) 
checking for gmodule-2.0 gobject-2.0... yes 
checking GMODULE_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
checking GMODULE_LIBS... -Wl,--export-dynamic -lgmodule-2.0 -ldl -lgobject-2.0 
-lglib-2.0 
checking for bind_textdomain_codeset... (cached) yes 
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include 
checking for gethostbyname... yes 
checking for connect... yes 
checking for remove... yes 
checking for shmat... yes 
checking for IceConnectionNumber in -lICE... yes 
checking for pkg-config... (cached) /usr/bin/pkg-config 
checking for GTK+ - version >= 2.2.2... yes (version 2.4.3) 
checking if GTK+ is version 2.3.0 or newer... yes 
checking for gdk-pixbuf-2.0 >= 2.2.2... yes 
checking GDK_PIXBUF_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include 
checking GDK_PIXBUF_LIBS... -Wl,--export-dynamic -lgdk_pixbuf-2.0 -lm 
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 
checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource 
checking for libart-2.0... yes 
checking LIBART_CFLAGS... -I/usr/include/libart-2.0 
checking LIBART_LIBS... -lart_lgpl_2 
checking for fontconfig >= 2.2.0... yes 
checking FONTCONFIG_CFLAGS... 
checking FONTCONFIG_LIBS... -lfontconfig 
checking for pangoft2 >= 1.2.2... yes 
checking PANGOFT2_CFLAGS... -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
checking PANGOFT2_LIBS... -Wl,--export-dynamic -lpangoft2-1.0 -lpango-1.0 
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 
checking if Pango is built with a recent fontconfig... yes 
checking for freetype-config... /usr/bin/freetype-config 
checking for freetype libraries... -lfreetype -lz 
checking math.h usability... yes 
checking math.h presence... yes 
checking for math.h... yes 
checking ieeefp.h usability... no 
checking ieeefp.h presence... no 
checking for ieeefp.h... no 
checking for extra flags to get ANSI library prototypes... none needed 
checking for finite... yes 
checking for extra flags for POSIX compliance... none needed 
checking for rint... no 
checking for rint in -lm... yes 
checking for inet_ntoa... yes 
checking for socket in -lsocket... no 
checking sys/ipc.h usability... yes 
checking sys/ipc.h presence... yes 
checking for sys/ipc.h... yes 
checking sys/shm.h usability... yes 
checking sys/shm.h presence... yes 
checking for sys/shm.h... yes 
checking whether shmctl IPC_RMID allowes subsequent attaches... yes 
checking for shared memory transport type... sysv 
checking whether symbols are prefixed... no 
checking checking for regex in glibc... yes 
checking fd_set and sys/select... yes 
checking for XmuClientWindow in -lXmu... yes 
checking for X11/Xmu/WinUtil.h... yes 
checking for TIFFReadScanline in -ltiff... yes 
checking tiffio.h usability... yes 
checking tiffio.h presence... yes 
checking for tiffio.h... yes 
checking for jpeg_destroy_decompress in -ljpeg... yes 
checking for jpeglib.h... yes 
checking for jpeg_simple_progression in -ljpeg... yes 
checking for gzsetparams in -lz... yes 
checking zlib.h usability... yes 
checking zlib.h presence... yes 
checking for zlib.h... yes 
checking for png_read_info in -lpng... yes 
checking png.h usability... yes 
checking png.h presence... yes 
checking for png.h... yes 
checking for png_structp in png.h... yes 
checking for libexif... yes 
checking EXIF_CFLAGS... -I/usr/include/libexif 
checking EXIF_LIBS... -lexif -lm 
checking for XpmReadFileToXpmImage in -lXpm... yes 
checking X11/xpm.h usability... yes 
checking X11/xpm.h presence... yes 
checking for X11/xpm.h... yes 
checking for libgtkhtml-2.0 >= 2.0.0... Package libgtkhtml-2.0 was not found in 
the pkg-config search path. 
Perhaps you should add the directory containing `libgtkhtml-2.0.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'libgtkhtml-2.0' found 
configure: WARNING: *** Help browser plug-in will not be built (GtkHtml2 not 
found) *** 
checking for librsvg-2.0 >= 2.2.0... Package librsvg-2.0 was not found in the 
pkg-config search path. 
Perhaps you should add the directory containing `librsvg-2.0.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'librsvg-2.0' found 
configure: WARNING: *** SVG import plug-in will not be built (librsvg not 
found) *** 
checking for libwmf-config... /usr/bin/libwmf-config 
checking for libwmf >= 0.2.8... yes (version 0.2.8) 
checking for cmsCreate_sRGBProfile in -llcms... yes 
checking lcms.h usability... no 
checking lcms.h presence... no 
checking for lcms.h... no 
checking lcms/lcms.h usability... yes 
checking lcms/lcms.h presence... yes 
checking for lcms/lcms.h... yes 
checking for sendmail... /usr/sbin/sendmail 
checking for a Python interpreter with version >= 2.2... python 
checking for python... /usr/bin/python 
checking for python version... 2.3 
checking for python platform... linux2 
checking for python script directory... ${prefix}/lib/python2.3/site-packages 
checking for python extension module directory... 
${exec_prefix}/lib/python2.3/site-packages 
checking for headers required to compile python extensions... not found 
configure: error: could not find Python headers 
 
!!! ERROR: media-gfx/gimp-2.0.2 failed. 
!!! Function econf, Line 365, Exitcode 1 
!!! econf failed 

Expected Results:  
A successful build of gimp 2.0.2 

Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 
2.6.7-gentoo) 
================================================================= 
System uname: 2.6.7-gentoo x86_64 4 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -pipe" 
CHOST="x86_64-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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ 
http://ftp.easynet.nl/mirror/gentoo/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distrib 
utions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="X acpi acpi4linux alsa amd64 arts avi berkdb cdr crypt cups dga dvb dvd 
dvdr encode faad fbcon ffmpeg foomaticdb freetype gdbm gif gpm gtk gtk2 guile 
imagemagick imlib innodb java jpeg kde libg++ libwww linguas_de md5sum mikmod 
mozilla mpeg nas ncurses nls nogcj nvidia oggvorbis opengl opie pam pda pdflib 
perl png python qt quicktime readline scanner sdl slang slp spell ssl tcpd 
tetex tiff transcode truetype unicode usb wmf xml2 xmms xv zeo zlib"
Comment 1 Jörg Spanke 2004-06-22 11:53:29 UTC
Created attachment 33884 [details]
cat /var/tmp/portage/gimp-2.0.2/temp/environment
Comment 2 foser (RETIRED) gentoo-dev 2004-06-22 14:27:44 UTC
have you updated your python modules after upgrading to python 2.3 like you should ?
Comment 3 Jörg Spanke 2004-06-28 23:51:28 UTC
Sorry, updating the python modules solved the problem. I didn't read the ewarn, because python was updated together with a lot of other apps.
It would help me a lot, when the warning messages would be shown at the end of the "emerge -u world" process. Maybe in the "next generation" portage.