OVH Community, your new community space.

emerge en release 2


Ryouji
21/12/2008, 22:40
Efectivamente era error del make.conf que se le iria la olla al que instalo gentoo en el servidor y puso i686 en vez de x86-64 que era la arquitectura del compilador.

Por si a alguien mas le pasa...

Un saludo!

Ryouji
21/12/2008, 21:39
Hola,

Acabo de contratar un servidor con release 2 para hacer de servidor web. Queria cambiar algunas cosas e instalar otras y al hacer un emerge loquesea para instalar cualquier cosa me salta un error como este :

Código:
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/net-ftp/lftp-3.7.0/work/lftp-3.7.0/config.log
 *
 * ERROR: net-ftp/lftp-3.7.0 failed.
 * Call stack:
 *           ebuild.sh, line 1701:  Called dyn_compile
 *           ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *           ebuild.sh, line   44:  Called src_compile
 *   lftp-3.7.0.ebuild, line   54:  Called econf '--sysconfdir=/etc/lftp' '--wit                                                                                                 h-modules' '--enable-nls' '--enable-packager-mode' '--without-gnutls' '--with-op                                                                                                 enssl=/usr' '--without-socksdante'
 *           ebuild.sh, line  638:  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 rele                                                                                                 vant.
 * A complete build log is located at '/var/tmp/portage/net-ftp/lftp-3.7.0/temp/                                                                                                 build.log'.
 *

 * Messages for package net-ftp/lftp-3.7.0:

 *
 * ERROR: net-ftp/lftp-3.7.0 failed.
 * Call stack:
 *           ebuild.sh, line 1701:  Called dyn_compile
 *           ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *           ebuild.sh, line   44:  Called src_compile
 *   lftp-3.7.0.ebuild, line   54:  Called econf '--sysconfdir=/etc/lftp' '--wit                                                                                                 h-modules' '--enable-nls' '--enable-packager-mode' '--without-gnutls' '--with-op                                                                                                 enssl=/usr' '--without-socksdante'
 *           ebuild.sh, line  638:  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 rele                                                                                                 vant.
 * A complete build log is located at '/var/tmp/portage/net-ftp/lftp-3.7.0/temp/                                                                                                 build.log'.
He llegado a la conclusion que el problema viene de el compilador gcc, pero no hay manera de solucionarlo ni con un emerge libstdc++-v3. ¿será problema del make.conf entonces? os dejo un emerge --info por ver si hay algo mal aunque yo no he tocado nada desde que me lo dieron :

Código:
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-3.4.5, glibc-2.3.6-r3, 2.6.24.5-grsec-xxxx-grs-ipv4-64 x86_64)
=================================================================
System uname: 2.6.24.5-grsec-xxxx-grs-ipv4-64 x86_64 Intel(R) Celeron(R) CPU 2.66GHz
Timestamp of tree: Wed, 09 Jul 2008 09:00:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.11.14-r8
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=i686"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/local/apache/conf /usr/local/lib/php4 /usr/local/lib/php5 /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/"
LANG="es_ES@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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-ovh"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi alsa amd64 arts berkdb cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gcc gdbm gif gnome gpm gstreamer hal iconv ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses netboot nls nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection session spell spl sse sse2 ssl svg tcpd tiff truetype unicode vorbis xml 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" 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" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
A ver si alguien con estos datos me puede echar una mano.

Un saludo!