Launching Nethack
Hi All,
I have complied Nethack 3.4.2 to work on my RH 7.3 box. Everything went fine and the make install seemed to place everything correctly, but I can't run the game. Typing 'nethack' doesn't work, even in the game dir where the executable sits. The s bit is set in the file mask the owner is games and group is bin....what do I do? -mark |
Try ./nethack in the directory
|
how about entering in the directory where the executable resides
./nethack Linux typically only looks in your path for executables and the games directory isn't usually in the path |
That works! How can I add it to my path then?
|
Okay the folder is in my path, but I can't launch it except in the folder where the executable resides...am I just this stupid or what am I doing wrong?
|
did you put ./ in your path?
./ is only an abbreviation for your current directory and usually isn't put into your path b/c it's a security risk instead put the absolute path (all the directories starting from /) so it will look something like /usr/games instead of ./ |
All times are GMT -5. The time now is 05:01 PM. |