View previous topic :: View next topic |
Author |
Message |
kaplan71 n00b
Joined: 05 Nov 2004 Posts: 22
|
Posted: Tue Oct 31, 2006 1:37 pm Post subject: Cannot Download hppa-sources kernel |
|
|
I am attempting to install Gentoo onto a Visualize C3700 system and am at the point in the installation where I download the kernel.
I have tried repeatedly to run the emerge hppa-sources command, but everytime I go to the website to download the file, I get a
404 Not Found error message. I cannot continue with the installation until this is resolved. Also, if I cannot get this resolved within
the next few days, I will be forced to abandon this project. If someone can help, it would be greatly appreciated. |
|
Back to top |
|
|
Errtu Apprentice
Joined: 12 Nov 2002 Posts: 155 Location: Brazil
|
Posted: Tue Oct 31, 2006 1:50 pm Post subject: |
|
|
Try using another mirror by adding a line to your /etc/make.conf :
Code: | GENTOO_MIRRORS="http://your-favorite-mirror" |
See the Gentoo Mirrors list for all available mirrors. |
|
Back to top |
|
|
kaplan71 n00b
Joined: 05 Nov 2004 Posts: 22
|
Posted: Tue Oct 31, 2006 1:56 pm Post subject: |
|
|
I've added a GENTOO_MIRROR line to the /etc/make.conf file, but when I ran emerge again, it referenced only the original sites, and not the new one. Is there something else I need to do after I modify the file? |
|
Back to top |
|
|
neysx Retired Dev
Joined: 27 Jan 2003 Posts: 795
|
Posted: Tue Oct 31, 2006 2:56 pm Post subject: |
|
|
It would help us help you if you mentioned which files are missing, which servers you try to connect to and which version of hppa-sources you are trying to emerge. Code: | GENTOO_MIRRORS="" ACCEPT_KEYWORDS="hppa" emerge -vpf hppa-sources|awk '/tp:\/\//{printf "wget -q %s\n",$1}'
wget -q http://ftp.parisc-linux.org/cvs/linux-2.6/patch-2.6.17-pa6.gz
wget -q http://www.at.kernel.org/pub/linux/kernel/v2.6/patch-2.6.17.10.bz2
wget -q http://www.us.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2
wget -q ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/4300_squashfs-3.0.patch.bz2 | All files were downloaded when piping into bash. Setting GENTOO_MIRRORS to "" and using $1 in awk means all files were found on the first default mirror of each file.
Hth |
|
Back to top |
|
|
kaplan71 n00b
Joined: 05 Nov 2004 Posts: 22
|
Posted: Tue Oct 31, 2006 3:58 pm Post subject: |
|
|
The file that appears to be missing is the squashfs file. Also, I added the lines that were mentioned in the reply to the /etc/make.conf file. When I tried to run the emerge command again, I got the following errors:
Invalid token (not "=") -vpf
Parse Error: Invalid token (not '='): /etc/make.conf line 6 in /etc/make.conf
Incorrect multiline literals can cause this. Do not use them. |
|
Back to top |
|
|
Errtu Apprentice
Joined: 12 Nov 2002 Posts: 155 Location: Brazil
|
Posted: Wed Nov 01, 2006 7:28 am Post subject: |
|
|
Can you post the contents of your /etc/make.conf file? |
|
Back to top |
|
|
kaplan71 n00b
Joined: 05 Nov 2004 Posts: 22
|
|
Back to top |
|
|
Errtu Apprentice
Joined: 12 Nov 2002 Posts: 155 Location: Brazil
|
Posted: Wed Nov 01, 2006 3:49 pm Post subject: |
|
|
Yeah, that's what i thought. neysx was trying to demonstrate how to emerge it from the command line. Not to give you the line that you should put into make.conf
Why don't you remove everything after the line containing:
Code: | CXXFLAGS="-02 -pipe" |
I think hppa-sources doesn't really matter with the GENTOO_MIRRORS variable, as it will simply download the files from kernel.org. |
|
Back to top |
|
|
kaplan71 n00b
Joined: 05 Nov 2004 Posts: 22
|
Posted: Wed Nov 01, 2006 4:11 pm Post subject: |
|
|
I removed the files after the CXXFLAGS line and I'm back to where I was at the beginning of this issue. I am having problems downloading the squashfs file. I can try adding other mirrors, but when I did that the first time, they were not referenced when I ran the emerge command. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Nov 01, 2006 5:47 pm Post subject: |
|
|
Moved from Installing Gentoo to Gentoo on Alternative Architectures. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Nacho01 n00b
Joined: 10 Dec 2006 Posts: 1
|
Posted: Sun Dec 10, 2006 10:33 pm Post subject: |
|
|
I had the same problem, it seemed to be caused by the /etc/profile.env file. in my case it had entries like
Code: | export AMANDA_PORTS_BOTH='''' |
(note the 4 single quotes instead of two)
No idea what caused this but running env-update should solve it, otherwise you could edit /etc/profile.env by hand (not recommended!) |
|
Back to top |
|
|
|