Summary: | sci-geosciences/grass-6.3.0 USE=wxwindows - driver.h:23:20: error: Python.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Schmitt <chrschmitt> |
Component: | New packages | Assignee: | Steve Arnold <nerdboy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sci-geosciences |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log of the build
complete build log |
Description
Christian Schmitt
2008-09-12 16:01:49 UTC
Please run python-updater. If that doesn't solve the issue, then post your `emerge --info' here. Running python-updater was not a bad idea, but it recompiled only boost. After that I checked everything else with revdep-rebuild. However all this did not help. Grass is still not compiling, so here is my emerge --info: Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686) ================================================================= System uname: 2.6.25-gentoo-r7 i686 AMD Athlon(tm) Processor Timestamp of tree: Tue, 09 Sep 2008 14:15:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer nodoc noinfo sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/fgfs-gentoo" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac alsa asf audiofile bluetooth bzip2 cairo cdr cli cracklib css cups curl dbus dvb dvd dvdread eds emboss encode evo exif fam ffmpeg firefox flac gif gimpprint glitz gphoto2 hal hdri iconv isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libnotify lirc loop-aes mad midi mikmod mmx mng mp3 mp4 mpeg ncurses nptl nptlonly nsplugin ogg opengl openmp pam pch pcre pdf png ppds pppd qt3 qt3support qt4 quicktime readline reflection sdl session sndfile speex spl ssl startup-notification svg symlink sysfs theora threads tiff truetype unicode usb vcd vorbis x264 x86 xcb xcomposite xine xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Notice the complaint about Python.h? Looks like header path -I/usr/include/python2.5 is omitted from the compiler flags -- maybe something went wrong during configure stage, which probably should have used python-config to find python header location. Please attach a full build log to help diagnose this, and how about the config.log from the temporary build dir too (i.e. dir inside /var/tmp/portage/sci-geosciences/grass-6.3.0/work) Created attachment 165480 [details]
config.log of the build
Created attachment 165481 [details]
complete build log
had to compress the logfile due to the filesize limit
configure doesn't appear to fail at all. I strongly suspect python-updater of missing the wxpython stuff that needs to be rebuilt. 1) Please rebuild =x11-libs/wxGTK-2.8* and then try to emerge sci-geosciences/grass again. 2) If that fails, rebuild dev-python/wxpython and try again. I'm sorry to tell you that this did not help or change anything. I recompiled both packages and recompiled grass after that. Still breaking at the same part. Look at the configure arguments: ./configure blah blah blah --with-python blah blah --without-python The --without-python argument would override --with-python, and that could cause configure to not bother with finding Python.h location. Try building with python useflag turned on as well as wxwindows; if I'm right, then grass ebuild will need to automatically enable python support when wxwindows is enabled. Success :-) That solved it indeed. Thank you! So we need the python flag to be set if wxwindows is active. (In reply to comment #9) > Success :-) > That solved it indeed. Thank you! > > So we need the python flag to be set if wxwindows is active. And you should not need to know when to do that - if a USE flag combination causes a build failure, then the ebuild is broken. :) Thanks for the all the info; fixed in CVS... |