|Anonymous | Login | Signup for a new account||2020-07-09 16:35 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0011161||Dwarf Fortress||Technical -- General||public||2019-10-09 19:30||2019-10-19 07:49|
|Platform||OS||Macintosh||OS Version||Mojave 10.14.15|
|Target Version||Fixed in Version|
|Summary||0011161: Mac version fails to start: cannot find dirname, uname, cut, grep, dwarfort.exe|
|Description||Once I have downloaded the Mac file version from the website Bay 12 Games, I try to open the "df" in the "df_osx" folder, it fails to do anything other than to load a terminal screen. I have not done the prerequisites the "README.osx" has said, download |
* GTK+ 2+
* SDL 1.2+
And some kind of OpenGL implementation, so:
I heard some people did not need to do this step.
|Additional Information||The terminal screen that shows up:|
Williams-MacBook-Pro:~ williamzheng$ /Users/williamzheng/Desktop/DF/df_osx/df ; exit;
/Users/williamzheng/Desktop/DF/df_osx/df: line 2: dirname: command not found
/Users/williamzheng/Desktop/DF/df_osx/df: line 4: uname: command not found
/Users/williamzheng/Desktop/DF/df_osx/df: line 4: cut: command not found
/Users/williamzheng/Desktop/DF/df_osx/df: line 5: [: : integer expression expected
/Users/williamzheng/Desktop/DF/df_osx/df: line 13: grep: command not found
/Users/williamzheng/Desktop/DF/df_osx/df: line 16: ./dwarfort.exe: No such file or directory
...copying shared history...
...saving history...truncating history files...
seems like it cannot find the file even though it is there?
|Tags||No tags attached.|
edited on: 2019-10-09 21:04
What is your system shell (i.e. what is /bin/sh)? And is there anything else unusual about your setup - e.g. have you deleted a bunch of system files? The main issue is that it can't find basic system commands, such as "cut" and "grep", which should be installed by default.
(And yes, ignore README.osx, it's mostly instructions for Linux (that's covered in 0009744)
edited on: 2019-10-13 14:25
Found my /bin/sh folder. It was hidden on my Mac. I found it by doing command+shift+dot in the Macintosh HD. It is there.
When I run echo $SHELL in terminal, it returns with /bin/bash
Sorry for the delay - can you run "/bin/sh --version" in your terminal? Also try:
/bin/sh -c 'type dirname uname cut [ grep'
|2019-10-09 19:30||CabageGuy||New Issue|
|2019-10-09 21:02||lethosor||Note Added: 0039539|
|2019-10-09 21:02||lethosor||Assigned To||=> lethosor|
|2019-10-09 21:02||lethosor||Status||new => needs feedback|
|2019-10-09 21:03||lethosor||Note Edited: 0039539||View Revisions|
|2019-10-09 21:04||lethosor||Note Edited: 0039539||View Revisions|
|2019-10-09 21:09||lethosor||Summary||Does not do anything, cannot find itself => Mac version fails to start: cannot find dirname, uname, cut, grep, dwarfort.exe|
|2019-10-10 13:36||CabageGuy||Note Added: 0039541|
|2019-10-10 13:36||CabageGuy||Status||needs feedback => assigned|
|2019-10-13 10:31||CabageGuy||Note Added: 0039545|
|2019-10-13 10:36||CabageGuy||Note Edited: 0039545||View Revisions|
|2019-10-13 10:36||CabageGuy||Note Deleted: 0039541|
|2019-10-13 14:25||CabageGuy||Note Edited: 0039545||View Revisions|
|2019-10-19 07:49||lethosor||Note Added: 0039553|
|Copyright © 2000 - 2010 MantisBT Group|