Ok so I downloaded quickmud fixed 2012.tar from here, what ells do I need aside from that to make my make command not yell at me in cygwin? im sorry im very noob to this, but im learning fast, this is day 2 and iv learned a ton already. just a little bit of a nudge and I think ill have it.
Linux/BSD distributions come with a package manager. It could be Yast, Yum, RPM, Ports, Emerge, Apt, etc. These can either be invoked directly as a command in the shell to install/deinstall something or they run a menu type interface or they are invoke from a GUI. Many of the major Linux distributions today install some GUI, like Gnome or KDE where you'll find a application that wraps whatever package manager that distribution uses.
Linux distributions used to include most of the development tools a C programmer used. A lot of them don't today because they are geared toward end users. In that way they are similar to Windows, you'll get a browser, an editor, a command shell, some sort of Office ware, media players, a few games. You'll have to locate and run the software package manager to install developement tools.
When you install Cygwin you get a bash shell and a bunch commands to manipulate files and directories. Cygwin's package manager is the setup.exe program the same one you use to install it. From there you have to select the software you need to compile/develop your application or mud.
You definately don't want to install everything, whether you are running Cygwin or Linux. There are hundreds or even thousands of programs that will be downloaded and installed and that could take dozens of hours to install.
Packages you'll probably need to compile a lot of muds written in C or C++:
binutils linker utilities csh a shell used to run scripts make build utility gcc-core C 3.x gcc-g++ C++ 3.x gcc4-core C v4.x gcc4-g++ C++ v4.x gdb debugger
Some muds make use of additional tools and libraries. Some common ones are:
cmake another build utility bison a parser generator byacc another parser generator flex a lexical scanner gdbm database zlib compression library sqlite3 database
You'll also need an editor. The following are probably the easiest to use: nano vim
Or you can use Windows programmer editors like: Textpad Notepad++
Don't use Notepad that comes with Windows. 1) It strips out tabs. (That breaks Linux Makefiles which use tabs.) 2) It adds carriage returns. (That breaks bash/csh scripts)
Include exactly what you typed and what the exact response was. If you have compile errors include the exact error messages and the lines of code referenced by them. Better yet do some research first.. like typing the general error message codes into google first.
Only a genuine psychic can answer a question like.. "Make is yelling at me. What do I do?"
Most of the mud code you will find in the repository here is old. Probably the mud you were originally trying to use also. Most of the C code here may have been written for gcc 2.x or 3.x and is unlikely to compile on what most Linux distributions ship as the default compiler, gcc 4.x.
You'll either have to fix them up, or install an older compiler. And then you'll have to then invoke the compiler differently gcc-3 instead of gcc or by setting environment variables `export CC=gcc-3`.
Here's a tip. Put the following in your cygwin.bat file somewhere before the 'bash –login -i' line.
set CYGWIN=error_start:dumper
This won't fix the problem, but you'll get a core dump instead of a stack trace when your mud crashes. The gdb debugger can be used to read core dumps and provide useful information.
ok so I did what you said Davion and now when I try and run the rom.exe it gave me I get this
Thu Oct 25 12:25:03 2012 :: Loading configuration settings from ../area/qmconfig.re. Thu Oct 25 12:25:03 2012 :: qmcomfig.re not found. Using compiled-in defaults/ Thu Oct 25 12:25:03 2012 :: Set IP address to 0.0.0.0 Init socket: bind: address already in use
Is it already running? That means you're trying to boot up the MUD on a port that already in use.
25 Oct, 2012, AlphaTech wrote in the 10th comment:
Votes: 0
I fixed that problem now I have another haha.
its looking for area.list and I have none, I have nothing in my area folder other then the rom and 2 DLL's it made me move to the area folder from my cygwin DLL folder.
The stock quickmud area folder comes with a whole bunch of files other than those :D. What have you done!? Maybe try restoring the area directory?
29 Oct, 2012, AlphaTech wrote in the 12th comment:
Votes: 0
the src files i downloaded for Quickmud did not have an area folder at all. all it comes with is the src stuff. so what am I forgetting to download?
29 Oct, 2012, triskaledia wrote in the 13th comment:
Votes: 0
I didn't notice anyone else note about this: The things regarding room_exits is because you looped back onto a room that already has an exit set to go that way. The things regarding objects after a mob is because you have loaded a higher level item to the mobs level. The code doesn't like such things, and can become buggy… I commented out the bug_log for higher level items and the looped exits.
29 Oct, 2012, triskaledia wrote in the 14th comment:
29 Oct, 2012, AlphaTech wrote in the 15th comment:
Votes: 0
Ok thank you, that this point I have complied the quickmud and when I try and run ./startup & it tells me '$ -bash: ./startup: /bin/csh: bad interpreter: Permission denied' I am by the way in the area folder when I type that in where the startup file is located. i feel im getting close but im obviously screwing something up still.
Also, upon trying to 'make' in the src directory I receive
/usr/include/stdio.h:675:20: note: previous declaration of getline was here make: *** [obj/string.o] Error 1
and it stops. again, using cygwin however this time tested on Ubuntu giving both errors in both situations.
29 Oct, 2012, AlphaTech wrote in the 16th comment:
Votes: 0
Alpha@Alpha-PC /cygdrive/c/users/alpha/desktop/mudstuff/quickmud/src $ make gcc act_comm.c -Wall -O -ggdb -Dunix -DNOCRYPT -c -o obj/act_comm.o In file included from act_comm.c:41:0: merc.h:2456:10: warning: conflicting types for built-in function logf In file included from act_comm.c:44:0: tables.h:29:31: error: array type has incomplete element type tables.h:30:35: error: array type has incomplete element type tables.h:31:30: error: array type has incomplete element type tables.h:32:31: error: array type has incomplete element type tables.h:35:31: error: array type has incomplete element type tables.h:36:31: error: array type has incomplete element type tables.h:37:31: error: array type has incomplete element type tables.h:38:31: error: array type has incomplete element type tables.h:39:31: error: array type has incomplete element type tables.h:40:31: error: array type has incomplete element type tables.h:41:31: error: array type has incomplete element type tables.h:42:31: error: array type has incomplete element type tables.h:43:31: error: array type has incomplete element type tables.h:44:31: error: array type has incomplete element type tables.h:45:31: error: array type has incomplete element type tables.h:46:31: error: array type has incomplete element type tables.h:47:31: error: array type has incomplete element type tables.h:48:31: error: array type has incomplete element type tables.h:49:31: error: array type has incomplete element type tables.h:50:33: error: array type has incomplete element type tables.h:51:31: error: array type has incomplete element type tables.h:52:31: error: array type has incomplete element type tables.h:53:31: error: array type has incomplete element type tables.h:54:31: error: array type has incomplete element type tables.h:55:31: error: array type has incomplete element type tables.h:56:31: error: array type has incomplete element type tables.h:57:31: error: array type has incomplete element type tables.h:58:31: error: array type has incomplete element type tables.h:59:31: error: array type has incomplete element type tables.h:60:31: error: array type has incomplete element type tables.h:61:31: error: array type has incomplete element type tables.h:62:31: error: array type has incomplete element type tables.h:63:31: error: array type has incomplete element type tables.h:64:31: error: array type has incomplete element type tables.h:65:31: error: array type has incomplete element type tables.h:66:31: error: array type has incomplete element type tables.h:67:31: error: array type has incomplete element type tables.h:68:31: error: array type has incomplete element type tables.h:69:31: error: array type has incomplete element type tables.h:70:30: error: array type has incomplete element type act_comm.c: In function do_emote: act_comm.c:1086:5: warning: array subscript has type char act_comm.c:1086:5: warning: array subscript has type char act_comm.c: In function do_pmote: act_comm.c:1122:5: warning: array subscript has type char act_comm.c:1122:5: warning: array subscript has type char Makefile:32: recipe for target `obj/act_comm.o' failed make: *** [obj/act_comm.o] Error 1
Ok thank you, that this point I have complied the quickmud and when I try and run ./startup & it tells me '$ -bash: ./startup: /bin/csh: bad interpreter: Permission denied' I am by the way in the area folder when I type that in where the startup file is located. i feel im getting close but im obviously screwing something up still.
You don't have csh installed. Run cygwin setup and install tcsh. It's in the shells category.
29 Oct, 2012, AlphaTech wrote in the 18th comment:
Votes: 0
ok ill give that a try as well. Im now running Ubuntu but I'm not having much luck here either haha.
EDIT- Ok so I did as you said and installed tsch, now when I type in ./startup it does nothing, it gives me no new promt, no out put. not a damn thing to know what I did wrong. any suggestions now?
You have not successfully compiled the mud, so startup script loops forever. I mentioned in the last two paragraphs of post #3 that older mud code depended on older compilers. Quickmud was probably written and compiled with gcc v3.