Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
stage1 install on sparc; ebuild fails for gettext
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
Paul Forgey
n00b
n00b


Joined: 11 Dec 2003
Posts: 51

PostPosted: Tue Nov 30, 2004 11:05 pm    Post subject: stage1 install on sparc; ebuild fails for gettext Reply with quote

I'm progressing through a stage1 install on an Ultra 5 using stage1-sparc64-2004.3. When I emerge world, sys-devel/gettext-0.12.1-r2 fails:

Code:

...
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link

!!! ERROR: sys-devel/gettext-0.12.1-r2 failed.
!!! Function econf, Line 449, Exitcode 1


/var/portage/gettext-0.12.1-r2/work/gettext-0.12.1/autoconf-lib-link/config.log indicates there is no c++ compiler on the system.

Why isn't there if it's needed, and how to I properly emerge it?
Back to top
View user's profile Send private message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minneapolis, MN

PostPosted: Tue Nov 30, 2004 11:22 pm    Post subject: Reply with quote

can you post your make.conf? i want to check something that was giving me problems with my x86 system.
Back to top
View user's profile Send private message
Imago
Apprentice
Apprentice


Joined: 25 Nov 2004
Posts: 157
Location: Germany

PostPosted: Tue Nov 30, 2004 11:47 pm    Post subject: Reply with quote

@Paul Forgey
it seems your system still uses the gcc from the stage1 archive with comes without c++-compiler. You can make a 'gcc-config -l' to see if there was installed on your system during bootstrap(actually it should be).Then switching to it with: 'gcc-config 2'. Then restart bootstrap.
If thats not the case, re-emerge gcc:
Code:

emerge --nodeps --oneshot gcc


Cu
Imago
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Wed Dec 01, 2004 12:00 am    Post subject: Reply with quote

you're not the first persion to report this problem -- and i think its not platform specific. there are TONS of threads on this subject in the message base. search for the following string and you'll hit them all, complete with explanations of what to do:
Code:
sys-devel/gettext

_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Paul Forgey
n00b
n00b


Joined: 11 Dec 2003
Posts: 51

PostPosted: Wed Dec 01, 2004 12:15 am    Post subject: Reply with quote

zecora wrote:
can you post your make.conf? i want to check something that was giving me problems with my x86 system.


Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CXXFLAGS="-O2 -mcpu=ultrasparc"
MAKEOPTS="-j2"
USE="-X"
Back to top
View user's profile Send private message
Paul Forgey
n00b
n00b


Joined: 11 Dec 2003
Posts: 51

PostPosted: Wed Dec 01, 2004 12:21 am    Post subject: Reply with quote

[Imago] wrote:
@Paul Forgey
it seems your system still uses the gcc from the stage1 archive with comes without c++-compiler. You can make a 'gcc-config -l' to see if there was installed on your system during bootstrap(actually it should be).Then switching to it with: 'gcc-config 2'. Then restart bootstrap.
If thats not the case, re-emerge gcc:
Code:

emerge --nodeps --oneshot gcc


Cu
Imago


Code:

livecd tmp # gcc-config -l
[1] sparc-unknown-linux-gnu-3.3.4 *
livecd tmp #


However, I suppose I can re-emerge gcc since it is included in the system alias anyway.
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Wed Dec 01, 2004 12:50 am    Post subject: Reply with quote

You dont need to run linux2.6-headers or kernel. Its not 2.6 prob but an eclass problem.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
Mystilleef
Guru
Guru


Joined: 27 Apr 2003
Posts: 561
Location: Earth

PostPosted: Sat Dec 04, 2004 5:56 am    Post subject: Reply with quote

I'm having the same problem, any solutions?
_________________
simple, sleek and sexy text editor for gnome

"My logic is undeniable."
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