Error Resolving ftp.gnu.org (PSP Toolchain)

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Dark Falkon
Posts: 2
Joined: Sat Jan 19, 2008 8:06 pm

Error Resolving ftp.gnu.org (PSP Toolchain)

Post by Dark Falkon »

Hi all. I 've searched everywhere and I didn't find anything about this.

I have random connection issues (as the title says) while installing the PSP Toolchain.

I'm trying to install it on a Virtual Debian 4.0 Machine connected to the internet using the host's ip (NAT connection). It seems to work fine, but I always get an error message (as you may know, toolchain.sh downloads several things from the internet at different times, the error comes at those times, but at any of them, randomly) saying that ftp.gnu.org could not be resolved.

Unless you could help me with the connection issues, I'd like to know how I can modify the process, to make it to resolve the address again if it fails at first.


Thanks!! ;)
CpuWhiz
Posts: 42
Joined: Mon Jun 04, 2007 1:30 am

Post by CpuWhiz »

I don't know what your connection issues are, but if here is what you could try. Edit all the scripts in the scripts folder with a text editor. You will see lines like the following:

Code: Select all

## Download the source code.
wget --continue ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.16.1.tar.bz2 || { exit 1; }
See the URL there? Use that to download the file into the toolchain folder (either download on the host or copy over or do it in the VM, whichever works). Once you have the files downloaded you can comment out that line like so:

Code: Select all

## Download the source code.
#wget --continue ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.16.1.tar.bz2 || { exit 1; }
It should now skip downloading it. Keep in mind it won't download it, so watch to make sure it finds the file, extracts it, etc. And if anyone noticed, yeah, I hit some weird button combo and Konqueror posted it while I was still typing :|
Dark Falkon
Posts: 2
Joined: Sat Jan 19, 2008 8:06 pm

Post by Dark Falkon »

ok, thank you very much, that should work. I'll try it ASAP. Sorry for not answering sooner, and for any kind of language mistake I had

Again. Thanks ;)
Post Reply