Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
groff error while bootstraping
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ghudev
n00b
n00b


Joined: 30 Mar 2004
Posts: 4

PostPosted: Tue Mar 30, 2004 2:23 am    Post subject: groff error while bootstraping Reply with quote

Hi,
I have a problem with my bootstrap ... it tries to compile groff and that leads to the following error:
Code:
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)

I have read a lot of threads with the same topic, but none of them solved my problem.
I changed my CFLAGS a lot and there is no hcc on my System, so there's no hcc.conf.
When I'm trying to run just g++ I get an error: Could not run/locate "g++"
I'm using the minimal LiveCD 2004.0 and stage1-x86-20040218.tar.bz2

I'm hoping that anyone here has an idea to solve my problem :)
Back to top
View user's profile Send private message
rands
n00b
n00b


Joined: 29 Mar 2004
Posts: 19

PostPosted: Tue Mar 30, 2004 2:48 am    Post subject: Reply with quote

hmm, i am having the exact same problem. the interesting thing is that this did not happen when i followed the same procedure on the same machine last week.

here are all of the relevant changes made by me to a stage1 network install:

Code:

# this is /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
#CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
USE=""
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"


i tried reverting make.conf to its original state (and updating my environment accordingly), but no luck.

the error (running scripts/bootstrap.sh):
Code:

>>> md5 src_uri ;-) groff-1.18.1.tar.gz
>>> Unpacking source...
>>> Unpacking groff-1.18.1.tar.gz to /var/tmp/portage/groff-1.18.1-r4/work
  [ ok ]ing groff-1.18.1-no-color-segfault.patch...
  [ ok ]ing groff-1.18-infoext.patch...
  [ ok ]ing groff-1.18-no-netpbm-depend.patch...
  [ ok ]ing groff-man-UTF-8.diff...
>>> 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.18.1-r4 failed.
!!! Function src_compile, Line 82, Exitcode 1
!!! (no error message)

livecd portage # gcc
gcc: no input files
livecd portage # g++
Could not run/locate "g++"
Back to top
View user's profile Send private message
sbmike
n00b
n00b


Joined: 19 Jun 2003
Posts: 8
Location: CA

PostPosted: Tue Mar 30, 2004 3:26 am    Post subject: Reply with quote

I am also having the exact same problem that you guys are reporting. :?
_________________
Mike
Back to top
View user's profile Send private message
fico
n00b
n00b


Joined: 21 Feb 2004
Posts: 34

PostPosted: Tue Mar 30, 2004 3:51 am    Post subject: Reply with quote

i'm in the same boat. i've installed gentoo before, but now i'm trying it on a laptop and i'm having these problems.
i've gone over the instructions 10 times and checked my settings, but the same result each time.

the strange configure error
Code:
configure: error: a working c++ compiler is required

shouldn't be coming up.

why can't it find the compiler.

anyone have a clue?
Back to top
View user's profile Send private message
rsk
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 220
Location: Tucson, AZ

PostPosted: Tue Mar 30, 2004 4:16 am    Post subject: Reply with quote

ditto, the 2004.0 CD install process seems to be borked... I haven't gotten past emerge system successfully yet...
_________________
Best,
Riyad
Back to top
View user's profile Send private message
teilo
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 276
Location: Minneapolis, MN

PostPosted: Tue Mar 30, 2004 6:29 am    Post subject: Reply with quote

The is a regression of a very old and very ugly bug:

https://bugs.gentoo.org/show_bug.cgi?id=1805

And I am having this same problem. None of the workarounds in the bug appear to solve it.

Basically, the build version of GCC does not include C++ support, which groff (and I think groff alone) requires.
_________________
Teilo who is called Teilo
Back to top
View user's profile Send private message
teilo
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 276
Location: Minneapolis, MN

PostPosted: Tue Mar 30, 2004 6:58 am    Post subject: Reply with quote

I got around this by cheating. I made a static binary package of groff on my laptop (which is a p4), and scp'd it over to the desktop I am building. Worked like a champ.

Bad news: sys-libs/db has a build error for the same reason: no g++.
_________________
Teilo who is called Teilo
Back to top
View user's profile Send private message
rands
n00b
n00b


Joined: 29 Mar 2004
Posts: 19

PostPosted: Tue Mar 30, 2004 7:55 am    Post subject: Reply with quote

well, i entered us into bugzilla, so hopefully someone will take note (https://bugs.gentoo.org/show_bug.cgi?id=46208). thanks teilo for pointing out the original bug.
i'll post again when i am notified that it is resolved.
Back to top
View user's profile Send private message
BoZ
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 114
Location: The Netherlands

PostPosted: Tue Mar 30, 2004 7:57 am    Post subject: Reply with quote

teilo wrote:
I got around this by cheating. I made a static binary package of groff on my laptop (which is a p4), and scp'd it over to the desktop I am building. Worked like a champ.

Bad news: sys-libs/db has a build error for the same reason: no g++.

I had exactly the same problem, my workaround is based on yours, though I used quickpkg to make a binary pkg from a working gentoo-system. It's a fast solution though it requires a running system...
Back to top
View user's profile Send private message
andreinoz
n00b
n00b


Joined: 30 Mar 2004
Posts: 2
Location: Perugia - Italy

PostPosted: Tue Mar 30, 2004 11:55 am    Post subject: Reply with quote

Uh... I have the same problem...
Back to top
View user's profile Send private message
Saturation
n00b
n00b


Joined: 29 Mar 2004
Posts: 65

PostPosted: Tue Mar 30, 2004 12:01 pm    Post subject: Reply with quote

andreinoz wrote:
Uh... I have the same problem...


Me too
Back to top
View user's profile Send private message
Paradoxx
Apprentice
Apprentice


Joined: 13 Jan 2003
Posts: 197
Location: Sweden

PostPosted: Tue Mar 30, 2004 12:11 pm    Post subject: Reply with quote

i haw now traid to install gentoo 3 times same error always. but 2 days ago gentoo installation work grate can it be so the haw relest new ver of groff so is unstabel?


im using LiveCD 2004.0 and stage1-x86-20040218.tar.bz2


//sorry about my spelling im dyslectic
_________________
//Jag är dyslectiker

//pless dount complain im dyslectic


//i whas born in hell im going to hell
Back to top
View user's profile Send private message
andreinoz
n00b
n00b


Joined: 30 Mar 2004
Posts: 2
Location: Perugia - Italy

PostPosted: Tue Mar 30, 2004 12:18 pm    Post subject: Reply with quote

Paradoxx wrote:


im using LiveCD 2004.0 and stage1-x86-20040218.tar.bz2



i'm using the same stage1...
Back to top
View user's profile Send private message
rsk
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 220
Location: Tucson, AZ

PostPosted: Tue Mar 30, 2004 12:18 pm    Post subject: Reply with quote

It very well could be. All I know is that I tried to install Gentoo 2004.0 yesterday (5x) and the 1st time I got through to a emerge system which failed at groff, but now every time after that (Reformat/reinstall) I can't even get past the bootstrap.

This is fun!
_________________
Best,
Riyad
Back to top
View user's profile Send private message
Paradoxx
Apprentice
Apprentice


Joined: 13 Jan 2003
Posts: 197
Location: Sweden

PostPosted: Tue Mar 30, 2004 12:36 pm    Post subject: Reply with quote

so haw eney bodey found eney problem fix or work oround?


//sorry about my spelling im dyslectic
_________________
//Jag är dyslectiker

//pless dount complain im dyslectic


//i whas born in hell im going to hell
Back to top
View user's profile Send private message
rsk
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 220
Location: Tucson, AZ

PostPosted: Tue Mar 30, 2004 12:58 pm    Post subject: Reply with quote

That's what I don't understand either... if all of these people are having trouble installing 2004.0, how has there not been a fix-release of it since February? Or are we just the unluckiest group of guys around?
_________________
Best,
Riyad
Back to top
View user's profile Send private message
Nidel
n00b
n00b


Joined: 20 Feb 2004
Posts: 67
Location: France|Pas-de-Calais=>Lens

PostPosted: Tue Mar 30, 2004 3:09 pm    Post subject: Reply with quote

HAAA!! I have exactly it same problem, this is the first time that I have this problem while that does 3 Gentoo that I install with this stage1 (2004.0), on 2 PC!!

sorry I do not speak well English
PC1 :
Code:
USE="X gtk gnome -alsa -qt -kde -berkdb 3dnow pppoa nvidia apache2 cdr crypt dga fbcon gif png jpeg gtk2 imap libwww maildir mmx mysql ncurses opengl pam -arts ssl svga tcltk zlib"


CHOST="i686-pc-linux-gnu"

CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -fPIC"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -fPIC"

PC2 :
Code:

USE="X gtk gnome alsa gtk2 -qt -kde nvidia opengl 3dnow audiofile avi cdr dvd dvdr cups fbcon foomaicdb gb gif png jpeg gpm libwww mmx msn mpeg ncurses sdl spell ssl svga tcltk truetype usb wxwindows xinerama xmms"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fPIC"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fPIC"


Need of a solution.. : (
_________________
"L'Art naît de Souffrance,vit de Lutte,meurt de Liberté..."
Back to top
View user's profile Send private message
rsk
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 220
Location: Tucson, AZ

PostPosted: Tue Mar 30, 2004 3:17 pm    Post subject: Reply with quote

HELLO, ANY DEVS HELP US OUT?
_________________
Best,
Riyad
Back to top
View user's profile Send private message
rsk
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 220
Location: Tucson, AZ

PostPosted: Tue Mar 30, 2004 3:18 pm    Post subject: Reply with quote

Guys,
Check out this bug and add your comments:
https://bugs.gentoo.org/show_bug.cgi?id=46208
_________________
Best,
Riyad
Back to top
View user's profile Send private message
Cyrodor
n00b
n00b


Joined: 30 Mar 2004
Posts: 1

PostPosted: Tue Mar 30, 2004 3:25 pm    Post subject: Reply with quote

Same problem here, I never installed Gentoo before so I thought it was me doing something wrong but now.. 6 tries later, I read this and seems like it wasnt.

I really hope for a sollution soon, was planning on having it up and running tonight :cry:
Back to top
View user's profile Send private message
rsk
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 220
Location: Tucson, AZ

PostPosted: Tue Mar 30, 2004 3:28 pm    Post subject: Reply with quote

Yea exactly my hope too... this is my work machine, so I'm just sitting here staring at it getting *A LOT* done :(
_________________
Best,
Riyad
Back to top
View user's profile Send private message
Yankee
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 77
Location: Germany

PostPosted: Tue Mar 30, 2004 3:47 pm    Post subject: Reply with quote

Same problem here.

I even tried a 1.4 livecd but that doesn't work either.
Back to top
View user's profile Send private message
DarkSYN
n00b
n00b


Joined: 30 Mar 2004
Posts: 2
Location: Sunderland, UK

PostPosted: Tue Mar 30, 2004 3:48 pm    Post subject: Reply with quote

Had exactly the same problem (stage1 + bootstrap + groff) when I tried to install Gentoo on another harddisk on the same computer. However, after pulling an all-nighter I believe I found a solution that worked on my box (athlon-xp).

First of all, it seems that some mirrors have stage1 packages that are like 11.7<something> MB and others have ones that are 12MB. I tried the 12MB one, just for reference's sake.

What solved my problem was doing an emerge-webrsync (downloading a portage snapshot) and then bootstrapping.

Apparently, emerge-webrsync "forces" the bootstrap.sh script to compile and install gcc and g++ and create an i686-linux-pc-gnu gcc-conf entry before compiling groff.

No problems encountered either during the bootstrapping process or during "emerge system", and you can still do a "emerge sync" after the first boot.

Any comments on the solution would be appreciated.
Back to top
View user's profile Send private message
rsk
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 220
Location: Tucson, AZ

PostPosted: Tue Mar 30, 2004 3:52 pm    Post subject: Reply with quote

God that's weird... I wonder why a portage sync would pull down a c++ compiler where a normal sync won't...

I actually don't even know why the sentence above would make sense...
_________________
Best,
Riyad
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 3:59 pm    Post subject: Reply with quote

I also had the same problem.

For a working solution I just compiled the same gcc-Version as in the stage again with "--nodeps", for example for the 1.4-stage1:

emerge -O /usr/portage/sys-devel/gcc/gcc-3.2.3-r4.ebuild

Then gcc compiles again with g++.
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
Goto page 1, 2, 3  Next
Page 1 of 3

 
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