View previous topic :: View next topic |
Author |
Message |
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Tue Jul 03, 2007 2:27 am Post subject: Installing Gentoo by the Command Line [open] |
|
|
Code: | # emerge gentoo-sources
!!! ARCH is not set... Are you missing the '/etc/make.profile' symlink?
!!! Is the symlink correct? Is your portage tree complete? | I am a bit lost. I am not understanding why this coming up when I have followed every step that is listed in the handbook. _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Tue Jul 03, 2007 3:03 am Post subject: |
|
|
What does this show?:
Code: |
ls -ld /etc/make.profile
|
_________________ Thomas S. Howard |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Jul 03, 2007 4:28 pm Post subject: |
|
|
You missed the step where you unpack the portage snapshot. |
|
Back to top |
|
|
Dirk.R.Gently Guru
Joined: 29 Jan 2007 Posts: 546 Location: Titan
|
Posted: Tue Jul 03, 2007 5:51 pm Post subject: |
|
|
or he's doing a stage1 install.
You'll need to link to the new profile. Look in /usr/portage/profiles/default-linux/ and cd into the arch you use and link it to /etc/make.profile. Also you can be more specific and specify "desktop" or "server".
Code: | /usr/portage/profiles/default-linux/ppc/200???/desktop
e.g
/usr/portage/profiles/default-linux/ppc/200???/server |
_________________ • Helpful Linux Tidbits |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Tue Jul 03, 2007 8:42 pm Post subject: |
|
|
Yeah, but he's following the handbook. Stage 1 isn't in the handbook. _________________ Thomas S. Howard |
|
Back to top |
|
|
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Tue Jul 03, 2007 10:16 pm Post subject: |
|
|
I might have syntax error in my make.conf well Hmmmmm nope . just to add to the fun I am lost my place in a panic. so Hmmmmm so..... what should... do!! should I go ahead and hit reboot or what???
I came home work and I sat down in fornt of my god. and type Code: | # nano -w /etc/make.conf | and found that there was a space Like this Code: | CFLAG=" -athlon64 -msse3 -O2 -pipe" | which it should be with out a space. Code: | CFLAG="-athlon64 -msse3 -O2 -pipe" |
BUT i got the same error message, lost my place in some where in the file trees. its seem i can't do anything but chapter 6 _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Jul 04, 2007 8:25 pm Post subject: |
|
|
DRZIN wrote: | ... and found that there was a space Like this Code: | CFLAG=" -athlon64 -msse3 -O2 -pipe" | |
It is OK to have a space there, but you have some other typos. It should look like this :
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
As far as your original error goes, "ARCH is not set" is caused by a missing portage tree. |
|
Back to top |
|
|
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Wed Jul 04, 2007 10:04 pm Post subject: |
|
|
OK looked at my make.conf it is right. I know unpacked the portage. Should I start over i can't do any thing now error it can't find anything or i could not do any thing _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Jul 04, 2007 10:20 pm Post subject: |
|
|
What do you see when you look in the portage tree ?
Code: | # ls -l /usr/portage
# ls -l /usr/portage/profiles |
|
|
Back to top |
|
|
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Thu Jul 05, 2007 5:59 am Post subject: |
|
|
a list of files with lrw-wr..... file _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Thu Jul 05, 2007 4:48 pm Post subject: |
|
|
You should be seeing a lot of directories (one for each package category).
If you are seeing symlinks instead, then something went wrong. |
|
Back to top |
|
|
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Fri Jul 06, 2007 1:20 am Post subject: |
|
|
Code: | # ls -l /usr/portage | Is the that gives me th list of the portage tree. not are isted in blue or directory.[/code] _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Jul 06, 2007 1:52 am Post subject: |
|
|
This is what it looks like on a working Gentoo installation.
Code: | # ls -l /usr/portage
total 387
drwxr-xr-x 36 portage portage 1040 Nov 3 2006 app-accessibility
drwxr-xr-x 170 portage portage 4864 Jun 27 18:36 app-admin
drwxr-xr-x 6 portage portage 192 Jun 27 18:36 app-antivirus
<snip> --- you should see a lot more
drwxr-xr-x 50 portage portage 1352 Jun 27 18:36 x11-wm
drwxr-xr-x 17 portage portage 520 Jun 27 18:36 xfce-base
drwxr-xr-x 53 portage portage 1728 Jun 27 18:36 xfce-extra |
Code: | # ls -l /usr/portage/profiles
total 369
-rw-r--r-- 1 root root 59975 Jun 26 16:06 ChangeLog
-rw-r--r-- 1 portage portage 94 Oct 16 2006 arch.list
drwxr-xr-x 2 portage portage 384 Jun 22 15:06 base
-rw-r--r-- 1 portage portage 1603 Jan 20 10:36 categories
drwxr-xr-x 3 portage portage 368 Jun 7 14:06 default-bsd
drwxr-xr-x 3 portage portage 296 Jun 27 18:36 default-darwin
drwxr-xr-x 15 portage portage 552 Jun 22 15:06 default-linux
drwxr-xr-x 2 portage portage 568 Jun 20 16:06 desc
drwxr-xr-x 2 portage portage 120 Jun 27 18:36 embedded
drwxr-xr-x 7 portage portage 392 Jun 22 15:06 hardened
-rw-r--r-- 1 portage portage 381 Sep 15 2006 info_pkgs
-rw-r--r-- 1 portage portage 459 Mar 10 10:06 info_vars
drwxr-xr-x 11 portage portage 288 Aug 13 2005 obsolete
-rw-r--r-- 1 root root 42791 Jun 27 10:36 package.mask
-rw-r--r-- 1 portage portage 5586 May 7 16:39 profiles.desc
-rw-r--r-- 1 portage portage 7 May 4 2006 repo_name
drwxr-xr-x 10 portage portage 464 Jun 27 18:36 selinux
-rw-r--r-- 1 root root 65044 Jun 4 17:36 thirdpartymirrors
drwxr-xr-x 8 portage portage 448 Jun 27 18:36 uclibc
drwxr-xr-x 2 portage portage 408 Jun 26 21:06 updates
-rw-r--r-- 1 root root 22461 Jun 16 22:08 use.desc
-rw-r--r-- 1 root root 147955 Jun 26 23:37 use.local.desc |
|
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Fri Jul 06, 2007 4:34 am Post subject: |
|
|
emerge --metadata if your portage is there it will do this and update portage cache
then ls -l /usr/src/linux should show the kernel you will have.
if it doesnot work download latest snapshot and install it as in the install doc. _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Fri Jul 06, 2007 1:56 pm Post subject: |
|
|
cyrillic wrote: | This is what it looks like on a working Gentoo installation.
Code: | # ls -l /usr/portage
total 387
drwxr-xr-x 36 portage portage 1040 Nov 3 2006 app-accessibility
drwxr-xr-x 170 portage portage 4864 Jun 27 18:36 app-admin
drwxr-xr-x 6 portage portage 192 Jun 27 18:36 app-antivirus
<snip> --- you should see a lot more
drwxr-xr-x 50 portage portage 1352 Jun 27 18:36 x11-wm
drwxr-xr-x 17 portage portage 520 Jun 27 18:36 xfce-base
drwxr-xr-x 53 portage portage 1728 Jun 27 18:36 xfce-extra |
Code: | # ls -l /usr/portage/profiles
total 369
-rw-r--r-- 1 root root 59975 Jun 26 16:06 ChangeLog
-rw-r--r-- 1 portage portage 94 Oct 16 2006 arch.list
drwxr-xr-x 2 portage portage 384 Jun 22 15:06 base
-rw-r--r-- 1 portage portage 1603 Jan 20 10:36 categories
drwxr-xr-x 3 portage portage 368 Jun 7 14:06 default-bsd
drwxr-xr-x 3 portage portage 296 Jun 27 18:36 default-darwin
drwxr-xr-x 15 portage portage 552 Jun 22 15:06 default-linux
drwxr-xr-x 2 portage portage 568 Jun 20 16:06 desc
drwxr-xr-x 2 portage portage 120 Jun 27 18:36 embedded
drwxr-xr-x 7 portage portage 392 Jun 22 15:06 hardened
-rw-r--r-- 1 portage portage 381 Sep 15 2006 info_pkgs
-rw-r--r-- 1 portage portage 459 Mar 10 10:06 info_vars
drwxr-xr-x 11 portage portage 288 Aug 13 2005 obsolete
-rw-r--r-- 1 root root 42791 Jun 27 10:36 package.mask
-rw-r--r-- 1 portage portage 5586 May 7 16:39 profiles.desc
-rw-r--r-- 1 portage portage 7 May 4 2006 repo_name
drwxr-xr-x 10 portage portage 464 Jun 27 18:36 selinux
-rw-r--r-- 1 root root 65044 Jun 4 17:36 thirdpartymirrors
drwxr-xr-x 8 portage portage 448 Jun 27 18:36 uclibc
drwxr-xr-x 2 portage portage 408 Jun 26 21:06 updates
-rw-r--r-- 1 root root 22461 Jun 16 22:08 use.desc
-rw-r--r-- 1 root root 147955 Jun 26 23:37 use.local.desc |
| This does show up when i run this. At this point I am going to reboot the system and I will Post any issue that come up to this tread. _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
ocin Guru
Joined: 01 Jan 2006 Posts: 500
|
Posted: Fri Jul 06, 2007 6:30 pm Post subject: |
|
|
set your profile:
ln -snf /usr/portage/profiles/default-linux/x86/2007.0 /etc/make.profile |
|
Back to top |
|
|
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Fri Jul 06, 2007 6:58 pm Post subject: |
|
|
Nicito wrote: | set your profile:
ln -snf /usr/portage/profiles/default-linux/x86/2007.0 /etc/make.profile | I am sorry but, I have done that step meny of times. Think might the issue all together is. When I went to down load the stage tar ball and I would get an error with this command Code: | # md5sum -c stage3-amd64-2007.0.tar.bz2.DIGESTS | afterwards it would error out. Will post error message when I get it, and this would do the same for the snapshot so... This is the reseaning that tonight MST 1900 hoours i wll reboot and start over I am just trying to salvage what i have done already. Oh.. yea I what to back up my make.conf how would I do that? I would place floppy in a drive and save?? and how i format the floppy?? Does formatting needs to be done?? _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
ocin Guru
Joined: 01 Jan 2006 Posts: 500
|
Posted: Fri Jul 06, 2007 8:05 pm Post subject: |
|
|
if the floppy already has a format, no.
mount a floppy with mount /mnt/floppy or something then backup your important config files |
|
Back to top |
|
|
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Fri Jul 06, 2007 8:24 pm Post subject: |
|
|
Nicito wrote: | if the floppy already has a format, no.
mount a floppy with mount /mnt/floppy or something then backup your important config files |
...And if it does need formatting? _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
ocin Guru
Joined: 01 Jan 2006 Posts: 500
|
Posted: Fri Jul 06, 2007 10:13 pm Post subject: |
|
|
DRZIN wrote: | Nicito wrote: | if the floppy already has a format, no.
mount a floppy with mount /mnt/floppy or something then backup your important config files |
...And if it does need formatting? |
the create a filesystem ie ext2:
|
|
Back to top |
|
|
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Sat Jul 07, 2007 3:18 am Post subject: |
|
|
Code: | # md5sum -c stage3-amd64-2007.0.tar.bz2.DIGESTS
# md5sum: stage3-amd64-2007.0.tar.bz2.DIGESTS: No such file or directory |
so i downloaded stage3 but i am try to folow the the step what am i doing wrong _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
username234 Guru
Joined: 09 May 2007 Posts: 332
|
Posted: Sat Jul 07, 2007 4:11 am Post subject: |
|
|
to use the line "md5sum -c stage3-amd64-2007.0.tar.bz2.DIGESTS" you need to download two files first:
the first being the stage-3 tarball itself, and the second is the DIGESTS file (it's on the server too, same directory as you go the tarball), once downloaded make sure they're in the same directory and then run the command.
I.E. when you do ls -l stage3* you should see something like:
-rw-r--r-- 1 root root 1478408 Jul 6 23:42 stage3-amd64-2007.0.tar.bz2
-rw-r--r-- 1 root root 155 Jul 6 23:41 stage3-amd64-2007.0.tar.bz2.DIGESTS
(note: the file size for the stage3-amd64-2007.0.tar.bz2 is incorrect in my example, this is because I didn't download all 120MB (I stopped after about a MB or so)
you can then run md5sum -c stage3-amd64-2007.0.tar.bz2.DIGESTS and if everything is OK, then you're good to go, if not you'll get something like this:
stage3-amd64-2007.0.tar.bz2: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
A passing example of the md5sum (using portage since those files are smaller):
# md5sum -c portage-latest.tar.bz2.md5sum
portage-latest.tar.bz2: OK |
|
Back to top |
|
|
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Sat Jul 07, 2007 5:46 am Post subject: |
|
|
ok I was not all the files that were listed. so I did now i have Code: | # emerge gentoo-sources | then it get Code: | !!! Error: circular dependencies:...... | _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
username234 Guru
Joined: 09 May 2007 Posts: 332
|
Posted: Sat Jul 07, 2007 11:22 am Post subject: |
|
|
wow.... okay
type in emerge -vp gentoo-sources and post the output. |
|
Back to top |
|
|
DRZIN Tux's lil' helper
Joined: 15 Feb 2006 Posts: 114
|
Posted: Sat Jul 07, 2007 5:02 pm Post subject: |
|
|
Code: | (chroot) livecd gentoo # emerge -vp gentoo-sources
These aare the packages that would be ermerged, in oder:
Calculating dependecies... done!
[noemerge] sys-kernel/gentoo-sources-2.6.20-r8 USE="-build -syslink" | i don't have time to type the whole thiing but i think starting over again. _________________ AUDIO ENEGINEERING and trying to take over the world with Techno |
|
Back to top |
|
|
|