So I burned a minimal 2.004.1 CD thinking, well I'll just get
everything from the net and get around this problem this way.
In chapter 4:
Code Listing 4: Updating Portage
# emerge sync <ran just fine>
however at the end a message told me it was highly recommended to
update portage. No syntax example was suggested, and none found in the
installation handbook. So I used:
#emerge portage <it ran for a while and then produced this error>:
"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/gettest-0.12.1 failed.
!!! Fuchtion econf, Line 365, Exitcode 1
!!! econf failed
make.conf:
CFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
I've also tried '-march=athlon-xp' to no avail.
This is the step before configuring the USE variable.
What's up with this C++ error?
James
--
gento...@gentoo.org mailing list
Well inside of the chroot environment, I use nano to edit
'/etc/make.conf' but it does not have any effect. Just for kicks
I commented (using #) everything in the /etc/make.conf file. I still
get the same problem and the exact same error message. Do I have to
exit out of the chroot to change the /etc/make.conf file?
Any tricks?
> Code Listing 4: Updating Portage
> # emerge sync <ran just fine>
> however at the end a message told me it was highly recommended to
> update portage. No syntax example was suggested, and none found in the
> installation handbook.
Just below code listing 4 it states:
"If you are warned that a new Portage version is available and that you
should update Portage, you should ignore it."
--
Neil Bothwick
Zmodem has bigger bits, softer blocks, and tighter ASCII
wireless wrote:
|
| I have tried installing an athlonXP off of liveCD 3 times. Each
| time I get the same error.
|
| So I burned a minimal 2.004.1 CD thinking, well I'll just get everything
| from the net and get around this problem this way.
| In chapter 4:
| Code Listing 4: Updating Portage
| # emerge sync <ran just fine>
| however at the end a message told me it was highly recommended to update
| portage. No syntax example was suggested, and none found in the
| installation handbook. So I used:
I've installed from stage1 on both an athlon-xp and an amd opteron, and
I've never updated my portage till after I got past the "emerge system"
section.
You could try installing from a stage3 tar-ball, and then you should be
able to do an emerge portage, and have it work. Then if you want to
rebuild your system from scratch like you would have had you started at
a stage1, do something like :
emerge -e system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBAX6KhYqy4eLQxdkRAk8vAJ9RwWyCZYCn0+fMSv04JZYSt2GcfQCfbONZ
U11mXfZq9g9hqGNq4DtPDaY=
=gj6T
-----END PGP SIGNATURE-----
--
gento...@gentoo.org mailing list
>From the Gentoo Installation Handbook - "If you are warned that a new
Portage version is available and that you should update Portage, you
should ignore it. Portage will be updated for you later on during the
installation."
In other words, don't try to update portage at this point. All you have
is a bootstrap system and you need to progress from stage 1 to stage 2
before you have a system that can properly update portage. However,
when you execute the emerge system command in stage 2, the newer portage
will be pulled in and updated.
If this is your first Gentoo install or you are having problems, I
highly recommend either having a system with a network connection and a
browser opened to the Installation Handbook or a printed copy that you
can markup to ensure that you have followed the steps in the book. I've
installed Gentoo, quite a few times now, and when I run into trouble is
when I don't follow the installation instructions as described.
Regards,
Paul
--
gento...@gentoo.org mailing list
I'm running losts of systems. My network is fine, Iam following the
installation guide. It's a problem with cpp
I've googled around and found dozens of similar problems posted and no
fixes posted.
I agree with what yo and the other posters have said. I exit chroot
and downloaded everything again.
I still get the *SAME* error, regardless if I use a livedCD or a
minimal CD.
NOBODY is focusing in on the error!
EVERYTHING you talk about has been address several times. I still get
the same problem.
I installed a gentoo system a few months ago, <Stage1> with no
problems, but that was the previous version on an intel P3.
Here is Where/what is the preprocessor checking for when I get the
'lib/cpp fails sanity check' error?
Can I replace cpp with g++.
> I'm running losts of systems. My network is fine, Iam following the
> installation guide. It's a problem with cpp
You are not following the installation guide, you are trying to do
exactly what it tells you not to do, update portage.
--
Neil Bothwick
A woman walked into a bar and asked the barman for a large double
entendre, so he gave her one.
On Friday 23 July 2004 03:18 pm, wireless wrote:
> I'm running losts of systems. My network is fine, Iam following the
> installation guide. It's a problem with cpp
>
> I've googled around and found dozens of similar problems posted and no
> fixes posted.
> I agree with what yo and the other posters have said. I exit chroot
> and downloaded everything again.
>
> I still get the *SAME* error, regardless if I use a livedCD or a
> minimal CD.
Your using 2004.1 if i read correctly, know to have many issues. Going back to
2004.0 has fixed the ones I have seen on here.. I still got 1.4 sitting here
I use..
> NOBODY is focusing in on the error!
Part of the error is you installing portage out of sync.. You should be going
back to the very first issue you found.. Get that fixed, and the rest of this
should go away.
> EVERYTHING you talk about has been address several times. I still get
> the same problem.
see above
> I installed a gentoo system a few months ago, <Stage1> with no
> problems, but that was the previous version on an intel P3.
>
> Here is Where/what is the preprocessor checking for when I get the
> 'lib/cpp fails sanity check' error?
lib/cpp seems to be a major problem as I see it. there should be no
executables there..
I could be wrong, but I don't think there is a c++ on the livecd.. Part of the
bootstrap process is to compile/install it..
I have only used minimal, myself however.
> Can I replace cpp with g++.
you can try, but the above is still valid statement..
Jeff
- --
=======================================================================
Jabber: tradergt@(smelser.org|jabber.org)
Quote: Demand quality pornography!
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBAXh5ld4MRA3gEwYRAuD9AJ9S8dyZmPhzT5wRmbLOlZhEqIS6/wCcChfl
11dEMXH3XYQuXUNJ7McUOzw=
=6Cr2
> >>From the Gentoo Installation Handbook - "If you are warned that a
> >new
> > Portage version is available and that you should update Portage, you
> > should ignore it. Portage will be updated for you later on during
> > the installation."
> >
> > In other words, don't try to update portage at this point.
> I'm running losts of systems. My network is fine, Iam following the
> installation guide. It's a problem with cpp
>
> I've googled around and found dozens of similar problems posted and no
>
> fixes posted.
> I agree with what yo and the other posters have said. I exit chroot
> and downloaded everything again.
>
> I still get the *SAME* error, regardless if I use a livedCD or a
> minimal CD.
>
> NOBODY is focusing in on the error!
>
Please learn to read English. You've been given the answer above. Read
the comment in Code Listing 5 that follows Code Listing 4: DO NOT TRY TO
UPDATE PORTAGE AT THIS POINT. IGNORE THE MESSAGE. DO NOT PROCEED
UNTIL YOU HAVE COMPREHENDED THIS. Prior to completing the bootstrap, the
minimal system that you are running IS NOT CAPABLE OF UPDATING PORTAGE.
You will get that same error until the end of time if you try to update
portage at this point in the installation. You do not have a fully
capable cpp program to use until bootstrap is done.
HTH,
--
/\/\
( CR ) Collins Richey
\/\/ fly Independence Air - they run Linux
--
gento...@gentoo.org mailing list
Dude,
I'm way past that, You are *WRONG* Im not fucking trying to upgrade
portage! I tried that once!
It's a major bug according to:
http://www.gentoo-portage.com/program-bugs.php?program=1486
28630 NEW major bootstrap.sh fails because of /lib/cpp sanity
check, make.conf irrelevant?
Maybe somebody nice can tell me how to search for gentoo/cpp bugs
or how to use g++ in lieu of cpp, or some workaround.....
I've installed hundreds of xBSD and xLinux machines. I've been
throught the Gentoo installation hand book. I have each chapter in a
Mozilla tab, and I've tried all sorts to way to install/work around
this problem.
It's not me, it a bug in Athlon-xp/cpp/gentoo/x86stage1 or
something....
IDEAS on how to get around this problem are welcome, or a pointer to
to a easy to use bug/list/track system for gentoo.
I've only installed (1) stage one gentoo system, about 3 months ago,
but, it was easy!
Maybe I should use the old 2004.0 install CD?
> I'm running losts of systems. My network is fine, Iam following the
> installation guide. It's a problem with cpp
You're not following the guide if you tried to emerge portage during
stage 1.
After untarring the stage 1 tarball and setting up the chroot
environment.
We are going to ignore make.conf for the moment.
Do you get the error when you do the following
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# emerge sync
# cd /usr/portage
# scripts/bootstrap.sh -f
# scripts/bootstrap.sh
--
gento...@gentoo.org mailing list
This is the only useful idea anyone has suggested, going back to
2.004.0 in the installation for this athlon-xp.
Should I use a smp kernel or a gentoo kernel at intial boot time?
James
--
gento...@gentoo.org mailing list
If going back to a 2004.0 does not work, I'll try this....
did you see the bug post?
It's a major bug according to:
http://www.gentoo-portage.com/program-bugs.php?program=1486
28630 NEW major bootstrap.sh fails because of /lib/cpp sanity
check, make.conf irrelevant?
Yes, I've looked at the bug. The cause is that the compiler isn't built
to compile C++ code yet and thus pukes on the C++ code in the gettext
package. That is why I asked if you were able to run the above
commands. If the scripts/bootstrap.sh process completes sucessfully,
you should then have a compiler that will build C++ code.
GREAT NEWS! 2004.0, stage1 and following the exact proceedure
that I used before(I've made my own installation guide) and your
sequence above. It did not puke on the cpp errors as it did
previously. It ran for about 20 minutes (after your sequence of
commands were all issued), then failed:
tar: Error exit delayed from previous errors
!!! ERROR: sys-devel/binutils-2.14.90.0.8-r1 failed.
!!! Function unpack, Line 336, Exit code 2
!!! failure unpacking binutils-2.14.90.0.8.tar.bz2
Here is the make.conf file I used:
CFLAGS="-O2 -mcpu=i686 -formit-frame-pointer"
CHOST="i386-pc-linux-gnu"
USE="-gtk -gnome qt kde dvd cdr "
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
ideas?
--
Brett I. Holcomb
--
gento...@gentoo.org mailing list
it is as you say, I had a typo in the email, not in the make.conf file
--
gento...@gentoo.org mailing list
I've used smp for liveCD(2.004.1) the minimalCD(2004.1) and the
minimalcd(2004.0).
gentoo does not have the ethernet drivers I need otherwise (RhineII)
or the eth. drivers did not with gentoo kernels.
James
--
gento...@gentoo.org mailing list
> On Friday 23 Jul 2004 23:21, wireless wrote:
> > CFLAGS="-O2 -mcpu=i686 -formit-frame-pointer"
>
> shouldn't that be -fomit-frame-pointer?
>
Yes, and recommended is -march=i686 instead of mcpu.
> >>I'm running losts of systems. My network is fine, Iam following the
> >>installation guide. It's a problem with cpp
> > You are not following the installation guide, you are trying to do
> > exactly what it tells you not to do, update portage.
> I'm way past that, You are *WRONG* Im not fucking trying to upgrade
> portage! I tried that once!
Read the message to which I replied. You stated that the error occurred
when trying to update portage, at the point you are not supposed.
If you want helpful answers, ask helpful questions.
--
Neil Bothwick
If God can't help you, how about Mr. Coffee?
> >>>>I'm running losts of systems. My network is fine, Iam following
> >the >>>installation guide. It's a problem with cpp
> GREAT NEWS! 2004.0, stage1 and following the exact proceedure
> that I used before(I've made my own installation guide)
Which is it? the Gentoo Handbook or your home brewed installation guide.
You stated that you have had one successful install, don't you think the
people behind the handbook have had rather more experience than that?
Maybe it would be a good idea to follow their instructions.
--
Neil Bothwick
Well it ran long and deep into the installation, but, again I get this
error with /lib/cpp at a different point in the installation.
upon explicitely following:
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# emerge sync
# cd /usr/portage
# scripts/bootstrap.sh -f
# scripts/bootstrap.sh
It runs about 30 minutes before failing:
(remember this is now 2004.0 minimal CD, downloaded stage1
checking how to run the Cpreprocessor..../lib/cpp
coifugre: error C preprocessor "/lib/cpp fails sanity check
See `config.log` for more details.
!!! Error: sys-devel/m4-1.4.1 failed.
!!! Function src_compile, line 42, Exitcode 1
!!! (no erro message)
Here's the make.conf file:
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
USE="-gtk -gnome qt kde dvd cdr"
CXXFLAGS="${CFLAGS}"
MAKEOPTS'"-j2"
so now I'll delete the '-mcpu=i686' and try '-march=athlon-xp'
just for grins....
Any better ideas on what to try? What could I be doing to make the
stage1 installation fail on the same /lib/cpp using (3) different CDs?
2004.0 minimal
2004.1 minimal
2004.1 universal
Is their a test I can run to test the athlon-xp(2400+) or it's
compatibilty with the compiler? Bugs? Configuration.
When I go and download a new stage1 file and unpack it, I've even
tried to manually delete everthing from the previous installation
ideas?
Neil,
I have follow the Gentoo installation handbook to precisely, only
deviating to make extra partitions, which are working fine. The
condense notes I type in every time I do an installation, are from the
Gentoo installation handbook, without the things that do not relate,
such as mirrorselect, when using a minimal CD.
I'm sorry if you I got you angry, but, I have been installing
all sort of Linux and BSD systems for years. From what I'm reading
Gentoo is a young distro with lots of promise, but some keen issues
remain.
I like Gentoo. I'm not giving up, just frustrated and thinking about
trying the installation on a P4 now....
> USE="-gtk -gnome qt kde dvd cdr"
I've built all my gentoo systems from minimalcd 2004.1. Two Athlon-XP's
and an AMD Opteron. I've always bootstrapped with out java "-java" in
the USE flags. You also may want gtk, as some apps will want it.. even
if you don't have gnome itself installed. An example of such is
distccmon-gnome. It runs fine in KDE, but you need gtk support.
> Any better ideas on what to try? What could I be doing to make the
> stage1 installation fail on the same /lib/cpp using (3) different CDs?
It would have to be your USE flags, or perhaps a memory issue. I can't
see how at this point in the game you can be having such a consistent
problem. You're not booting off a custom kernel, so we're not talking
about motherboard issues here. It's not a Harddrive issue, and probably
not a CD issue. There just isn't much left. If the rest of world is
installing on athlon-xp's just fine, then I would take a look at your
USE flags and make them as minimal as possible.
> Is their a test I can run to test the athlon-xp(2400+) or it's
> compatibilty with the compiler? Bugs? Configuration.
I did a bootstrap two weeks ago from a minimal CD on an athlon-xp 2800+.
Unless AMD is changing micro-code, I doubt they are much different than
their speed.
--
gento...@gentoo.org mailing list
On Friday 23 July 2004 07:32 pm, wireless wrote:
> I have follow the Gentoo installation handbook to precisely, only
> deviating to make extra partitions, which are working fine. The
> condense notes I type in every time I do an installation, are from the
> Gentoo installation handbook, without the things that do not relate,
> such as mirrorselect, when using a minimal CD.
>
> I'm sorry if you I got you angry, but, I have been installing
> all sort of Linux and BSD systems for years. From what I'm reading
> Gentoo is a young distro with lots of promise, but some keen issues
> remain.
Really? Issues eh??
you know, I have never followed that install guide to a tee either and i have
never had any issues installing it.. Maybe the young part you got right, the
young operator had errors, not the install. (gentoo young)
If the install had all these issues, I think we would be flooded with install
questions.. Gentoo isn't as young as you think. Considering I have been on
this list for years.. I have had very few live cd's have all the issues..
I did say 2004.1 had a few glitches, but I have never heard of the cpp issue
before you.. Considering the livecd doesn't have c++, it coming out with
sanity errors seem quite right to me.
> I like Gentoo. I'm not giving up, just frustrated and thinking about
> trying the installation on a P4 now....
Well, just follow the guide.. Its worked for thousands of installs before you.
- --
=======================================================================
Jabber: tradergt@(smelser.org|jabber.org)
Quote: This is my .signature which gets appended to the end of my messages.
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBAeQzld4MRA3gEwYRArI9AKDIGOrevo30PRJrKHM06Bg4tTx1PgCgrUpX
KTuxAPfRU4sWnpjJPVajU14=
=jYBy
On Friday 23 July 2004 10:29 pm, Billy Holmes wrote:
> I've built all my gentoo systems from minimalcd 2004.1. Two Athlon-XP's
> and an AMD Opteron. I've always bootstrapped with out java "-java" in
> the USE flags. You also may want gtk, as some apps will want it.. even
> if you don't have gnome itself installed. An example of such is
> distccmon-gnome. It runs fine in KDE, but you need gtk support.
If the ebuild requires support, it will override the use flags. It just
doesn't compile gtk for optional things.
Jeff
- --
=======================================================================
Jabber: tradergt@(smelser.org|jabber.org)
Quote: Head cheese -- it's not just for breakfast anymore.
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBAeTJld4MRA3gEwYRAgegAJ9k8sDoAVQVbmdaaAwCXQ8Mm3D59gCgknrF
UsUwbCg40NWnrMlKSnxKWDk=
=5gJ/
> If the ebuild requires support, it will override the use flags. It just
> doesn't compile gtk for optional things.
To be accurate - if a package _needs_ gtk, then gtk is not in its USE flags.
USE flags are supposed to be optional dependencies.
--
/~\ The ASCII Andrej "Ticho" Kacian <ticho at gentoo dot sk>
\ / Ribbon Campaign GnuPG public key ID: 7CD93FE2 (pgp.mit.edu)
X Against HTML Key fingerprint:
/ \ Email! E87D 9DEF 2A23 6FFB 7AD9 542F 4253 3A46 7CD9 3FE2
Okay,
I don't have an athlon-xp, but I just did the following and it worked
successfully.
I'm already booted into Gentoo so networking and partitioning is
complete. I have a scratch partition on /dev/hdb8 so we are going to use
it.
# mkfs -t ext3 /dev/hdb8
# mount /dev/hdb8 /mnt/gentoo
# lynx http://gentoo.oslosu.org (downloaded stage1-x86-2004.1.tar.bz2)
# cd /mnt/gentoo
# tar -xvjpf ~/stage1-x86-2004.1.tar.bz2
# vi /mnt/gentoo/etc/make.conf (copy and paste your make.conf, correct
the ' character to an = for the MAKEOPTS entry)
# cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# cd (place me back in root's home directory)
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# emerge sync
# cd /usr/portage
# scripts/bootstrap.sh -f
# scripts/bootstrap.sh
At this point, the only thing that I can think of is to recreate your
filesystems using mkfs. Write down the exact commands that you are
executing along with the results and post the whole thing if it fails.
Regards,
Paul
--
My Gentoo stuff: http://varnerfamily.org/pvarner/gentoo
--
gento...@gentoo.org mailing list
I've used reiserfs. I was thinking I should reformat the hard drive
and set new partitions, on this next installation attempt. I'll let
you know how it goes.
>> Any better ideas on what to try? What could I be doing to make the
>> stage1 installation fail on the same /lib/cpp using (3) different CDs?
>
>
> It would have to be your USE flags, or perhaps a memory issue. I can't
> see how at this point in the game you can be having such a consistent
> problem. You're not booting off a custom kernel, so we're not talking
> about motherboard issues here. It's not a Harddrive issue, and probably
> not a CD issue. There just isn't much left. If the rest of world is
> installing on athlon-xp's just fine, then I would take a look at your
> USE flags and make them as minimal as possible.
>
The above string is pretty minimal, don't you think?
Gotta 'make.conf' file you can send/post for that 2800+
James
>> Is their a test I can run to test the athlon-xp(2400+) or it's
>> compatibilty with the compiler? Bugs? Configuration.
>
>
> I did a bootstrap two weeks ago from a minimal CD on an athlon-xp 2800+.
> Unless AMD is changing micro-code, I doubt they are much different than
> their speed.
>
>
> --
> gento...@gentoo.org mailing list
>
>
--
gento...@gentoo.org mailing list
IT WORKED!
I reformated the drive, installed reiserfs on all partion, and follow
your directions explicitly.
The only thing I noticed different that I did not do before is
cd (back to root's home dir after the 'cp -L' command).
I also used -java in the make.conf file:
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
USE="-gtk -gnome -java qt kde dvd cdr"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
Thanks Paul!
> IT WORKED!
>
> I reformated the drive, installed reiserfs on all partion, and follow
> your directions explicitly.
>
> The only thing I noticed different that I did not do before is
> cd (back to root's home dir after the 'cp -L' command).
>
I'm glad it finally worked for you. What probably solved the problem
was recreating the file systems which insured a fresh install.
Yes, I think something got corrupted and then stayed on the drive,
until it was written over.
After 'scripts/bootstrap.sh'
I issued 'emerge system'
Is this redundant?
After running a while here's how it ended:
touch elc-stamp
make[3]: Entering directory
`/var/tmp/portage/autoconf-2.59-r3/work/autoconf-2.59/lib/emacs'
touch: setting times of `elc-stamp': No such file or directory
make[3]: *** [elc-stamp] Error 1
make[3]: Leaving directory
`/var/tmp/portage/autoconf-2.59-r3/work/autoconf-2.59/lib/emacs'
make[2]: *** [autoconf-mode.elc] Error 2
make[2]: *** Waiting for unfinished jobs....
WARNING: Warnings can be ignored. :-)
if test no != no; then \
set x; \
list='autoconf-mode.el autotest-mode.el'; for p in $list; do \
if test -f "$p"; then d=; else d="./"; fi; \
set x "$@" "$d$p"; shift; \
done; \
shift; \
EMACS=no /bin/sh ../../config/elisp-comp "$@" || exit 1; \
else : ; fi
touch elc-stamp
make[3]: Leaving directory
`/var/tmp/portage/autoconf-2.59-r3/work/autoconf-2.59/lib/emacs'
make[2]: Leaving directory
`/var/tmp/portage/autoconf-2.59-r3/work/autoconf-2.59/lib/emacs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/autoconf-2.59-r3/work/autoconf-2.59/lib'
make: *** [all-recursive] Error 1
!!! ERROR: sys-devel/autoconf-2.59-r3 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)
I'm going on to chapter 7 to hopefully complete this 2004.1 stage one
installation on this Athlon-xp.