View previous topic :: View next topic |
Author |
Message |
andi456 Apprentice
Joined: 06 Mar 2005 Posts: 216 Location: Germany
|
Posted: Mon Oct 15, 2012 6:01 pm Post subject: [SOLVED] paludis fails to compile: Python.h not found |
|
|
Hi,
trying to install paludis-0.80.1 the configure process stops and the corresponding error messages read:
Code: | checking whether to build the python interface... yes
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 3.2
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python3.2/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.2/site-packages
checking whether your gcc is new enough to enable Python... yes
checking for headers required to compile python extensions... File "<string>", line 1
import sys; print sys.prefix
^
SyntaxError: invalid syntax
File "<string>", line 1
import sys; print sys.exec_prefix
^
SyntaxError: invalid syntax
/include/python3.2
checking for Python.h... no
configure: error: Python.h not found in /include/python3.2
!!! ERROR in sys-apps/paludis-0.80.1::gentoo:
!!! In econf at line 1559
!!! econf failed
!!! Call stack:
!!! * econf (/var/tmp/paludis/sys-apps-paludis-0.80.1/temp/loadsaveenv:1559)
!!! * src_compile (/var/tmp/paludis/sys-apps-paludis-0.80.1/temp/loadsaveenv:3614)
!!! * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:51)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:666)
!!! * main (/usr/libexec/paludis/ebuild.bash:689)
|
So I had a look into /usr/include/python3.2 and found that the file Python.h actually resides in this directory. I ran python-updater, which failed reinstalling paludis. I also checked eselect python to use version 3.2. But right now I'm kind of clueless. Here's my cave info:
Code: |
Package Manager Information:
Package Name paludis
Package Version 0.78.1
Build Date 2012-08-14T14:53:23+0200
Built with CXX x86_64-pc-linux-gnu-g++ 4.5.3
Built with CXXFLAGS -O2 -pipe -march=amdfam10 -msse3 -pedantic
Built with LDFLAGS -Wl,-O1 -Wl,--as-needed
Environment Information:
Format paludis
Config dir /etc/paludis
Root /
System Root /
World file /var/lib/paludis/world
Repository gentoo:
format e
location /usr/portage
builddir /var/tmp/paludis
cache /usr/portage/metadata/md5-cache
distdir /usr/portage/distfiles
eapi_when_unknown 0
eapi_when_unspecified 0
eclassdirs /usr/portage/eclass
layout traditional
manifest_hashes SHA256 SHA512 WHIRLPOOL
names_cache /var/cache/paludis/names
newsdir /usr/portage/metadata/news
profile_eapi_when_unspecified 0
profile_layout traditional
profiles /usr/portage/profiles/default/linux/amd64/10.0/desktop
securitydir /usr/portage/metadata/glsa
setsdir /usr/portage/sets
sync rsync://rsync.gentoo.org/gentoo-portage
sync_options
thin_manifests false
use_manifest use
write_cache /var/cache/paludis/metadata
Package information
app-shells/bash 4.2_p37
dev-java/java-config 2.1.12
dev-lang/python 2.7.3-r2 3.1.5 3.2.3-r1
dev-util/ccache 3.1.7
dev-util/cmake 2.8.9-r1
dev-util/pkgconfig 0.27.1
sys-apps/baselayout 2.2
sys-apps/openrc 0.10.5
sys-apps/sandbox 2.5
sys-devel/autoconf 2.13 2.68
sys-devel/automake 1.11.6 1.12.4 1.9.6-r3
sys-devel/binutils 2.22.90
sys-devel/gcc 4.5.4
sys-devel/gcc-config 1.7.3
sys-devel/libtool 2.4.2
sys-devel/make 3.82-r3
sys-freebsd/freebsd-lib (none)
sys-kernel/linux-headers 3.6
sys-libs/glibc 2.15-r2
sys-libs/uclibc (none)
Repository installed:
format vdb
location /var/db/pkg
builddir /var/tmp/paludis
eapi_when_unknown 0
names_cache /var/empty
root /
Repository java-experimental:
format e
location /usr/local/overlays/java-experimental
builddir /var/tmp/paludis
cache /var/empty
distdir /usr/portage/distfiles
eapi_when_unknown 0
eapi_when_unspecified 0
eclassdirs /usr/portage/eclass /usr/local/overlays/java-experimental/eclass
layout traditional
manifest_hashes RMD160 SHA1 SHA256
master_repository gentoo
names_cache /usr/local/overlays/java-experimental/.cache/name
newsdir /usr/local/overlays/java-experimental/metadata/news
profile_eapi_when_unspecified 0
profile_layout traditional
profiles /usr/portage/profiles/default/linux/amd64/10.0/desktop
securitydir /usr/local/overlays/java-experimental/metadata/glsa
setsdir /usr/local/overlays/java-experimental/sets
sync svn+http://overlays.gentoo.org/svn/proj/java/java-experimental/
sync_options
thin_manifests false
use_manifest use
write_cache /var/empty
Repository x-ndt-bin:
format e
location /usr/local/overlays/ndt-bin
binary_destination true
binary_distdir /usr/portage/distfiles
binary_keywords_filter amd64 ~amd64
binary_uri_prefix
builddir /var/tmp/paludis
cache /var/empty
distdir /usr/portage/distfiles
eapi_when_unknown 0
eapi_when_unspecified 0
eclassdirs /usr/portage/eclass /usr/local/overlays/ndt-bin/eclass
layout traditional
manifest_hashes RMD160 SHA1 SHA256
master_repository gentoo
names_cache /usr/local/overlays/ndt-bin/.cache/name
newsdir /usr/local/overlays/ndt-bin/metadata/news
profile_eapi_when_unspecified 0
profile_layout traditional
profiles /usr/portage/profiles/default/linux/amd64/10.0/desktop
securitydir /usr/local/overlays/ndt-bin/metadata/glsa
setsdir /usr/local/overlays/ndt-bin/sets
sync
sync_options
thin_manifests false
use_manifest use
write_cache /var/empty
Repository x-portage:
format e
location /usr/local/portage
builddir /var/tmp/paludis
cache /var/empty
distdir /usr/portage/distfiles
eapi_when_unknown 0
eapi_when_unspecified 0
eclassdirs /usr/portage/eclass /usr/local/portage/eclass
layout traditional
manifest_hashes RMD160 SHA1 SHA256
master_repository gentoo
names_cache /var/empty
newsdir /usr/local/portage/metadata/news
profile_eapi_when_unspecified 0
profile_layout traditional
profiles /usr/portage/profiles/default/linux/amd64/10.0/desktop
securitydir /usr/local/portage/metadata/glsa
setsdir /usr/local/portage/sets
sync
sync_options
thin_manifests false
use_manifest use
write_cache /var/empty
Extra Information for sys-apps/paludis-0.78.1::installed:
>>> Running ebuild phase killold as paludisbuild:paludisbuild...
>>> Starting builtin_killold
>>> Done builtin_killold
>>> Completed ebuild phase killold
>>> Running ebuild phases initmisc infovars info as paludisbuild:paludisbuild...
>>> Starting builtin_initmisc
bunzip2 < /var/db/pkg/sys-apps/paludis-0.78.1/environment.bz2 > /var/tmp/paludis/environment-sys-apps-paludis-0.78.1-5415
ebuild_scrub_environment /var/tmp/paludis/environment-sys-apps-paludis-0.78.1-5415
ebuild_safe_source /var/tmp/paludis/environment-sys-apps-paludis-0.78.1-5415
rm /var/tmp/paludis/environment-sys-apps-paludis-0.78.1-5415
>>> Done builtin_initmisc
>>> Starting builtin_infovars
ACCEPT_KEYWORDS=amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-O2 -pipe -march=amdfam10 -msse3
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c
CPPFLAGS=
CTARGET=
CXXFLAGS=-O2 -pipe -march=amdfam10 -msse3
DISTDIR=/var/db/pkg/sys-apps/paludis-0.78.1
FCFLAGS=-O2 -pipe
FEATURES=
FFLAGS=-O2 -pipe
GENTOO_MIRRORS=
INSTALL_MASK=
LANG=
LC_ALL=C
LDFLAGS=-Wl,-O1 -Wl,--as-needed
LINGUAS=de
MAKEOPTS=-j6
PORTAGE_COMPRESS=
PORTAGE_COMPRESS_FLAGS=
PORTAGE_CONFIGROOT=
PORTAGE_RSYNC_EXTRA_OPTS=
PORTAGE_RSYNC_OPTS=
PORTAGE_TMPDIR=/var/tmp/paludis
PORTDIR=/var/db/pkg/sys-apps/paludis-0.78.1
PORTDIR_OVERLAY=
SYNC=
USE=bash-completion pbins python-bindings vim-syntax xml amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cgi apache2_modules_cgid apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias calligra_features_braindump calligra_features_flow calligra_features_karbon calligra_features_kexi calligra_features_krita calligra_features_plan calligra_features_sheets calligra_features_stage calligra_features_tables calligra_features_words cameras_ptp2 collectd_plugins_df collectd_plugins_interface collectd_plugins_irq collectd_plugins_load collectd_plugins_memory collectd_plugins_rrdtool collectd_plugins_swap collectd_plugins_syslog elibc_glibc gpsd_protocols_aivdm gpsd_protocols_ashtech gpsd_protocols_earthmate gpsd_protocols_evermore gpsd_protocols_fv18 gpsd_protocols_garmin gpsd_protocols_garmintxt gpsd_protocols_gpsclock gpsd_protocols_itrax gpsd_protocols_mtk3301 gpsd_protocols_navcom gpsd_protocols_nmea gpsd_protocols_ntrip gpsd_protocols_oceanserver gpsd_protocols_oldstyle gpsd_protocols_oncore gpsd_protocols_rtcm104v2 gpsd_protocols_rtcm104v3 gpsd_protocols_sirf gpsd_protocols_superstar2 gpsd_protocols_timing gpsd_protocols_tnt gpsd_protocols_tripmate gpsd_protocols_tsip gpsd_protocols_ubx input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libreoffice_extensions_presenter-console libreoffice_extensions_presenter-minimizer linguas_de lirc_devices_devinput php_targets_php5-3 python_targets_python3_2 ruby_targets_ruby18 ruby_targets_ruby19 userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa xtables_addons_account xtables_addons_chaos xtables_addons_condition xtables_addons_delude xtables_addons_dhcpmac xtables_addons_fuzzy xtables_addons_geoip xtables_addons_iface xtables_addons_ipmark xtables_addons_ipp2p xtables_addons_ipset xtables_addons_ipv4options xtables_addons_length2 xtables_addons_logmark xtables_addons_lscan xtables_addons_pknock xtables_addons_psd xtables_addons_quota2 xtables_addons_rawnat xtables_addons_steal xtables_addons_sysrq xtables_addons_tarpit xtables_addons_tee amd64
USE_PYTHON=
>>> Done builtin_infovars
>>> Starting pkg_info
>>> Done pkg_info
>>> Completed ebuild phases initmisc infovars info
>>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
>>> Starting builtin_tidyup
rm -fr /var/tmp/paludis/sys-apps-paludis-0.78.1-info
>>> Done builtin_tidyup
>>> Completed ebuild phase tidyup
Extra Information for sys-apps/paludis-0.80.1:0::gentoo:
>>> Running ebuild phase killold as paludisbuild:paludisbuild...
>>> Starting builtin_killold
>>> Done builtin_killold
>>> Completed ebuild phase killold
>>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
>>> Starting builtin_initmisc
>>> Done builtin_initmisc
>>> Starting builtin_infovars
ACCEPT_KEYWORDS=amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-O2 -pipe -march=amdfam10 -msse3
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=
CONFIG_PROTECT_MASK=
CPPFLAGS=
CTARGET=
CXXFLAGS=-O2 -pipe -march=amdfam10 -msse3
DISTDIR=/usr/portage/distfiles
FCFLAGS=-O2 -pipe
FEATURES=
FFLAGS=-O2 -pipe
GENTOO_MIRRORS=
INSTALL_MASK=
LANG=
LC_ALL=C
LDFLAGS=-Wl,-O1 -Wl,--as-needed
LINGUAS=de
MAKEOPTS=-j6
PORTAGE_COMPRESS=
PORTAGE_COMPRESS_FLAGS=
PORTAGE_CONFIGROOT=
PORTAGE_RSYNC_EXTRA_OPTS=
PORTAGE_RSYNC_OPTS=
PORTAGE_TMPDIR=/var/tmp/paludis
PORTDIR=/usr/portage
PORTDIR_OVERLAY=
SYNC=
USE=bash-completion pbins python-bindings vim-syntax xml amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_core apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_core apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cgi apache2_modules_cgid apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_socache_shmcb apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_unixd apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias calligra_features_braindump calligra_features_flow calligra_features_karbon calligra_features_kexi calligra_features_krita calligra_features_plan calligra_features_sheets calligra_features_stage calligra_features_tables calligra_features_words cameras_ptp2 collectd_plugins_df collectd_plugins_interface collectd_plugins_irq collectd_plugins_load collectd_plugins_memory collectd_plugins_rrdtool collectd_plugins_swap collectd_plugins_syslog elibc_glibc gpsd_protocols_aivdm gpsd_protocols_ashtech gpsd_protocols_earthmate gpsd_protocols_evermore gpsd_protocols_fv18 gpsd_protocols_garmin gpsd_protocols_garmintxt gpsd_protocols_gpsclock gpsd_protocols_itrax gpsd_protocols_mtk3301 gpsd_protocols_navcom gpsd_protocols_nmea gpsd_protocols_ntrip gpsd_protocols_oceanserver gpsd_protocols_oldstyle gpsd_protocols_oncore gpsd_protocols_rtcm104v2 gpsd_protocols_rtcm104v3 gpsd_protocols_sirf gpsd_protocols_superstar2 gpsd_protocols_timing gpsd_protocols_tnt gpsd_protocols_tripmate gpsd_protocols_tsip gpsd_protocols_ubx input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libreoffice_extensions_presenter-console libreoffice_extensions_presenter-minimizer linguas_de lirc_devices_devinput php_targets_php5-3 python_targets_python3_2 ruby_targets_ruby18 ruby_targets_ruby19 userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa xtables_addons_account xtables_addons_chaos xtables_addons_condition xtables_addons_delude xtables_addons_dhcpmac xtables_addons_fuzzy xtables_addons_geoip xtables_addons_iface xtables_addons_ipmark xtables_addons_ipp2p xtables_addons_ipset xtables_addons_ipv4options xtables_addons_length2 xtables_addons_logmark xtables_addons_lscan xtables_addons_pknock xtables_addons_psd xtables_addons_quota2 xtables_addons_rawnat xtables_addons_steal xtables_addons_sysrq xtables_addons_tarpit xtables_addons_tee amd64
USE_PYTHON=
>>> Done builtin_infovars
>>> Completed ebuild phases initmisc infovars
>>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
>>> Starting builtin_tidyup
rm -fr /var/tmp/paludis/sys-apps-paludis-0.80.1-info
>>> Done builtin_tidyup
>>> Completed ebuild phase tidyup
|
In the hope that someone has an idea. Thanks in advance.
Regards Andreas
Last edited by andi456 on Tue Oct 16, 2012 12:02 pm; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Oct 16, 2012 4:49 am Post subject: |
|
|
if Code: | eselect python list | produces
Quote: | Available Python interpreters:
[1] python2.7
[2] python3.2 * |
Code: | eselect python set python2.7 |
reset it
Code: | eselect python list |
to
Quote: | Available Python interpreters:
[1] python2.7 *
[2] python3.2 |
_________________ Defund the FCC. |
|
Back to top |
|
|
andi456 Apprentice
Joined: 06 Mar 2005 Posts: 216 Location: Germany
|
Posted: Tue Oct 16, 2012 12:01 pm Post subject: |
|
|
Thanks, it works.
Regards Andreas |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|