Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[pygobject]problem emerge pygobject - python headers(résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
plemignant
n00b
n00b


Joined: 23 Feb 2008
Posts: 4

PostPosted: Sat Feb 23, 2008 5:42 pm    Post subject: [pygobject]problem emerge pygobject - python headers(résolu) Reply with quote

Lors de la mise à jour de mon système, j'ai eu le problème suivant avec le package pygobject
J'ai fait le tou du forum et je ne trouve pas exactement le même problème.

...
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) 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
checking for a Python interpreter with version >= 2.3.5... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for headers required to compile python extensions... not found
configure: error: could not find Python headers

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-python/pygobject-2.14.0/work/pygobject-2.14.0/config.log
*
* ERROR: dev-python/pygobject-2.14.0 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2880: Called gnome2_src_compile
* environment, line 2163: Called gnome2_src_configure
* environment, line 2177: Called econf 'src_compile' 'src_compile'
* ebuild.sh, line 513: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/pygobject-2.14.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/pygobject-2.14.0/temp/environment'.
*


Last edited by plemignant on Mon Feb 25, 2008 8:33 pm; edited 3 times in total
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Sat Feb 23, 2008 5:56 pm    Post subject: Reply with quote

Puisque tu es francophone (d'après les informations de ton profil), il serait mieux d'écrire en français dans cette section du forum.

Et n'oublie pas de mettre un titre conforme aux règles du forum.

Merci :).
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
SlashRhumSlashNeisson
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 200
Location: Lille

PostPosted: Sun Feb 24, 2008 8:16 pm    Post subject: Reply with quote

Salut et bienvenue,

peux tu poster ton :
Code:
emerge --info

s'il te plaît
_________________
Gentoo only
Back to top
View user's profile Send private message
plemignant
n00b
n00b


Joined: 23 Feb 2008
Posts: 4

PostPosted: Sun Feb 24, 2008 8:27 pm    Post subject: [pygobject]problem emerge pygobject - python headers Reply with quote

voici mon emerge --info
Code:
 
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Sat, 23 Feb 2008 16:15:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.3.6-r4, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
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=pentium-m -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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ "
LANG="fr_FR@euro"               
LINGUAS="fr"                   
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"         
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 acl acpi adpcm alaw alsa arts automount berkdb bitmap-fonts cairo cdr cli copy cracklib crypt cups dbus dri dshare dsnoop dts dvd dvdr dvdread eds emboss encode esd evo extplug fam file firefox fortran gcj gdbm gif gnome gnutella gpm gstreamer gtk hal hooks iconv imlib ipv6 isdnlog jpeg jpg kde kdeberos ladspa ldap lfloat linear mad meter midi mikmod mime mp3 mpeg mudflap mulaw multi ncurses nls nptl nptlonly null ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime rate readline redline reflection route sdl session share shm spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode v4l vorbis wifi win32codecs x86 xinerama xml xorg xv 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Back to top
View user's profile Send private message
SlashRhumSlashNeisson
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 200
Location: Lille

PostPosted: Sun Feb 24, 2008 8:37 pm    Post subject: Reply with quote

Que te donnes sous root

Code:
python-updater

_________________
Gentoo only
Back to top
View user's profile Send private message
plemignant
n00b
n00b


Joined: 23 Feb 2008
Posts: 4

PostPosted: Sun Feb 24, 2008 8:52 pm    Post subject: Reply with quote

Code:

 * Starting Python Updater from 2.3 to 2.4 :
 * Searching for packages with files in /usr/lib/python2.3 /usr/lib32/python2.3 /usr/lib64/python2.3 ..
 * No packages needs to be remerged.
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Sun Feb 24, 2008 8:53 pm    Post subject: Reply with quote

À mon avis, Python est mal installé.
La première chose que je ferai, c'est de le re-emerger.
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
SlashRhumSlashNeisson
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 200
Location: Lille

PostPosted: Sun Feb 24, 2008 9:04 pm    Post subject: Reply with quote

Bon, OK au niveau de la version de python.

re-synchronises portage pour voir si c'est OK

Code:
# emerge --sync && update-eix && emerge -upD world


Si tu es up to date, essaies de re-emerger python --> /grilled Desintegr
_________________
Gentoo only
Back to top
View user's profile Send private message
plemignant
n00b
n00b


Joined: 23 Feb 2008
Posts: 4

PostPosted: Mon Feb 25, 2008 8:31 pm    Post subject: Reply with quote

ok merci pour votre aide

j'ai fait la commande suivante et pas de problème
Code:

emerge python && emerge -auDn world
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
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