Anonymous | Login | Signup for a new account | 2025-05-12 20:54 PDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0011161 | Dwarf Fortress | Technical -- General | public | 2019-10-09 19:30 | 2021-04-04 10:08 | |
Reporter | CabageGuy | |||||
Assigned To | lethosor | |||||
Priority | high | Severity | major | Reproducibility | always | |
Status | resolved | Resolution | unable to reproduce | |||
Platform | OS | Macintosh | OS Version | Mojave 10.14.15 | ||
Product Version | 0.44.12 | |||||
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+ * SDL_image And some kind of OpenGL implementation, so: * libgl * libglu 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 logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed] seems like it cannot find the file even though it is there? | |||||
Tags | No tags attached. | |||||
Attached Files | ||||||
![]() |
|
(0039539) lethosor (manager) 2019-10-09 21:02 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) |
(0039545) CabageGuy (reporter) 2019-10-13 10:31 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 |
(0039553) lethosor (manager) 2019-10-19 07:49 |
Sorry for the delay - can you run "/bin/sh --version" in your terminal? Also try:/bin/sh -c 'type dirname uname cut [ grep' |
(0041012) lethosor (manager) 2021-04-04 10:08 |
This isn't an issue on typical macOS systems - likely a broken system installation or shell customizations causing this. If this issue continues, please reopen with more details (see above). |
![]() |
|||
Date Modified | Username | Field | Change |
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 | |
2021-04-04 10:08 | lethosor | Note Added: 0041012 | |
2021-04-04 10:08 | lethosor | Status | assigned => resolved |
2021-04-04 10:08 | lethosor | Resolution | open => unable to reproduce |
Copyright © 2000 - 2010 MantisBT Group |