Welcome to GameHourz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Fun(?) compiling nethack under vmware server

 
   Game Forums (Home) -> Roguelike -> Nethack RSS
Related Topics:
How to run your own NetHack server - Hi All, I was wondering if someone could spread some light over the subject? Is it possible for me to run my own NH server, that people could telnet into, play on, and have a central list? I have searched far and wide, and haven't been able..

Compiling NH and S on Mac OS X 10.4 - I recently returned to NH after a couple year hiatus, and in the interim I had switched from my usual Solaris and Linux boxen to using Mac OS X on my laptop. I was dismayed to find that NH binaries assumed the Mac user's for a..

QT nethack - how do i view my turn count in QT nethack?

Nethack for cygwin - Does anyone have it compiled for cygwin? If so can you provide a link or email it to me? -- ..\\itch Johnston - Bearded Dragon

Anyone here play NetHack on a PSP yet? - Hello NetHack lovers. I was just wondering if anyone here has used the PC emulator for PSP (Play Station Portable) to play nethack yet?
Next:  Advice for Val-Dwa-Fem-Law before entering the ca..  
Author Message
bdurrettccci

External


Since: Feb 21, 2005
Posts: 17



(Msg. 1) Posted: Sat Feb 02, 2008 5:10 pm
Post subject: Fun(?) compiling nethack under vmware server
Archived from groups: rec>games>roguelike>nethack (more info?)

Ok. Just for fun I decided to try installing several Unix like
operating systems on VMware Server on my home computer and compiling
nethack on them and this is my report.

I did this on

Fedora 8 (linux)
FreeBSD 6.3
Solaris 10

I haven't messed with VMware before because I only have 512 meg on my
computer and didn't think that was enough. But, it was for this
purpose.

Linux was the easiest, Solaris a total pain, and FreeBSD in the
middle. The actual compilation of Nethack wasn't really much
different between the three so that was a little disappointing.
Really, I'm just compiling with gcc on an Intel box so what's the big
difference?

The biggest difference was just getting the os's to work well enough
that I could copy the nethack source over to the VM. I also fooled
with getting X Windows working on Linux and FreeBSD although that
wasn't really necessary to compile nethack.

I guess the main thing I learned was that really compiling nethack
isn't that different even if the OS's have all their own wierd
quirks. i.e. there is a different shutdown command for each one.

- Bobby

 >> Stay informed about: Fun(?) compiling nethack under vmware server 
Back to top
Login to vote
Kernigh

External


Since: Nov 26, 2007
Posts: 2



(Msg. 2) Posted: Sun Feb 03, 2008 6:43 pm
Post subject: Re: Fun(?) compiling nethack under vmware server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bobby wrote:
> I (compiled nethack) on
>
> Fedora 8 (linux)
> FreeBSD 6.3
> Solaris 10

When you did FreeBSD, I wonder whether you did #define SYSV or #define
BSD in the unixconf.h file. Either choice probably works with FreeBSD
and OpenBSD.

But my current theory is that above DragonFly, Mac OS X or NetBSD (all
modern *BSD systems), #define SYSV will compile NetHack and #define
BSD will cause compiler errors.

My macppc machine has a partitioned hard disk with three installed
operating systems. I normally run OpenBSD, but can reboot into Mac OS
X or NetBSD. Perhaps I should have my own fun now, and try compiling
NetHack for Mac OS X and NetBSD.

--Kernigh

 >> Stay informed about: Fun(?) compiling nethack under vmware server 
Back to top
Login to vote
bdurrettccci

External


Since: Feb 21, 2005
Posts: 17



(Msg. 3) Posted: Sun Feb 10, 2008 3:13 pm
Post subject: Re: Fun(?) compiling nethack under vmware server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Feb 3, 9:43 pm, Kernigh <xkern... RemoveThis @netscape.net> wrote:
> Bobby wrote:
> > I (compiled nethack) on
>
> > Fedora 8 (linux)
> > FreeBSD 6.3
> > Solaris 10
>
> When you did FreeBSD, I wonder whether you did #define SYSV or #define
> BSD in the unixconf.h file. Either choice probably works with FreeBSD
> and OpenBSD.
>
> But my current theory is that above DragonFly, Mac OS X or NetBSD (all
> modern *BSD systems), #define SYSV will compile NetHack and #define
> BSD will cause compiler errors.
>
> My macppc machine has a partitioned hard disk with three installed
> operating systems. I normally run OpenBSD, but can reboot into Mac OS
> X or NetBSD. Perhaps I should have my own fun now, and try compiling
> NetHack for Mac OS X and NetBSD.
>
> --Kernigh

Sorry to be so slow to respond. I copied all my unixconf.h files over
and diff'd them against the delivered file. Here are the differences
between the one I used to compile each of my four environments and the
file as delivered:
(delivered unixconf.h is to the left <)

Cygwin:

41c41
< /* #define CYGWIN32 */ /* Unix on Win32 -- use with case sensitive
defines */
---
> #define CYGWIN32 /* Unix on Win32 -- use with case sensitive defines */

Fedora 8(Linux):

40c40
< /* #define LINUX */ /* Another Unix clone */
---
> #define LINUX /* Another Unix clone */

FreeBSD 6.3:

50c50
< #define TERMINFO /* uses terminfo rather than termcap */
---
> /* #define TERMINFO */ /* uses terminfo rather than termcap */

Solaris 10:

No differences.

- Bobby
 >> Stay informed about: Fun(?) compiling nethack under vmware server 
Back to top
Login to vote
Display posts from previous:   
   Game Forums (Home) -> Roguelike -> Nethack All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]