public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Nethack and Cygwin - Compils, Installs and doesn't work :)
       [not found] <20021001011717.59249.qmail@web40205.mail.yahoo.com>
@ 2002-09-30 20:07 ` Robert Collins
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Collins @ 2002-09-30 20:07 UTC (permalink / raw)
  To: Brian Rowe; +Cc: cygwin

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

On Tue, 2002-10-01 at 11:17, Brian Rowe wrote:
> Any idea where they are now?  When I looked at the
> list of support applications nethack was not on there.
> In nethack 3.3 almost all of the cygwin compile
> statements have been removed.  The cursor just flashes
> around the screen, and I have to close cygwin.  If you
> have any of those files or what you changed, I'd like

Please keep the discussion onlist, for the archives.

I'm sorry, but I don't have those old files around anymore.
You might try a couple of versions back, until it works, and then binary
search forward to find what broke it.

Cheers,
Rob

-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Nethack and Cygwin - Compils, Installs and doesn't work :)
  2002-10-02  4:19 ` Dean S. Austin
@ 2002-10-02 10:34   ` Francois de Campagnolle
  0 siblings, 0 replies; 5+ messages in thread
From: Francois de Campagnolle @ 2002-10-02 10:34 UTC (permalink / raw)
  To: cygwin

Any chance to see this in std distrib one day ?

----- Original Message ----- 
From: "Dean S. Austin" <beans@theworld.com>
To: <cygwin@cygwin.com>
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Nethack and Cygwin - Compils, Installs and doesn't work :)
  2002-09-30 19:36 Brian Rowe
  2002-09-30 19:49 ` Robert Collins
@ 2002-10-02  4:19 ` Dean S. Austin
  2002-10-02 10:34   ` Francois de Campagnolle
  1 sibling, 1 reply; 5+ messages in thread
From: Dean S. Austin @ 2002-10-02  4:19 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Nethack and Cygwin - Compils, Installs and doesn't work :)
  2002-09-30 19:36 Brian Rowe
@ 2002-09-30 19:49 ` Robert Collins
  2002-10-02  4:19 ` Dean S. Austin
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Collins @ 2002-09-30 19:49 UTC (permalink / raw)
  To: Brian Rowe; +Cc: cygwin

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

On Tue, 2002-10-01 at 10:31, 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?

It worked fine a couple of years back. I sent some patches off for it,
which got accepted.

Cheers,
Rob
-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Nethack and Cygwin - Compils, Installs and doesn't work :)
@ 2002-09-30 19:36 Brian Rowe
  2002-09-30 19:49 ` Robert Collins
  2002-10-02  4:19 ` Dean S. Austin
  0 siblings, 2 replies; 5+ messages in thread
From: Brian Rowe @ 2002-09-30 19:36 UTC (permalink / raw)
  To: cygwin

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?


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-02 17:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20021001011717.59249.qmail@web40205.mail.yahoo.com>
2002-09-30 20:07 ` Nethack and Cygwin - Compils, Installs and doesn't work :) Robert Collins
2002-09-30 19:36 Brian Rowe
2002-09-30 19:49 ` Robert Collins
2002-10-02  4:19 ` Dean S. Austin
2002-10-02 10:34   ` Francois de Campagnolle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).