View Single Post
Old 03-25-2007, 03:16 AM   #15
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by Mythago
I've got Debian setup in VMWare, have installed scratchbox etc. but now have a question and a problem:
1) On step 11 (Install the helper scripts) the dependencies-helper creates a dependencies-helper sub-directory for the archive contents so that on step 3 of "Compiling a sample program" the line ../dl-and-install -u xmhexagons can't find the dl-and-install script.
So, are the dependencies-helper files meant to be in a sub-directory, or should that Step 3 line be updated to point to the dependencies-helper sub-directory?
Yes, it's an error.I fix the wiki. I've added a

ln -s dependencies-helper/*.sh .

to the instructions in the wiki, so now they should be in the correct location(home of the user).

Quote:
Originally Posted by Mythago
2) When I use the dl-and-install script I get the following:
Code:
Locating the package name...
Looking up packages.debian.org
Unable to locate remote host packages.debian.org
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://packages.debian.org/cgi-bin/search_contents.pl?version=testing&arch=arm&case=insensitive&word=xmhexagons&searchmode=searchword

Problem locating the package, exiting...
It seems to have a problem with accessing the network. wget works fine from within scratchbox. And I can ping packages.debian.org from outside of scratchbox in a regular terminal.

Any ideas?

-Mythago
It seems that the problem is that the DNS is not configured in the scratchbox environment. Do a
sbox$ echo nameserver the_ip_of_your_dns >> /etc/resolv.conf
substituing the the_ip_of_your_dns
with the IP of the DNS you use. For example
sbox$ echo nameserver 80.58.32.33 >> /etc/resolv.conf
If that solves it, I would have to update the wiki for that, too O:-).
Antartica is offline   Reply With Quote