Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007309Dwarf FortressTechnical -- Generalpublic2014-07-14 19:382014-11-23 04:55
ReporterAndroid5217 
Assigned Tolethosor 
PriorityurgentSeverityblockReproducibilityalways
StatusresolvedResolutionduplicate 
PlatformMacBook ProOSOSXOS Version10.9.4
Product Version0.40.03 
Target VersionFixed in Version 
Summary0007309: Dwarf Fortress won't open
DescriptionThe script to run the .exe file does not do anything and never opens dwarf fortress.
Steps To ReproduceOpen the "df" script.
Additional InformationThe terminal produces this:

Last login: Mon Jul 14 18:45:46 on ttys000
Garets-MacBook-Pro:~ Garet$ /Users/Garet/Downloads/df_osx\ 3/df ; exit;
/Users/Garet/Downloads/df_osx 3/df: line 1: uname: command not found
/Users/Garet/Downloads/df_osx 3/df: line 1: cut: command not found
/Users/Garet/Downloads/df_osx 3/df: line 2: [: : integer expression expected
logout

[Process completed]
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0007389confirmedlethosor freetype missing on OS X; causes crashes when entering fullscreen and/or starting DF 

-  Notes
(0030991)
lethosor (manager)
2014-11-14 14:06

Reminder sent to: Android5217

Those commands should definitely be available. Have you deleted any system files? What happens when you run "uname" in a Terminal window?
(0031009)
Android5217 (reporter)
2014-11-16 00:03

Garets-MBP:~ Garet$ uname
Darwin

This is what is returned
(0031045)
lethosor (manager)
2014-11-17 15:04
edited on: 2014-11-17 15:05

That's strange. Can you edit the "df" script (with a text editor) to read:

#!/bin/sh
echo $PATH; which uname cut [ ; exit;
PWD=`dirname "${0}"`
#thanks to Iriel for figuring this out
OSREV=`uname -r | cut -d. -f1`
if [ "$OSREV" -ge 11 ] ; then
    export DYLD_LIBRARY_PATH=${PWD}/libs
    export DYLD_FRAMEWORK_PATH=${PWD}/libs
else
    export DYLD_FALLBACK_LIBRARY_PATH=${PWD}/libs
    export DYLD_FALLBACK_FRAMEWORK_PATH=${PWD}/libs
fi
cd "${PWD}"; ./dwarfort.exe "$@" &

try running it again, and paste the output?
Note that this will prevent DF from launching, which you can revert by deleting the second line ("echo $PATH...").

(0031123)
Android5217 (reporter)
2014-11-22 13:40

Garets-MacBook-Pro:~ Garet$ /Users/Garet/Downloads/df_osx/df ; exit;
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
/usr/bin/uname
/usr/bin/cut
/bin/[
logout

[Process completed]
(0031124)
lethosor (manager)
2014-11-22 13:44

Strange - those commands do appear to be available, then. Can you try deleting that line and running the 'df' script again?
(0031125)
Android5217 (reporter)
2014-11-22 13:46

Garets-MacBook-Pro:~ Garet$ /Users/Garet/Downloads/df_osx/df ; exit;
logout

[Process completed]
(0031126)
lethosor (manager)
2014-11-22 14:01

Is that all? Does DF open? If not, what happens if you remove the "&" from the last line?
(0031130)
Android5217 (reporter)
2014-11-22 16:42

Yeah, the terminal window stays open, but dwarf fortress doesn't open. Removing the & from the last line did not fix the issue, but it did create a new log, which I included.

Garets-MacBook-Pro:~ Garet$ /Users/Garet/Downloads/df_osx/df ; exit;
dyld: Library not loaded: /usr/X11R6/lib/libfreetype.6.dylib
  Referenced from: /Users/Garet/Downloads/df_osx/libs/SDL_ttf.framework/Versions/A/SDL_ttf
  Reason: image not found
/Users/Garet/Downloads/df_osx/df: line 12: 14039 Trace/BPT trap: 5 ./dwarfort.exe "$@"
logout

[Process completed]
(0031131)
lethosor (manager)
2014-11-22 16:57

Ah, sounds like 0007389. Installing XQuartz should fix the problem: http://xquartz.macosforge.org/landing/ [^]
(0031132)
Android5217 (reporter)
2014-11-22 18:44

Yep, that fixed it. Thank you for helping me out with this!

- Issue History
Date Modified Username Field Change
2014-07-14 19:38 Android5217 New Issue
2014-07-14 19:38 Android5217 Issue Monitored: Android5217
2014-11-14 14:05 lethosor Assigned To => lethosor
2014-11-14 14:05 lethosor Status new => needs feedback
2014-11-14 14:06 lethosor Note Added: 0030991
2014-11-16 00:03 Android5217 Note Added: 0031009
2014-11-16 00:03 Android5217 Status needs feedback => assigned
2014-11-17 15:04 lethosor Note Added: 0031045
2014-11-17 15:05 lethosor Note Edited: 0031045 View Revisions
2014-11-17 19:50 lethosor Status assigned => needs feedback
2014-11-22 13:40 Android5217 Note Added: 0031123
2014-11-22 13:40 Android5217 Status needs feedback => assigned
2014-11-22 13:44 lethosor Note Added: 0031124
2014-11-22 13:46 Android5217 Note Added: 0031125
2014-11-22 14:01 lethosor Note Added: 0031126
2014-11-22 16:42 Android5217 Note Added: 0031130
2014-11-22 16:57 lethosor Note Added: 0031131
2014-11-22 16:57 lethosor Relationship added child of 0007389
2014-11-22 18:44 Android5217 Note Added: 0031132
2014-11-23 04:54 lethosor Relationship deleted child of 0007389
2014-11-23 04:55 lethosor Relationship added duplicate of 0007389
2014-11-23 04:55 lethosor Status assigned => resolved
2014-11-23 04:55 lethosor Resolution open => duplicate


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker