View previous topic :: View next topic |
Author |
Message |
derMike n00b
Joined: 21 Oct 2002 Posts: 6
|
Posted: Tue Oct 22, 2002 3:18 pm Post subject: bootstrap.sh overwrites make.conf |
|
|
What in bootstrap.sh keeps overwriting my /etc/make.conf ?
I put in the values for my Sparc5
CHOST="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=v8 -mtune=v8 -O2 -pipe"
CXXFLAGS="-O3 -pipe"
and then when I run bootstrap it changes it do a default file.
I dont know if this is a problem, but while the bootstrap is running i notice the configure scripts coming up with "i686-pc-linux-gnu" not "sparc-unknown-linux-gnu"
Is this a problem?
This machine has been compiling over 12 hours (its slow). It would suck to find out that all the binaries are useless. |
|
Back to top |
|
|
Kumba Developer
Joined: 16 Jul 2002 Posts: 393 Location: Sigma 957
|
Posted: Tue Oct 22, 2002 9:44 pm Post subject: |
|
|
I use the following for my /etc/make.conf settings
Code: | USE="+sparc64 -arts -avi -cups -gpm -gtk -imlib -java -kde -gnome -mikmod -motif -mpeg -oggvorbis -opengl -pdflib -qt -qtmt -quicktime -truetype -X -xmms -xv -svga -png"
ACCEPT_KEYWORDS="~sparc64"
ARCH="sparc64"
PLATFORM="sparc64-unknown-linux-gnu"
CHOST="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe -fomit-frame-pointer"
MAKEOPTS="-j2"
PORTAGE_TMPDIR="/usr/obj"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/pam.d" |
It's a bit different than what sparc32 will use, but you might try adapting the PLATFORM variable and CFLAGs/CXXFLAGS variables to match your arch.
Do relaize the ACCEPT_KEYWORDS variable is set so my sparc64 machine can play with untested packages. You might want to remove it.
--Kumba _________________ "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic |
|
Back to top |
|
|
joshuapreston n00b
Joined: 29 Oct 2002 Posts: 3 Location: Columbus, OH
|
Posted: Wed Oct 30, 2002 12:11 am Post subject: Don't forget the ARCH flag. |
|
|
derMike,
You may want to take a look at your /etc/make.conf file again. If you continue to have problems of this nature (which would most likely be a result of a rsync, then you probably would want to make your /etc/make.conf file appear like this:
Code: |
# Copyright 2000-2002 Daniel Robbins, Gentoo Technologies, Inc.
# Contains system settings for Portage system
# Download sites: The main Gentoo Linux source mirror; specify as many
# space-separated mirrors as you like.
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
ARCH="sparc"
CHOST="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=v8 -mtune=v8 -O2 -pipe"
CXXFLAGS="-O3 -pipe"
|
_________________ ==================================
Unless you are the lead dog,
the view is the same.
-- Unknown
==================================
Joshua Preston
pdog4x4@yahoo.com |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Wed Oct 30, 2002 3:21 pm Post subject: It's all part of the show folks, it's all part of the show.. |
|
|
If you look at the source for bootstrap.sh, you'll notice that it will move the original /etc/make.conf you created to /etc/make.conf.build and generate it's own make.conf to use for a while during the boostrap.sh process. By the time it's completed it will move your /etc/make.conf back into place.
Does this seem to be causing you problems or is it just something you noticed?
Weeve |
|
Back to top |
|
|
|