Ok first off..
System specs
------------
Windows XP Pro
256mb ram
50 gig hard drive
Ok...
I run cygwin and get to the folder with makefile i have
make installed on cygwin and it begins to work.. here is
what is displayed on screen..
$ make
make swrip
make[1]: Entering directory '/home/administrator/src'
g++ -c -g3 -Wall act_comm.c
make[1]: g++: Command not found
make[1]: *** [act_comm.o] Error 127
make[1]: Leaving directory '/home/administrator/src'
make: *** [all] Error 2
I get that or just about that for each of the 4 different
muds i try to compile using cygwin.. one is a gcc instead
of g++.
What do i have to do to get the g++ or gcc things
installed on cygwin or something so i can friggen
compile..
You should have been able to select the packages for that, under "development" or whatever it says, when you ran the Cygwin install program (setup.exe?). If not, I'm pretty sure you can fire it up again and have it install those. It should show you what you have installed already, giving you the option to keep/uninstall/reinstall for those, but the things you don't have (gcc, etc) it should let you install in the same manner. Should be pretty straight forward if you had no problem getting Cygwin installed.
Hope that helps.
Ok new problem now.. After getting the gcc anf g++ packages that seemed to have missed before.. i now get this when i try to make..
Administrator@Home ~
$ ls
SW_RiP_V200.tar.gz
Administrator@Home ~
$ tar xzf SW_RiP_V200.tar.gz
Administrator@Home ~
$ ls
SW_RiP_V200.tar.gz bin clans deleted log space system
area boards corpses doc planets src vendor
backup building councils gods player storeroom
Administrator@Home ~
$ cd src
Administrator@Home ~/src
$ ls
Makefile bet.h fight.c mapper.c shops.c templateparse.c
act_comm.c boards.c grub.c misc.c skills.c track.c
act_comm.o bounty.c handler.c mud.h smalloc.c trivia.c
act_info.c build.c hashstr.c mud_comm.c space.c trivia.h
act_move.c clans.c id.c mud_prog.c space2.c update.c
act_obj.c comm.c interp.c player.c space2.h
act_wiz.c comments.c krearena.c requests.c special.c
alias.c const.c magic.c reset.c swskills.c
alias.h db.c makeobjs.c save.c tables.c
Administrator@Home ~/src
$ make
make swrip
make[1]: Entering directory `/home/Administrator/src'
g++ -c -g3 -Wall act_info.c
act_info.c: In function `void do_password(CHAR_DATA*, char*)':
act_info.c:3392: error: `crypt' undeclared (first use this function)
act_info.c:3392: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[1]: *** [act_info.o] Error 1
make[1]: Leaving directory `/home/Administrator/src'
make: *** [all] Error 2
Administrator@Home ~/src
$ crypt
usage: crypt passwd
crypt salt passwd
Administrator@Home ~/src
$ crypt apoklpit
0le9JNObjAS92
Administrator@Home ~/src
$ crypt salt apoklpit
sajHzfQeLlZvk
Administrator@Home ~/src
$ make
make swrip
make[1]: Entering directory `/home/Administrator/src'
g++ -c -g3 -Wall act_info.c
act_info.c: In function `void do_password(CHAR_DATA*, char*)':
act_info.c:3392: error: `crypt' undeclared (first use this function)
act_info.c:3392: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[1]: *** [act_info.o] Error 1
make[1]: Leaving directory `/home/Administrator/src'
make: *** [all] Error 2
Administrator@Home ~/src
$
Any help would be appreciated..
Ok.. this time I tried the earlier version of the RiP source.. version 1.01 instead of 2.0.... and this is what i get
Administrator@Home ~
$ tar xzf sw_rip_v101.gz
Administrator@Home ~
$ ls
SW_RiP_V101.gz area building doc player system
SW_RiP_V200.gz backup clans gods space vendor
bin corpses log src boards deleted planets
storeroom
Administrator@Home ~
$ cd src
Administrator@Home ~/src
$ ls
Makefile alias.h comments.c id.c mud_comm.c shops.c tables.c
act_comm.c bet.h const.c interp.c mud_prog.c skills.c track.c
act_info.c boards.c db.c magic.c newarena.c smalloc.c update.c
act_move.c bounty.c fight.c makeobjs.c player.c space.c
act_obj.c build.c grub.c mapper.c requests.c space2.c
act_wiz.c clans.c handler.c misc.c reset.c special.c
alias.c comm.c hashstr.c mud.h save.c swskills.c
Administrator@Home ~/src
$ make
make swrip
make[1]: Entering directory `/home/Administrator/src'
gcc -c -g3 -Wall -DREQUESTS act_comm.c
gcc -c -g3 -Wall -DREQUESTS act_info.c
act_info.c: In function `do_password':
act_info.c:3336: warning: implicit declaration of function `crypt'
act_info.c:3336: warning: passing arg 1 of `strcmp' makes pointer from integer w
ithout a cast
act_info.c:3353: warning: assignment makes pointer from integer without a cast
gcc -c -g3 -Wall -DREQUESTS act_move.c
act_move.c: In function `generate_exit':
act_move.c:606: warning: use of cast expressions as lvalues is deprecated
gcc -c -g3 -Wall -DREQUESTS act_obj.c
gcc -c -g3 -Wall -DREQUESTS act_wiz.c
act_wiz.c:1838: error: conflicting types for `trunc'
/usr/include/math.h:144: error: previous declaration of `trunc'
act_wiz.c: In function `do_form_password':
act_wiz.c:4976: warning: implicit declaration of function `crypt'
make[1]: *** [act_wiz.o] Error 1
make[1]: Leaving directory `/home/Administrator/src'
make: *** [all] Error 2
It seems no matter which version i use it has a problem with the crypt command.. and im not adept enough with cygwin to try and mess with things and figure it out for myself for fear of screwing something else up..
I have put both of these files on my web page at geocities if you wish to download them and try for yourself.. my site is... http://www.geocities.com/shady_motsf/
Please excuse my lame excuse for a website..
You might want to read over the Smaug documents. It explains how to fix this.
Toggle the comment in the Makefile, for crypt.
Or, you could make sure that Cygwin has the crypt library installed and you have includes in the affected files for crypt.h and then all will be well.
Or, you could adopt the MD5 encrypption in the FUSS packages which makes crypt unnecessary.
Disabling crypt isn't the only working solution.