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 Message-ID: <00e601c26a3a$95733cc0$31bcfbc1@exostation> From: "Francois de Campagnolle" To: References: <20021001003100 DOT 52676 DOT qmail AT web40205 DOT mail DOT yahoo DOT com> <20021002111921 DOT GB1040 AT FERMAT> Subject: Re: Nethack and Cygwin - Compils, Installs and doesn't work :) Date: Wed, 2 Oct 2002 19:38:55 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Any chance to see this in std distrib one day ? ----- Original Message ----- From: "Dean S. Austin" To: Sent: Wednesday, October 02, 2002 1:19 PM Subject: Re: Nethack and Cygwin - Compils, Installs and doesn't work :) > 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/ > > > -- 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/