Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011161Dwarf FortressTechnical -- Generalpublic2019-10-09 19:302019-10-19 07:49
ReporterCabageGuy 
Assigned Tolethosor 
PriorityhighSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSMacintoshOS VersionMojave 10.14.15
Product Version0.44.12 
Target VersionFixed in Version 
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.
Attached Files

- Relationships

-  Notes
(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'

- 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 => 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
Powered by Mantis Bugtracker