Dwarf Fortress Bug Tracker - Dwarf Fortress |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0007309 | Dwarf Fortress | Technical -- General | public | 2014-07-14 19:38 | 2014-11-23 04:55 |
|
Reporter | Android5217 | |
Assigned To | lethosor | |
Priority | urgent | Severity | block | Reproducibility | always |
Status | resolved | Resolution | duplicate | |
Platform | MacBook Pro | OS | OSX | OS Version | 10.9.4 |
Product Version | 0.40.03 | |
Target Version | | Fixed in Version | | |
|
Summary | 0007309: Dwarf Fortress won't open |
Description | The script to run the .exe file does not do anything and never opens dwarf fortress. |
Steps To Reproduce | Open the "df" script. |
Additional Information | The 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] |
Tags | No tags attached. |
Relationships | duplicate of | 0007389 | confirmed | lethosor | freetype missing on OS X; causes crashes when entering fullscreen and/or starting DF |
|
Attached Files | |
|
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 | bug_revision_view_page.php?bugnote_id=0031045#r12340 |
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 |
Notes |
|
|
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? |
|
|
|
Garets-MBP:~ Garet$ uname
Darwin
This is what is returned |
|
|
(0031045)
|
lethosor
|
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...").
|
|
|
|
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] |
|
|
|
Strange - those commands do appear to be available, then. Can you try deleting that line and running the 'df' script again? |
|
|
|
Garets-MacBook-Pro:~ Garet$ /Users/Garet/Downloads/df_osx/df ; exit;
logout
[Process completed] |
|
|
|
Is that all? Does DF open? If not, what happens if you remove the "&" from the last line? |
|
|
|
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] |
|
|
|
|
|
|
Yep, that fixed it. Thank you for helping me out with this! |
|