Problems installing cygwin on windows xp

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
Dakangel
DCEmu Newbie
DCEmu Newbie
Posts: 4
Joined: Fri Sep 09, 2016 5:37 pm
Has liked: 0
Been liked: 0

Problems installing cygwin on windows xp

Post by Dakangel » Fri Sep 09, 2016 5:59 pm

Hello this is my very first post in this forum, but i´ve been reading it since years ago.

I want to program a game in dreamcast using KallistiOS but after reading a lot of information it seem like is compiled and usable only in a linux enviroment or at least trought one.
The old machine for development has limited hardware capailities like 128mb of video ram so the only windows os installable is XP.....

But cygwin lack supporting XP in the new release 2.6.0 and i cant find how to install the last one 2.5.2 who is the final for installing on that System.

Already read and follow the PH3NOM tutorial but is usseles at least in part.

My question is if there is an alternative to cygwin or something like that for my old useful device or i have to install linux? there arent any KOS for windows compilers? :grin:
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5444
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has liked: 3 times
Been liked: 24 times
Contact:

Re: Problems installing cygwin on windows xp

Post by BlueCrab » Fri Sep 09, 2016 7:06 pm

Unfortunately, you pretty much need Cygwin if you're going to use Windows. Back in the day, there were some efforts to make things work with MinGW/MSYS, but alas, MSYS seems to have fallen into the sands of time. Also, there were some efforts to pre-package everything for Windows users, but much like MSYS, they fell into disrepair as well.

The tools that are used were written for UNIX like systems, and they really only work on those types of systems.

Personally, I'd recommend that if you're working with something that only runs XP, you install Linux on it anyway. The number of security vulnerabilities in XP is only going to continue growing at this point and continuing to use it on anything connected to any sort of network is going to only cause more and more problems. Look into installing something like Debian (and don't try to use KDE or GNOME, since both are pretty resource intensive).
User avatar
bogglez
Moderator
Moderator
Posts: 576
Joined: Sun Apr 20, 2014 9:45 am
Has liked: 0
Been liked: 0

Re: Problems installing cygwin on windows xp

Post by bogglez » Fri Sep 09, 2016 7:09 pm

Hey dakangel

Coincidentally I played around with Windows XP today and successfully compiled kos and kos-ports using msys2.
However, nulldc and demul don't work in their newest versions, maybe older versions work.
I can also see whether I can get lxdream to work.

I needed to do some non-trivial stuff.
I can post what I did tomorrow, but don't have time today.
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream
Dakangel
DCEmu Newbie
DCEmu Newbie
Posts: 4
Joined: Fri Sep 09, 2016 5:37 pm
Has liked: 0
Been liked: 0

Re: Problems installing cygwin on windows xp

Post by Dakangel » Fri Sep 09, 2016 8:54 pm

bogglez wrote:Hey dakangel

Coincidentally I played around with Windows XP today and successfully compiled kos and kos-ports using msys2.
However, nulldc and demul don't work in their newest versions, maybe older versions work.
I can also see whether I can get lxdream to work.

I needed to do some non-trivial stuff.
I can post what I did tomorrow, but don't have time today.

Those are amazing words bogglez, to know alternate ways for doing the compilation and yes, the early version of nulldc, makaron, demul, chankast and even a loose port of reicast works on xp.

BlueCrab wrote:Unfortunately, you pretty much need Cygwin if you're going to use Windows. Back in the day, there were some efforts to make things work with MinGW/MSYS, but alas, MSYS seems to have fallen into the sands of time. Also, there were some efforts to pre-package everything for Windows users, but much like MSYS, they fell into disrepair as well.

The tools that are used were written for UNIX like systems, and they really only work on those types of systems.

Personally, I'd recommend that if you're working with something that only runs XP, you install Linux on it anyway. The number of security vulnerabilities in XP is only going to continue growing at this point and continuing to use it on anything connected to any sort of network is going to only cause more and more problems. Look into installing something like Debian (and don't try to use KDE or GNOME, since both are pretty resource intensive).
This is an alternative too, the only thing is know if a smaller distro like puppy linux can work or is needed to be one like ubuntu or debian.

If this path is taken ,do you know a good amount of aplications to make a full unix development kit pc? like GIMP for images, another for audio, 3D modeling and so on......

Sorry for all this, im mostly a windows user but is realy nice to have alternatives.
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5444
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has liked: 3 times
Been liked: 24 times
Contact:

Re: Problems installing cygwin on windows xp

Post by BlueCrab » Fri Sep 09, 2016 10:48 pm

Uhm... Well, I don't know what kind of audio stuff you'd need, but Audacity has always been my go-to for audio editing (and works just fine on Linux). 3D-wise, you'd have Blender. Code editing wise, my go-to lately has been Atom... Dunno what else you might need beyond that...

Also, I'd imagine Puppy would work, although I've never used it personally.
User avatar
bogglez
Moderator
Moderator
Posts: 576
Joined: Sun Apr 20, 2014 9:45 am
Has liked: 0
Been liked: 0

Re: Problems installing cygwin on windows xp

Post by bogglez » Sat Sep 10, 2016 3:08 am

This is the current script for Windows. Please note that I didn't have the time to do a full rerun on a clean system yet. I just wrote down the steps I took and added them to my linux/osx install script.

Step 1:
Install http://repo.msys2.org/distrib/i686/msys ... 160205.exe

Step 2:
After installing msys2, it will ask whether you want to open a shell. Don't. Open c:\msys32\mingw32_shell.bat instead.

Step 3:
Now you need to store the file below as kos_setup.sh and execute it in that terminal.
Start the terminal, then type

Code: Select all

cd /c/Documents\ and\ Settings (find your Download folder here..)
sh kos_setup.sh
(removed the script. Use up-to-date version from wiki)

EDIT: I've changed the script to use the mingw shell provided by msys. So hopefully this does not depend on msys DLLs?
I might be able to upload /opt in compiled form as a 7z file then (if BlueCrab isn't scared of deprecated binary releases).

The script worked for me on a clean Windows XP 32 bit SP 3 system. I hope it therefore also works on XP 64 bit as well as more modern Windows systems.
Last edited by bogglez on Sun Sep 18, 2016 4:24 am, edited 1 time in total.
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream
User avatar
bogglez
Moderator
Moderator
Posts: 576
Joined: Sun Apr 20, 2014 9:45 am
Has liked: 0
Been liked: 0

Re: Problems installing cygwin on windows xp

Post by bogglez » Sat Sep 10, 2016 4:31 pm

Bump. Updated the script. Let's call it a release candidate? Need testers :)
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream
Dakangel
DCEmu Newbie
DCEmu Newbie
Posts: 4
Joined: Fri Sep 09, 2016 5:37 pm
Has liked: 0
Been liked: 0

Re: Problems installing cygwin on windows xp

Post by Dakangel » Sat Sep 10, 2016 4:58 pm

bogglez wrote:Bump. Updated the script. Let's call it a release candidate? Need testers :)
I be your first happy tester,it's installing right now using the script, meanwhile i keep you informed for anything


5 hours later ....everything is installed and works flawlessly, all instalation occupies 3GB.
It really is a wonderful job you did here, a GREAT help that automates the entire process from start to finish. :o


Thanks in advance for doing the script and help with the problem, you are an awesome person, man for this you deserve a trophy.
Maybe if anyone else is searching an alternative to cygwin this tread can help and even you can stick the tread for future references. :mrgreen:
User avatar
bogglez
Moderator
Moderator
Posts: 576
Joined: Sun Apr 20, 2014 9:45 am
Has liked: 0
Been liked: 0

Re: Problems installing cygwin on windows xp

Post by bogglez » Sun Sep 11, 2016 10:40 am

Dakangel wrote: 5 hours later ....everything is installed and works flawlessly, all instalation occupies 3GB.
It really is a wonderful job you did here, a GREAT help that automates the entire process from start to finish. :o

Thanks in advance for doing the script and help with the problem, you are an awesome person, man for this you deserve a trophy.
Maybe if anyone else is searching an alternative to cygwin this tread can help and even you can stick the tread for future references. :mrgreen:
Haha thanks for the flowers! You can thank me by learning how to program for the Dreamcast. Feel free to look at the tutorials in the wiki (see my signature).
Since this seems to work I'll change the windows tutorial soon.
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream
nymus
DC Developer
DC Developer
Posts: 960
Joined: Tue Feb 11, 2003 4:12 pm
Location: In a Dream
Has liked: 2 times
Been liked: 3 times

Re: Problems installing cygwin on windows xp

Post by nymus » Sun Sep 11, 2016 11:45 am

While we're on the subject of bogglez' niceness, I've been meaning to comment on your funny avatar. That dog's smile is hard to ignore :D
behold the mind
inspired by Dreamcast
NeoSnk
DCEmu Cool Newbie
DCEmu Cool Newbie
Posts: 13
Joined: Sat Sep 17, 2016 6:39 am
Has liked: 0
Been liked: 0

Re: Problems installing cygwin on windows xp

Post by NeoSnk » Sat Sep 17, 2016 6:15 pm

Hi I'm very new here as well hehe but I've been fallowing the forum for a long time. I've tested and everything works fine except for the last command, I got this error trying on Windows and Linux:

svn: E670002: Name or service not known
/opt/toolchains/dc/kos/../kos-ports/scripts/download.mk:8: recipe for target 'fetch' failed
make: *** [fetch] Error 1
make: Leaving directory '/opt/toolchains/dc/kos-ports/libtremor'
2
Error building /opt/toolchains/dc/kos/../kos-ports/libtremor. Bailing out.
NeoSnk
DCEmu Cool Newbie
DCEmu Cool Newbie
Posts: 13
Joined: Sat Sep 17, 2016 6:39 am
Has liked: 0
Been liked: 0

Re: Problems installing cygwin on windows xp

Post by NeoSnk » Sat Sep 17, 2016 6:33 pm

However even with this error I can compile my projects, so, I think everything is fine :grin:
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5444
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has liked: 3 times
Been liked: 24 times
Contact:

Re: Problems installing cygwin on windows xp

Post by BlueCrab » Sun Sep 18, 2016 12:14 am

NeoSnk wrote:Hi I'm very new here as well hehe but I've been fallowing the forum for a long time. I've tested and everything works fine except for the last command, I got this error trying on Windows and Linux:

svn: E670002: Name or service not known
/opt/toolchains/dc/kos/../kos-ports/scripts/download.mk:8: recipe for target 'fetch' failed
make: *** [fetch] Error 1
make: Leaving directory '/opt/toolchains/dc/kos-ports/libtremor'
2
Error building /opt/toolchains/dc/kos/../kos-ports/libtremor. Bailing out.
The problem here is that you do not have the subversion client installed, thus it can't fetch any of the ports that require pulling sources from subversion.

As long as you're not using those ports, it won't do any harm to not compile them. If you do end up needing any of them, you'll need to install subversion.
User avatar
bogglez
Moderator
Moderator
Posts: 576
Joined: Sun Apr 20, 2014 9:45 am
Has liked: 0
Been liked: 0

Re: Problems installing cygwin on windows xp

Post by bogglez » Sun Sep 18, 2016 4:26 am

You probably used the script I wrote down here. It's not the final one. I think the script from the wiki checks for SVN and installs it on Windows, Debian/ubuntu and fedora. I removed the old script from the post
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream
NeoSnk
DCEmu Cool Newbie
DCEmu Cool Newbie
Posts: 13
Joined: Sat Sep 17, 2016 6:39 am
Has liked: 0
Been liked: 0

Re: Problems installing cygwin on windows xp

Post by NeoSnk » Sun Sep 18, 2016 8:46 am

Thank you for the help :)
Post Reply