PDA

View Full Version : cygwin help



Tiri
September 19th, 2004, 12:22
hello i have a problem installing cygwin on my system..when im in the DOS window and i type ./kos-svn.sh install it goes through the process but a error comes up when it says Downloading highest_full to determine latest full version
right after this it says
./kos-svn.sh: line 77: wget:Command not found

i went to that line and saw a wget line
so i was wondering if anyone had any advice on how to fix this

BlackAura
September 20th, 2004, 05:37
Install wget. It's in the Cygwin installer program somewhere.

Tiri
September 20th, 2004, 06:28
well i installed everything that came with the cygwin installer so idont know why that wouldnt be in there but ill check for it later

Tiri
September 20th, 2004, 15:51
thanks alot BlackAura it didnt have WGET although i dont know why i downloaded it from a website though..so thanks ;D

Tiri
September 20th, 2004, 20:35
ok well now after that i have run into another error...here is a picture

http://81.99.81.238/Tiri/picture.jpg

BlackAura
September 20th, 2004, 23:31
Looks like a problem with subversion...

The only thing I can think of is that you're using Windows ME, by the looks of things. A few of the Cygwin tools don't work properly on Windows ME, and only work correctly on Windows 2000 or Windows XP.

You could try using a SVN snapshot instead. Basically, you download some archives from http://gamedev.allusion.net/svn/snapshots/

It might help if I knew which scripts or instructions you were using.

Tiri
September 21st, 2004, 05:58
im using these two guides from the site to try and get the thing to run

-Ragnorak's Development Subversion Build Script (KOS 1.2.x, 1.3.x)
http://s90112106.onlinehome.us/dna/article12.htm-Ragnorak's Development Subversion Build Script (KOS 1.2.x, 1.3.x)

http://www.ryanwarner.org/~deeroc/junk/dcdev-env.html -Making a DCDev Environment by Dee Roc

yes im also running on windows ME so you guessed that correct
im using the prebuilt KOS that you made
and kos subversion 1.1.0rc3

BlackAura
September 21st, 2004, 06:29
OK... Looks like we might have to try compiling things manually.

First off, we'll need to get a version of KOS before it started using newlib. Using newlib requires a different toolchain, and my precompiled ones aren't set up to deal with newlib.

Download these two files somewhere. C:\Cygwin\home\default should be good.

http://gamedev.allusion.net/svn/snapshots/kos-ports-snapshot-20040731-pre-newlib.tar.bz2
http://gamedev.allusion.net/svn/snapshots/kos-snapshot-20040731-pre-newlib.tar.bz2

Now, remove the line from your c:\cygwin\etc\profile (as mentioned in the first article you linked to). It'll get in the way when using the SVN version.

Start Cygwin, and type this:
mkdir -p /usr/local/dc/kos-svn
cd /usr/local/dc/kos-svn
tar -xjf ~/kos-ports*
tar -xjf ~/kos-snap*

That should leave you with the SVN version of KOS in C:\Cygwin\usr\local\dc\kos-svn

Now, you need to edit the KOS configuration files. Go to the main KOS directory (c:\cygwin\usr\local\dc\kos-svn\kos), find the "doc" directory, and look for environ.sh.sample

Copy this file to the KOS directory, and rename it "environ.sh"

Now, open it in a text editor. Find this line:
export KOS_BASE="/usr/local/home/bard/prj/svn/kos"

and replace with:
export KOS_BASE="/usr/local/dc/kos-svn/kos"

Then replace this bit:
export KOS_CC_BASE="/usr/local/dc/dc-elf"
export KOS_CC_PREFIX="dc"
#export KOS_CC_BASE="/usr/local/dc/sh-elf" # DC
#export KOS_CC_PREFIX="sh-elf"

with this bit:
#export KOS_CC_BASE="/usr/local/dc/dc-elf"
#export KOS_CC_PREFIX="dc"
export KOS_CC_BASE="/usr/local/dc/sh-elf" # DC
export KOS_CC_PREFIX="sh-elf"

Save that, and return to Cygwin. Type this:
cd /usr/local/dc/kos-svn/kos
source environ.sh

Now, we should be ready to try to compile. Type "make" and see if it works. Chances are there will be some compile errors. Post them, and I'll see if I can fix them.

Tiri
September 21st, 2004, 17:22
ok i did all that stuff but when i type "make" in, it says this

BASH: make: command not found

i think this is just like the wget the exe isnt there for some reason ??? but i dont really know

BlackAura
September 21st, 2004, 22:15
Do'h!

You need to install pretty much everything under the "Development" section in Cygwin.