Opened 19 years ago

Last modified 8 years ago

#4136 closed defect

Fortune will not run — at Initial Version

Reported by: sigint@… Owned by: darwinports-bugs@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: fortune

Description

I applied the patch supplied in Bug #3010, and got fortune to install.

When I run /opt/local/bin/nethack now, I get the following output (and no nethack):

/opt/local/bin/nethack: line 51: cd: /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/ work/destroot/opt/local/share/nethackdir: No such file or directory /opt/local/bin/nethack: line 57: /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/ work/destroot/opt/local/share/nethackdir/nethack: No such file or directory /opt/local/bin/nethack: line 57: exec: /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/ work/destroot/opt/local/share/nethackdir/nethack: cannot execute: No such file or directory

I made it work by manually hacking /opt/local/bin/nethack thusly:

--- nethack~ 2005-07-27 01:19:06.000000000 +1000 +++ nethack 2005-07-27 01:17:58.000000000 +1000 @@ -1,7 +1,8 @@

#!/bin/sh # SCCS Id: @(#)nethack.sh 3.4 1990/02/26

-HACKDIR=/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_games_nethack/ work/destroot/opt/local/share/nethackdir +HACKDIR=/opt/local/share/nethackdir

export HACKDIR HACK=$HACKDIR/nethack MAXNROFPLAYERS=4

I'm pretty sure the manual hacking I did on termcap.c didn't cause this, so I thought I'd post the problem/solution to make it googleable/reusable. If it's caused by my tinkering/stupidity, I'm sorry for spamming you.

Thanks, -s

Change History (0)

Note: See TracTickets for help on using tickets.