forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error Resolving ftp.gnu.org (PSP Toolchain)

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Dark Falkon



Joined: 19 Jan 2008
Posts: 2

PostPosted: Mon Jan 21, 2008 12:19 am    Post subject: Error Resolving ftp.gnu.org (PSP Toolchain) Reply with quote

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!! ;)
Back to top
View user's profile Send private message
CpuWhiz



Joined: 04 Jun 2007
Posts: 42

PostPosted: Mon Jan 21, 2008 2:23 am    Post subject: Reply with quote

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:
## 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:
## 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 :|
Back to top
View user's profile Send private message
Dark Falkon



Joined: 19 Jan 2008
Posts: 2

PostPosted: Wed Jan 23, 2008 12:56 am    Post subject: Reply with quote

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 ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group