Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot Download hppa-sources kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
kaplan71
n00b
n00b


Joined: 05 Nov 2004
Posts: 22

PostPosted: Tue Oct 31, 2006 1:37 pm    Post subject: Cannot Download hppa-sources kernel Reply with quote

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
View user's profile Send private message
Errtu
Apprentice
Apprentice


Joined: 12 Nov 2002
Posts: 155
Location: Brazil

PostPosted: Tue Oct 31, 2006 1:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
kaplan71
n00b
n00b


Joined: 05 Nov 2004
Posts: 22

PostPosted: Tue Oct 31, 2006 1:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
neysx
Retired Dev
Retired Dev


Joined: 27 Jan 2003
Posts: 795

PostPosted: Tue Oct 31, 2006 2:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
kaplan71
n00b
n00b


Joined: 05 Nov 2004
Posts: 22

PostPosted: Tue Oct 31, 2006 3:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Errtu
Apprentice
Apprentice


Joined: 12 Nov 2002
Posts: 155
Location: Brazil

PostPosted: Wed Nov 01, 2006 7:28 am    Post subject: Reply with quote

Can you post the contents of your /etc/make.conf file?
Back to top
View user's profile Send private message
kaplan71
n00b
n00b


Joined: 05 Nov 2004
Posts: 22

PostPosted: Wed Nov 01, 2006 1:43 pm    Post subject: Reply with quote

Here is what is in the /etc/make.conf file:

CFLAGS="-02 -pipe -march = 2.0"
CHOST="hppa2.0-unknown-linux-gnu"
CXXFLAGS="-02 -pipe"
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
Back to top
View user's profile Send private message
Errtu
Apprentice
Apprentice


Joined: 12 Nov 2002
Posts: 155
Location: Brazil

PostPosted: Wed Nov 01, 2006 3:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
kaplan71
n00b
n00b


Joined: 05 Nov 2004
Posts: 22

PostPosted: Wed Nov 01, 2006 4:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10973
Location: the dutch mountains

PostPosted: Wed Nov 01, 2006 5:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Nacho01
n00b
n00b


Joined: 10 Dec 2006
Posts: 1

PostPosted: Sun Dec 10, 2006 10:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum