View previous topic :: View next topic |
Author |
Message |
Paul Forgey n00b
Joined: 11 Dec 2003 Posts: 51
|
Posted: Tue Nov 30, 2004 11:05 pm Post subject: stage1 install on sparc; ebuild fails for gettext |
|
|
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 |
|
|
zecora l33t
Joined: 17 Aug 2004 Posts: 627 Location: Minneapolis, MN
|
Posted: Tue Nov 30, 2004 11:22 pm Post subject: |
|
|
can you post your make.conf? i want to check something that was giving me problems with my x86 system. |
|
Back to top |
|
|
Imago Apprentice
Joined: 25 Nov 2004 Posts: 157 Location: Germany
|
Posted: Tue Nov 30, 2004 11:47 pm Post subject: |
|
|
@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 |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Wed Dec 01, 2004 12:00 am Post subject: |
|
|
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:
_________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
Paul Forgey n00b
Joined: 11 Dec 2003 Posts: 51
|
Posted: Wed Dec 01, 2004 12:15 am Post subject: |
|
|
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 |
|
|
Paul Forgey n00b
Joined: 11 Dec 2003 Posts: 51
|
Posted: Wed Dec 01, 2004 12:21 am Post subject: |
|
|
[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 |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
Mystilleef Guru
Joined: 27 Apr 2003 Posts: 561 Location: Earth
|
|
Back to top |
|
|
|