View Issue Details

IDProjectCategoryView StatusLast Update
0011161Dwarf FortressTechnical -- Generalpublic2021-04-04 10:08
ReporterCabageGuy Assigned Tolethosor  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionunable to reproduce 
OSMacintoshOS VersionMojave 10.14.15 
Product Version0.44.12 
Summary0011161: Mac version fails to start: cannot find dirname, uname, cut, grep, dwarfort.exe
DescriptionOnce 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 InformationThe 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?
TagsNo tags attached.

Activities

lethosor

2019-10-09 21:02

manager   ~0039539

Last edited: 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)

CabageGuy

2019-10-13 10:31

reporter   ~0039545

Last edited: 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

lethosor

2019-10-19 07:49

manager   ~0039553

Sorry for the delay - can you run "/bin/sh --version" in your terminal? Also try:
/bin/sh -c 'type dirname uname cut [ grep'

lethosor

2021-04-04 10:08

manager   ~0041012

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).

Issue History

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 => feedback
2019-10-09 21:03 lethosor Note Edited: 0039539
2019-10-09 21:04 lethosor Note Edited: 0039539
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 Status feedback => assigned
2019-10-13 10:31 CabageGuy Note Added: 0039545
2019-10-13 10:36 CabageGuy Note Edited: 0039545
2019-10-13 14:25 CabageGuy Note Edited: 0039545
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