[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ ROM ➜ Compiling the server ➜ compiling program

compiling program

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Sparta   (6 posts)  Bio
Date Wed 02 Mar 2011 02:02 PM (UTC)
Message
ok well i downloaded and istalled cygwins although it is not compatable with windows 7. is there any kind of compiler out there that i can use that is compatible with win 7 and is pretty easy to use and easy/considerably small to download?? thanks
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 03 Mar 2011 12:10 AM (UTC)
Message
As I just said in another thread it claims to be compatible with Windows 7:

Quote:

What versions of Windows are supported?


Cygwin can be expected to run on all modern 32 bit versions of Windows, except Windows CE and Windows 95/98/Me. This includes, as of the time of writing this, Windows NT4 SP4 or later, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, as well as the WOW64 32 bit environment on released 64 bit versions of Windows (XP/2003/Vista/2008/7/2008 R2).


http://cygwin.com/faq/faq-nochunks.html#faq.what

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #2 on Thu 03 Mar 2011 01:18 AM (UTC)

Amended on Thu 03 Mar 2011 01:27 AM (UTC) by Nick Gammon

Message
I just downloaded Cygwin using Windows 7. There was no problem with it. The downloaded data was 63.5 Mb. That's a lot less than the 300 Mb you reported.

During the setup phase I added the following packages to the default install:

In the Development section:


  • gcc-core
  • gcc-g++
  • git
  • make
  • zlib-devel


In the Shells section:


  • tcsh


(Plus, accept any dependencies it suggests).


The Rom24 source on my download page doesn't seem to have a Makefile, so I tested the compiler on SmaugFUSS from here:

http://www.smaugmuds.org/index.php?a=files&s=download&cid=9&fid=165

After decompressing it, it compiled fine, like this:



- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Cyberthrope   USA  (17 posts)  Bio
Date Reply #3 on Sat 05 Mar 2011 10:00 PM (UTC)
Message
How did you do that Nick?
I've tried installing cygwin on almost every computer I've had with no success.
I was able to, at one time, just download the whole set of files (whithout it getting an error and quitting), but I was unable to install it. And, the installer download would get an error before it finished when I used that from the website.
That is why I tinker with smaug 1.4, because I have one that I can compile in the microsoft visual c, (I think it's express).
I must be lacking in some information on the cygwin. What information I have found is kind of vague, and I have never been able to get it to work. (I gave up and figured it was for linux, which I am still getting familiar with).
My current pc is a windows vista, quad core amd, and 8gb ram and I haven't been able to download it. It still glitches out.
:( - heh!
I haven't tinkered with smaug for awhile, but last time I could still compile in msvc (it's express edition).

You mud, I mud, we all mud together.
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #4 on Sun 06 Mar 2011 12:32 AM (UTC)
Message
Cygwin isn't for Linux. If you have Linux you don't need Cygwin. It's for Windows.

I followed the setup.exe link on the http://www.cygwin.com/ site. I don't know how else to explain it. Perhaps if you described (copied and pasted) the exact error message.

I don't know what you mean by "download the whole set of files ... but was unable to install it". The setup.exe on that page downloads and installs what you need, in one operation.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Cyberthrope   USA  (17 posts)  Bio
Date Reply #5 on Tue 08 Mar 2011 12:35 AM (UTC)

Amended on Tue 08 Mar 2011 12:42 AM (UTC) by Cyberthrope

Message
Cygwin gives three options for installing.

I have a screen shot but I can't find an upload option here.

The options are:

() Install from Internet
() Download Without Installing
() Install from Local Directory

I've tried all three options in the past. I'm going to try them again in the order that they are in. If one fails I will try the next. It may take me awhile to do this so I may not reply, nor post, the results for some time.
I can upload the screen shot/s to my website and provide a link to them from here. (It's just a website I built for fun and doesn't really have a purpose.)

[Oh, and I'm not running linux, (I'm still learning that), I'm currently on windows Vista, (previously XP; for trying to install cygwin), it's an amd phenom quad core with 8GB ram, and I've only maxed/taxed it out a few times.]



You mud, I mud, we all mud together.
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #6 on Tue 08 Mar 2011 01:07 AM (UTC)
Message
Well, the first option is basically just both the second and the third option put together. If you think about it, "install from internet" involves "downloading" to a local directory on your computer, then "installing from" that "local directory". So if the first option doesn't work, I don't see how the others would.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Cyberthrope   USA  (17 posts)  Bio
Date Reply #7 on Tue 08 Mar 2011 01:55 AM (UTC)
Message
I have a question and I am not sure how to proceed with it nor where to post it at.
I realize that there is a lot of history here in considering muds in general. And, I just happened upon them around the beginning of this millenium. I have downloaded a lot of info from the internet, (in the past, and currently), and have lost a lot of info (from hard drive failures), pertaining to the mud community and the various muds and information available, at times, and even recently, and/but continue to store information.
Ever since I have become aware of this gaming medium and these gaming programs I have wanted to reserve and save them. (Don't ask, I don't even know myself, but I have been downloading and saving these various text based telnet games and accessories for some time now, (and lost some due to hardware failures). And, yes, I have been following the forums and am very familiar with all of those who have, and still do contribute to the mud community. Those who are still here, I realize, are here, because it is one of their passions, and, maybe even, a hobbie.
I know that not all of you agree on every subject, but that is what debates and forums are for (and, I know you all think you are not on the same page, and do, at times, rip each other, you are all on the same page, but with different views; which is healthy, especially since, only those who were healthy (mentally) to begin with, are still here.
My point, I guess (blunt), I would like to see all of the versions of (public) muds in a repository where anyone can access them. I, personally, would like to upload my modifications of certain areas that I have converted or modified for smaug, but, I feel that if I uploaded to one website and not another, I may contribute to strife among those within this community. And, I do not wish to do that, since, we, especially you who build the main programs that contribute to muds, do so out of your fondness for what you procure; ie, muds (smaug, rom, or other).
There is a website, archive.org (or such), which stores past website pages and files.
If I were to set up something there, for muds, and upload files and such pertaining to such muds, would there be a conflict? And, if so, what kind of permissions would I need to post any, or some, muds, there, and their parts and accessories, there of?
I remember reading somewhere, (I forget which forum), where someone had a website that had posted the history of muds, (and, no, it is not that one on there, it is gone), but I thought, wow, I had saved that page before, but my hard drive bricked on me that I had it on (it was a geocities page).
So, my question, (again, being blunt), would it be okay if I could archive these? If, I can find the means, either through archive.org, or another? And, how would you feel about it? Would you contribute?
{This is not intended for public debate. This is intended for those who are the programmers and contributors to the mud community in general, including those who are indifferent to this forum. I posted here only because it is the most read and currently active mud forum on the internet (from my perspective, no disrespect intended to others with similar forums).

You mud, I mud, we all mud together.
Top

Posted by Cyberthrope   USA  (17 posts)  Bio
Date Reply #8 on Tue 08 Mar 2011 02:14 AM (UTC)

Amended on Tue 08 Mar 2011 02:17 AM (UTC) by Cyberthrope

Message
Twisol said:

Well, the first option is basically just both the second and the third option put together. If you think about it, "install from internet" involves "downloading" to a local directory on your computer, then "installing from" that "local directory". So if the first option doesn't work, I don't see how the others would.


Yeah, I'm doing the first one right now.
The second and third are about the same. If the first fails, I'll try the second set (2 and 3).

(hm, does the server matter?)

You mud, I mud, we all mud together.
Top

Posted by Cyberthrope   USA  (17 posts)  Bio
Date Reply #9 on Tue 08 Mar 2011 02:36 AM (UTC)
Message
Okay, the cygwin has installed and is on my pc. I clicked on it and it opened a Cygwin Bash Shell window; I've never seen that before, nor had that open in the past.
It has one string:
bash-4.1$
That is in the DOS window. What do I do now?

You mud, I mud, we all mud together.
Top

Posted by Cyberthrope   USA  (17 posts)  Bio
Date Reply #10 on Tue 08 Mar 2011 03:02 AM (UTC)
Message
Okay, I did a help on this and it screened a lot of stuff, but what does it all mean. Like this;
complete [-abcdefgjksuv] [-pr] [-DE]
I haven't got the slightest idea of what these are, and after doing a help, there is a whole long list of these. What are they? Do I need to memorize some sort of cryptic code to understand these sequences? Is it linux on windows? Or, what is it?

You mud, I mud, we all mud together.
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #11 on Tue 08 Mar 2011 06:01 AM (UTC)
Message
Cyberthrope said:

So, my question, (again, being blunt), would it be okay if I could archive these?


I'm not really the one to answer that. On a case-by-case basis you would need to see if the files were allowed to be archived. I presume "yes" because if they are made publicly available, there is nothing stopping you making a copy.

You should probably acknowledge them, that is, say where each file came from.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #12 on Tue 08 Mar 2011 06:09 AM (UTC)
Message
Cyberthrope said:

Okay, the cygwin has installed and is on my pc. I clicked on it and it opened a Cygwin Bash Shell window; I've never seen that before, nor had that open in the past.
It has one string:
bash-4.1$
That is in the DOS window. What do I do now?



The short answer is "learn a bit of Unix".

I run through the process a bit on this page:

http://www.gammon.com.au/smaug/howtocompile.htm

Scroll down to the part "How about an example?".

It is command-line driven, and I know it's not as friendly as clicking a button in Windows. But the thing is, most MUDs were developed on Unix/Linux and aren't really readily accessible if you don't know a bit of Unix.

A lot of Unix commands are 2-letter words, because in the early days you sat there and typed stuff, and the shorter the better. For example, "mv" for "move" and "cp" for "copy".

There are many, many pages on the Internet devoted to teaching Unix to beginners, so don't feel disheartened. I strongly suggest getting comfortable with it before trying to get your MUD server running.

Trying to run a MUD server without knowing anything much about programming or Unix is like trying to fly a jet fighter before you learned to drive a car. I'm not saying you can't do it, but take it one step at a time. Find out some things (like, how to list directories, or rename files), build up your knowledge and soon you will feel comfortable doing more.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Cyberthrope   USA  (17 posts)  Bio
Date Reply #13 on Tue 08 Mar 2011 04:02 PM (UTC)
Message
Yeah, you're right.
I've just been taking the easy path by using a gui version of c. Just like I did with building web pages back in the late 90's when I used wysiwyg programs. Then I finally got fed up with their limited capabilities (and glitches) and taught myself how to script in notepad.
I did set up a virtual linux on my pc to learn on but I somehow locked myself out of it. I'm just going to have to install it again and keep learning it.
I have learned a bit of c since I've been tinkering with smaug. I've modified some of the code, but I have quite a bit still to learn. The mud I have though only runs on my home computer (it can be accessed through hamachi).
The last time I recompiled it (last year) was after I removed the bank, locker, and house code, which for some reason made certain mobs fall to death (after I recompiled). It has the billion vnum code in it (I fixed something in it to get it to work, I forget what) and a couple other addins but now it doesn't do a back up player save (which I commented out to prevent it from getting errors). I also changed all the static numerical variables to dynamic so that I don't have to search through all the code anymore to find them all if I need to change them (like buffers, parts vnums, levels, sorts, etc. {that took quite some time to do!}).
Well, time for me to roll up my sleeves and get to learning.
:)
(Thanks for the 'virtual' rap on the noggin, now I know what I need to do - doh!)

You mud, I mud, we all mud together.
Top

Posted by Cyberthrope   USA  (17 posts)  Bio
Date Reply #14 on Tue 08 Mar 2011 04:25 PM (UTC)
Message
Nick Gammon said:

Cyberthrope said:

So, my question, (again, being blunt), would it be okay if I could archive these?


I'm not really the one to answer that. On a case-by-case basis you would need to see if the files were allowed to be archived. I presume "yes" because if they are made publicly available, there is nothing stopping you making a copy.

You should probably acknowledge them, that is, say where each file came from.


That may take awhile for me to find out where I got some of them from. Most of the files have a notice in them (usually at the top; merc, rom, smaug). I only want to archive them in their original forms (and maybe a side archive with modified ones).
It will take me some time to sort them anyways, but I thought I would just ask somewhere about it. When I ran across archive org I thought that it was a good thing they are doing by archiving the internet. That's what got me to thinking about maybe putting these muds there all in one place along with the rest of the past internet.
I'll look more into it and see if it is something that I could do, (or even others in the mud community could do, maybe a collaboration?).

You mud, I mud, we all mud together.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


47,848 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]