Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Instalacion] a working C++ compiler is required (Soluc)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
kruncher
n00b
n00b


Joined: 10 Mar 2004
Posts: 59

PostPosted: Wed May 19, 2004 5:58 pm    Post subject: [Instalacion] a working C++ compiler is required (Soluc) Reply with quote

Hola, estoy instalando una gentoo y me he encotrando con este error durante el emerge system, ¿sabeis a que puede ser debido?, Gracias !:

# emerge system
Calculating system dependencies ...done!
>>> emerge (1 of 71) sys-apps/groff-1.19 to /
>>> md5 src_uri ;-) groff-1.19.tar.gz
>>> Unpacking source...
>>> Unpacking groff-1.19.tar.gz to /var/tmp/portage/groff-1.19/work
* Applying groff-1.18-infoext.patch... [ ok ]
* Applying groff-1.18-no-netpbm-depend.patch... [ ok ]
* Applying groff-man-UTF-8.diff... [ ok ]
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking that C++ compiler can compile simple program... no
configure: error: a working C++ compiler is required

!!! ERROR: sys-apps/groff-1.19 failed.
!!! Function src_compile, Line 77, Exitcode 1
!!! (no error message)

************************************************************************
************************************************************************

# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/specs
Configured with: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure --prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/include --datadir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/info --enable-shared --host=i386-pc-linux-gnu --target=i386-pc-linux-gnu --with-system-zlib --enable-languages=c --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/include/g++-v3 --with-local-prefix=/usr/local --disable-nls --disable-multilib
Thread model: posix
gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)

************************

# env | grep cc
MANPATH=/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i386-pc-linux-gnu/3.3/man
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3
INFOPATH=/usr/share/info:/usr/share/gcc-data/i386-pc-linux-gnu/3.3/info
CC=gcc

************************

# emerge info
Portage 2.0.50-r6 (hardened-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r10, 2.4.22-xfs)
=================================================================
System uname: 2.4.22-xfs i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.3.13
Autoconf:
Automake:
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.caliu.info/pub/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 berkdb bonobo crypt dvd flash gbm gd gd-external gnome gtk gtkhtml hardened imap mysql ncurses nls pam perl php pic pie python readline sd1 ssl svga tcpd tetex tiff truetype vcd x86 xml zlib"
_________________
Web Log


Last edited by kruncher on Wed May 19, 2004 10:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
kabutor
l33t
l33t


Joined: 12 Dec 2002
Posts: 821
Location: Benalmadena - Melrose Place

PostPosted: Wed May 19, 2004 7:41 pm    Post subject: Reply with quote

hombre, yo quitaria el ~x86 del /etc/make.conf y probaria de nuevo,

Yo lo tengo asi ..
ACCEPT_KEYWORDS="x86"

Mas que nada pq con el ~ te vas a la rama inestable..
Back to top
View user's profile Send private message
kruncher
n00b
n00b


Joined: 10 Mar 2004
Posts: 59

PostPosted: Wed May 19, 2004 10:52 pm    Post subject: Reply with quote

Vale, ya sta resuelto...

El script q se tiene q ejecutar en la instalacion:

/usr/portage/scripts/bootstrap-2.6.sh

No habia finalizado correctamente, i supongo q no habia instalado el glibc.

Thankss !
_________________
Web Log
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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