Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Portage] Probleme de compilation de gmp (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
jr
n00b
n00b


Joined: 27 Jun 2007
Posts: 49

PostPosted: Wed Aug 29, 2007 9:04 am    Post subject: [Portage] Probleme de compilation de gmp (résolu) Reply with quote

Bonjour,

Dans le cadre d'une mise a jour d'un serveur j'ai mis a jour gcc de 3.4 -> 4.1.2 en suivant la doc. (Deja fait une fois pour une autre machine)

Pas de probleme jusque la, je fait un emerge -eav system, tout fonctionne, et je tente le emerge -eav world et la j'ai une erreur sur gmp qui ser revele bloquante ...
:
Quote:
checking C++ compiler x86_64-pc-linux-gnu-g++ -O2 -pipe -march=nocona... no
configure: error: C++ compiler not available, see config.log for details

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /home/tmp/portage/dev-libs/gmp-4.2.1-r1/work/gmp-4.2.1/config.log

!!! ERROR: dev-libs/gmp-4.2.1-r1 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
gmp-4.2.1-r1.ebuild, line 54: Called econf '--localstatedir=/var/state/gmp' '--disable-mpfr' '--disable-mpbsd' '--enable-cxx'
ebuild.sh, line 586: Called die


Mon fichier make.conf

Quote:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/"
USE="-X mmx multilib netboot sse sse2 -gtk -sdl -xpm -curl -nptl"
PORTDIR_OVERLAY="/usr/local/portage-ovh"
FEATURES="-sandbox"
PORTAGE_TMPDIR="/home/tmp"
BUILD_PREFIX="/home/tmp/portage"


Il me dit qu'il ne trouve pas le compilateur c++, comprends pas il devrait etre avec gcc et libstdc++-v3 non ?

[EDIT] le emerge info :
Quote:

Portage 2.1.2.12 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r4, 2.6.18.1-grsec-xxxx-grs-ipv4-64 x86_64)
=================================================================
System uname: 2.6.18.1-grsec-xxxx-grs-ipv4-64 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 29 Aug 2007 08:30:02 +0000
app-shells/bash: 3.2_p17
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-ovh"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk2 iconv imlib ipv6 isdnlog jpeg kde lzw lzw-tiff midi mp3 mpeg mudflap ncurses netboot nls opengl openmp pam pcre perl png pppd python qt3 qt4 quicktime readline reflection session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Merci d'avance,
Jérémy


Last edited by jr on Wed Aug 29, 2007 1:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
jr
n00b
n00b


Joined: 27 Jun 2007
Posts: 49

PostPosted: Wed Aug 29, 2007 1:24 pm    Post subject: Reply with quote

Bon j'ai recompilé gcc et glibc et ca marche ...
C'est marrant les installes gentoo ca fait un peu loterie, tu rééssaie et pouf ca marche parfois

A noter que j'ai du par contre effacer des fichiers créer dans /usr/lib64/ du vieux gmp pour que ca marche sinon il arrivait pas a finir.
Back to top
View user's profile Send private message
Bapt
Veteran
Veteran


Joined: 14 Apr 2003
Posts: 1152
Location: Paris

PostPosted: Wed Aug 29, 2007 4:35 pm    Post subject: Reply with quote

jr wrote:
Bon j'ai recompilé gcc et glibc et ca marche ...
C'est marrant les installes gentoo ca fait un peu loterie, tu rééssaie et pouf ca marche parfois

Non ce n'est pas du tout de la loterie, si ça plantait, il y avait bien une raison, tu aurais regardé ton config.log comme indiqué ici :
Code:
checking C++ compiler x86_64-pc-linux-gnu-g++ -O2 -pipe -march=nocona... no
configure: error: C++ compiler not available, see config.log for details
tu aurais certainement pu y lire d'où venais le problème.

Recompiler au pif des packages comme gcc/glibc n'apporte rien, même si pour le coup ça a marché pour toi.
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