Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerge syslog-ng] Probleme [RESOLU]
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
xandine
n00b
n00b


Joined: 25 Nov 2004
Posts: 21

PostPosted: Sat Jan 17, 2009 9:06 pm    Post subject: [emerge syslog-ng] Probleme [RESOLU] Reply with quote

Bonsoire je suis en trian de reinstall gentoo et lors de l'install de syslog j'ai sa:


gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -pthread -O2 -march=nocona -pipe -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c gatomic.c -fPIC -DPIC -o .libs/gatomic.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -pthread -O2 -march=nocona -pipe -Wall -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c garray.c -fPIC -DPIC -o .libs/garray.o
{standard input}: Assembler messages:
{standard input}:65: Error: suffix or operands invalid for `cmpxchg'
make[4]: *** [gatomic.lo] Erreur 1
make[4]: *** Attente des tâches non terminées....
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -pthread -O2 -march=nocona -pipe -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c gasyncqueue.c -fPIC -DPIC -o .libs/gasyncqueue.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -pthread -O2 -march=nocona -pipe -Wall -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c garray.c -o garray.o >/dev/null 2>&1
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -pthread -O2 -march=nocona -pipe -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c gasyncqueue.c -o gasyncqueue.o >/dev/null 2>&1
mv -f .deps/garray.Tpo .deps/garray.Plo
mv -f .deps/gasyncqueue.Tpo .deps/gasyncqueue.Plo
make[4]: quittant le répertoire « /var/tmp/portage/dev-libs/glib-2.16.5/work/glib-2.16.5/glib »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /var/tmp/portage/dev-libs/glib-2.16.5/work/glib-2.16.5/glib »
make[2]: *** [all] Erreur 2
make[2]: quittant le répertoire « /var/tmp/portage/dev-libs/glib-2.16.5/work/glib-2.16.5/glib »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/dev-libs/glib-2.16.5/work/glib-2.16.5 »
make: *** [all] Erreur 2
*
* ERROR: dev-libs/glib-2.16.5 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2648: Called die
* The specific snippet of code:
* emake || die "make failed"
* The die message:
* make 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-libs/glib-2.16.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.16.5/temp/environment'.
*

>>> Failed to emerge dev-libs/glib-2.16.5, Log file:

>>> '/var/tmp/portage/dev-libs/glib-2.16.5/temp/build.log'

* Messages for package dev-libs/glib-2.16.5:

*
* ERROR: dev-libs/glib-2.16.5 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2648: Called die
* The specific snippet of code:
* emake || die "make failed"
* The die message:
* make 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-libs/glib-2.16.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.16.5/temp/environment'.


qui pourrais m'aider ?

le log a sa
>>> Unpacking source...
>>> Unpacking glib-2.16.5.tar.bz2 to /var/tmp/portage/dev-libs/glib-2.16.5/work
^[[32;01m*^[[0m Applying glib-2.12.12-fbsd.patch ...
^[[A^[[123C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/glib-2.16.5/work/glib-2.16.5 ...
^[[32;01m*^[[0m Removing useless C++ checks ...
^[[A^[[123C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
* econf: updating glib-2.16.5/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating glib-2.16.5/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysc$
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for the BeOS... no
checking for Win32... no
checking for Mac OS X Carbon support... checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... no
checking for 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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
checking for x86_64-pc-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3


Last edited by xandine on Mon Jan 19, 2009 1:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1699
Location: 127.0.0.1

PostPosted: Sat Jan 17, 2009 9:52 pm    Post subject: Reply with quote

Salut,

Fais voir ton emerge --info.

Quote:
There's the problem: default-linux/x86/vserver

You have an x86 profile and an x86_64 CHOST.

glib: suffix or operands invalid for `cmpxchg' [SOLVED]
Back to top
View user's profile Send private message
xandine
n00b
n00b


Joined: 25 Nov 2004
Posts: 21

PostPosted: Sat Jan 17, 2009 10:36 pm    Post subject: Reply with quote

re voila


emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-glibc2.0
Timestamp of tree: Sat, 17 Jan 2009 19:15:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r13
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.61-r1
sys-devel/automake: 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ "
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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 acl alsa avi berkdb bzip2 cdrom cli cracklib crypt cups dbus divx dri dvd dvdread foomaticdb fortran gdbm gif gnome gpm gtk hal iconv ipv6 isdnlog jpeg midi mp3 mpeg mudflap ncurses nld nls nptl nptlonly nvidia opengl openmp oss pam pcre pdf perl png ppds pppd python quicktime readline reflection session spl ssl symlink sysfs tcpd truetype unicode usb userlocales utf8 x86 xorg xv xvid 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="mouse kayboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
Gef
Apprentice
Apprentice


Joined: 17 May 2008
Posts: 180
Location: France

PostPosted: Sun Jan 18, 2009 12:43 am    Post subject: Reply with quote

Quote:

Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
<snip>
ACCEPT_KEYWORDS="x86"
CBUILD="x86_64-pc-linux-gnu"

:x
_________________
Laptop : Gentoo ~amd64
(remote) Server : Gentoo amd64
Back to top
View user's profile Send private message
xandine
n00b
n00b


Joined: 25 Nov 2004
Posts: 21

PostPosted: Sun Jan 18, 2009 10:06 am    Post subject: Reply with quote

bonjours

excuse gef mais la j'ai rien compris
peux tu m'expliquais mieux

CDTL
Back to top
View user's profile Send private message
YetiBarBar
Guru
Guru


Joined: 23 Dec 2005
Posts: 501

PostPosted: Sun Jan 18, 2009 11:23 am    Post subject: Reply with quote

En gros, tu as fais un gros mix entre x86 et x86_64 (=amd64):

- ton stage3 semble être x86_64
- ton profil semble être x86
- ton make.conf, un mix des 2! (ACCEPT_KEYWORD="x86" et CHOST="x86_64-..." sont incompatibles entre eux)

Le mieux, pour avoir quelquechose de propre (vu que ton install est toute fraiche) et que tu n'as pas encore compilé de "gros" trucs serait de recommencer ton install en prenant bien garde à tout faire en x86 (avec un CHOST en i686 par exemple) ou de tout faire en amd64 (avec un CHOST en x86_64-...)
Back to top
View user's profile Send private message
xandine
n00b
n00b


Joined: 25 Nov 2004
Posts: 21

PostPosted: Sun Jan 18, 2009 1:00 pm    Post subject: Reply with quote

Rebonjours

Ben pour l'Install j'ai utilise le cd "Install-x86-minimal-2008.0", le stage 3 de http://mirror.ovh.net/gentoo-distfiles/releases/x86/current/stages/stage3-i686-2008.0.tar.bz2 et le portage-latest.tar.bz2

ET configure le make config

# 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 -march=nocona -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"


# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"

LINGAS="fr"
INPUT_DEVICES="mouse kayboard"
VIDEO_CARD="vesa nv nvidia"
FEATURES="ccache"
CCACHE_SIZE="2G"

USE="symlink X gnome gtk alsa dvd cdrom mpeg divx xvid avi xorg opengl nvidia utf8 nld oss dvd dvdread truetype userlocales cups foomaticdb usb ppds unicode jpeg gif png mp3 real xv quicktime hal dbus pdf"

GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ "

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

Pour un P8600 core2 en 64Bits 4Go

Je voudrais savoir quoi faire pour que je reprenne l'Install en entier cette fois si en 64 bits réel

Merci d'avance.
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3581
Location: Belgium

PostPosted: Sun Jan 18, 2009 1:36 pm    Post subject: Reply with quote

Prendre le stage3 pour amd64 : http://mirror.ovh.net/gentoo-distfiles/releases/amd64/
Back to top
View user's profile Send private message
Gaby
Apprentice
Apprentice


Joined: 03 Aug 2005
Posts: 251

PostPosted: Sun Jan 18, 2009 1:41 pm    Post subject: Reply with quote

Bonjour,

Si tu veux faire une installation en 64bits, tu dois tout refaire en faisant attention à ce que tu télécharge.
Tu as utilisé le minimal CD 32 bit avec le stage 3 32 bit mais en configurant le make.conf pour 64bit.

Si tu tiens à avoir une gentoo 64bit utilise déjà ce manuel
Tu dois utiliser un CD 64bit (voir doc pour le trouver) et un stage 3 64bit (voir doc également).

A noter que le 64 bit est noté amd64 même pour les processeurs intel. x86 étant le 32bit.

Gaby
Back to top
View user's profile Send private message
xandine
n00b
n00b


Joined: 25 Nov 2004
Posts: 21

PostPosted: Mon Jan 19, 2009 1:37 pm    Post subject: Reply with quote

Bonjours


merci de votre aides

sa a marche la j'attack emerge gnome

CDTL
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