ID:1428320
 
I just began testing Cygwin on Windows and I'm trying install BYOND under it. It's more like a Linux emulator. And, from reviews, It's been said to have not many issues. And if there are issues, they have been fixed. So, I believe it's reliable.

My problem is that I'm trying to install DreamDaemon on it but it won't install properly.

mkdir Hosting
cd Hosting
wget http://www.byond.com/download/build/501/501.1217_byond_linux.zip
unzip 501.1217_byond_linux.zip
cd byond
make here


I run the source on the proper directory where byondsetup is located.

Then I run DreamDaemon --version and get this:
-bash: /home/XIRRE/Hosting/byond/bin/DreamDaemon: cannot execute binary file


I always got pass this part by luck. Even on Ubuntu I got it to work by luck. But I always encounter this error and I can't fix it without luck. What's the proper way to fix this issue?
Obvious question ..... whyyyyyyyyyyy?
Why am I running BYOND on Cygwin? So I can do both the Linux and Windows version of my utility. So it supports both. Without me having to switch back and forth between operating systems.

Why does this error occurs? I have no clue. It always pops up randomly for me even though I perform the same installation steps every time.
Can't you just install Linux on a VirtualMachine and use that, it would be a whole lot more compatible.
I will if this doesn't work. I'm trying to avoid the VirtualMachine route because I've tried it for many OSs and compared to Cygwin, which is just a terminal, they don't run how I want them to run. In terms of CPU usage.

This problem occurs on Ubuntu as well, as I said before. But, why? And am I installing it wrong? Am I missing anything? Do I need to install any extra things?
It's usually the response you get from trying to run a 64 bit executable on a 32 bit OS, which is not the case here.

However, run "file /home/XIRRE/Hosting/byond/bin/DreamDaemon" and give us the output of that.
file /home/XIRRE/Hosting/byond/bin/DreamDaemon

/home/XIRRE/Hosting/byond/bin/DreamDaemon: ELF 32-bit LSB
executable, Intel 80386, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.18,
BuildID[sha1]=0xfc9cdf5bde79df4c73e7e440f11916c0863e0141,
stripped
Did you ... perchance get cygwin 64 bit?
*Frowns* Yes. I'm guessing the OS I'm testing it on is a 32-bit? I was doing it through Teamviewer on someone elses computer before I decided to switch over to Windows.

Edit: Just verified - http://i.imgur.com/2EcyhgJ.png
I meant cygwin. There are 32 bit and 64 bit packages of cygwin. Which did you get?
I meant yes to your question. I did get the 64-bi-- Actually.. I think it was just x86.exe and not x86_64.exe.

--

Just checked, meant to post this but Ubuntu just crashed on me after I tried to resize a window. Heh.. Uhm. It turns out to be x86 and not x86_64, so 32-bit.
I recall now.

Basically cygwin offers POSIX support to Windows, which is not the same as running ELF binaries. The binaries must be compiled for Windows, and cygwin provides the POSIX functions you might need when porting an app.

In short, cygwin doesn't run Linux binaries.
I'll find a way. I will. I promise you. *cries a little inside*
Install DSL on a VM? It's a 50MB Linux distro

http://www.damnsmalllinux.org/
Or work out what Ubuntu version you've got going (I guess amd64?) and install the 32 bit compat libraries. DSL is (I assume) x86 also.
In response to A.T.H.K
My teacher told me not to trust websites that don't have the Copyright footer. She said that means it's not a legit website. Teacher knows best, ATHK. (sarcasm - just something that came to mind)
In response to Stephen001
I'm not sure as to what I should do. And considering the fact that I'm pretty much rushing through online tests to meet the finals deadline, 27th of this month, I don't have much time to decide what I want to do.

But, there's one thing I could ask. What's the least CPU consuming, fail-safe (least bugs/crashes), and space conserving path to take in terms of running linux on windows?
A VM.
What distro do you suggest?
Whatever one you are comfortable with Xirre.

If you have issues with the 64 bit version (library installs etc)and don't know what you're doing, you can install the 32bit version max RAM is 4GB I highly doubt you'll hit that with any BYOND game.

I've sent you a page also.
Page: 1 2