Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't emerge system, groff problem but different
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1227

PostPosted: Mon Mar 29, 2004 12:32 pm    Post subject: can't emerge system, groff problem but different Reply with quote

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?

:roll:
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1227

PostPosted: Mon Mar 29, 2004 12:46 pm    Post subject: Reply with quote

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/"


:roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll:
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20484

PostPosted: Tue Mar 30, 2004 2:22 pm    Post subject: Re: can't emerge system, groff problem but different Reply with quote

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
View user's profile Send private message
KaiNeR
Tux's lil' helper
Tux's lil' helper


Joined: 19 Mar 2004
Posts: 100

PostPosted: Tue Mar 30, 2004 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1227

PostPosted: Tue Mar 30, 2004 2:57 pm    Post subject: Reply with quote

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.

:roll:
Back to top
View user's profile Send private message
TheOneLord
n00b
n00b


Joined: 19 Aug 2003
Posts: 30
Location: Germany, PB

PostPosted: Tue Mar 30, 2004 5:14 pm    Post subject: Reply with quote

I gave a solution here.

MfG TOL
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1227

PostPosted: Tue Mar 30, 2004 5:43 pm    Post subject: Reply with quote

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

:lol:

looking for some explanation... :roll:
(developers should really jump in here: https://forums.gentoo.org/viewtopic.php?t=155109&start=0 )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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