Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 2 Oct 2002 07:19:21 -0400 From: "Dean S. Austin" To: cygwin AT cygwin DOT com Subject: Re: Nethack and Cygwin - Compils, Installs and doesn't work :) Message-ID: <20021002111921.GB1040@FERMAT> Mail-Followup-To: cygwin AT cygwin DOT com References: <20021001003100 DOT 52676 DOT qmail AT web40205 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021001003100.52676.qmail@web40205.mail.yahoo.com> User-Agent: Mutt/1.4i On Mon, Sep 30, 2002 at 05:31:00PM -0700, Brian Rowe wrote: > I got past some challenges, but am a little confused > on where to go next with Cygwin and debugging this. > Nethack compiled, no errors. > It installed in the /usr/games directory > where it put nethack.exe > I run nethack.exe and it just sits there, no error > nothing. > Any ideas, on what I could try or has anyone else > tried this? Assuming you've resolved your earlier STRNCMPI issue... The nethack binary shouldn't be directly in your $PATH. On a standard installation it lives in the playground (by default /usr/games/nethackdir). What _should_ be at /usr/games/nethack is a shell script that in turn runs the binary. When I installed this a few weeks ago, make install bailed out on an inability to find /usr/games/lib/nethackdir/nethack (i.e., without the .exe tacked on); my workaround (probably not the most elegant) was to make a symlink there with the name it was looking for, comment out the rm -rf line in the Makefile that cleans out the existing contents of the directory, and rerun make install. Runs fine now. If you don't rerun make install some other critical things don't get installed, IIRC, and nethack behaves pretty much the way you're describing. If you remember seeing chmod/chown errors during make install (no such file...), and tried to remedy things by doing it 'by hand', odds are this is your problem. I seem to remember having to install the shell script by hand too (problem with the sed command in the Makefile), but that might just have been part of my blundering effort to fix things. It may not be necessary. HTH. -- Dean "Everybody is stupid except for me." Homer J. Simpson -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/