View previous topic :: View next topic |
Author |
Message |
tnt Veteran
Joined: 27 Feb 2004 Posts: 1227
|
Posted: Mon Mar 29, 2004 12:32 pm Post subject: can't emerge system, groff problem but different |
|
|
whan i try to "emerge system", i get:
Code: | 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.18.1-r4 failed.
!!! Function src_compile, Line 82, Exitcode 1
!!! (no error message) |
bootstraping was done without any errors...
what could be wrong?
|
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1227
|
Posted: Mon Mar 29, 2004 12:46 pm Post subject: |
|
|
error is repeated with other packages, too.
it seem that i miss g++ compiler, and HOW can it be?
where did i go wrong?
/etc/make.conf:
Code: | USE="-oss apache2 -arts -gtk -gnome -qt -kde -alsa -avi -cups -dvd -cdr -dga -encode -esd -foomaticdb gd -gpm -java -mad -mikmod -mpeg mmx -nls -oggvorbis -opengl perl -pdflib -quicktime samba -sdl -truetype -X -xmms snmp -spell tiff usb -xv"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -mmmx -maccumulate-outgoing-args"
CXXFLAGS="${CFLAGS}"
DISTDIR=/mnt/portage/distfiles
MAKEOPTS="-j2"
RSYNC_RETRIES="3"
PORTAGE_NICENESS="15"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/gentoo/ http://gentoo.linux.no/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://212.219.247.13/sites/www.ibiblio.org/gentoo/"
|
|
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20484
|
Posted: Tue Mar 30, 2004 2:22 pm Post subject: Re: can't emerge system, groff problem but different |
|
|
tnt wrote: | configure: error: a working C++ compiler is required | Have you searched for other threads with this error? I recall seeing some, but forget what the solution was. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
KaiNeR Tux's lil' helper
Joined: 19 Mar 2004 Posts: 100
|
Posted: Tue Mar 30, 2004 2:53 pm Post subject: |
|
|
I am getting that exact same error message, do you have a asus p4c800 deluxe mobo. did you find any solution ?
cheers |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1227
|
Posted: Tue Mar 30, 2004 2:57 pm Post subject: |
|
|
haven't found anything, but i've altered some flags and now it's ok. new flags are:
Code: | USE="-oss apache2 -arts -gtk -gnome -qt -kde -alsa -avi -cups -dvd -cdr -dga -encode -esd -foomaticdb gd gpm -mad -mikmod -mpeg mmx -oggvorbis -opengl perl -pdflib -quicktime samba -X -xmms snmp -spell tiff usb -xv"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -mmmx -maccumulate-outgoing-args -funroll-loops"
|
so everybody can compare them to old flags.
|
|
Back to top |
|
|
TheOneLord n00b
Joined: 19 Aug 2003 Posts: 30 Location: Germany, PB
|
Posted: Tue Mar 30, 2004 5:14 pm Post subject: |
|
|
I gave a solution here.
MfG TOL |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1227
|
Posted: Tue Mar 30, 2004 5:43 pm Post subject: |
|
|
ok, thanx, but i've already passed that point by changing some flags in my make.conf. it works fine now and it works with gcc-3.3.2-r5
looking for some explanation...
(developers should really jump in here: https://forums.gentoo.org/viewtopic.php?t=155109&start=0 ) |
|
Back to top |
|
|
|