Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dfhack script and library issue on x86_64 Ubuntu 10.4 #6

Open
bdbryant opened this issue Apr 21, 2015 · 5 comments
Open

dfhack script and library issue on x86_64 Ubuntu 10.4 #6

bdbryant opened this issue Apr 21, 2015 · 5 comments

Comments

@bdbryant
Copy link

  1. PyLNP worked out of the box, but to start a game it popped up a window that that disappeared before it showed anything, and wrote nothing to std{err,out}.txt.

  2. So I tried starting it with the dfhack script, but got errors because it invokes /bin/sh rather than /bin/bash.

  3. Fixing that let the script run, and it gave the "32bit DF on unhandled 64bit OS detected", and a request to open an issue here for missing file errors. I get the error for libgtk-x11-2.0.so.0.

  4. I searched the web for dfhack linux 32 64 libgtk-x11, and it turned up the LNP-L github page. That page has the command for installing the necessary libraries, but it's way down below the DF release notes. You may want to consider moving it up to the "Linux Download" section at the top of the page, and change the section to "Installation".

Notice that I got LNP-L from dffd, which lists the libraries but doesn't tell you how to find out if you have them. You may want to add an installation section there as well.

@lethosor
Copy link
Member

What distro are you using? /bin/sh should exist on practically any modern distribution.

@bdbryant
Copy link
Author

Ubuntu. For some reason /bin/sh --> dash rather than bash. So the script ran, but didn't recognize $BASH_SOURCE in line 19 because it wasn't using the bash interpreter.

@lethosor
Copy link
Member

Ah, that was fixed recently but apparently not in r3. You can try replacing distro_fixes.sh with the most recent copy from this repo, although it probably won't help with the GTK issue.
Regarding GTK, I think that's a requirement of DF itself (which is listed in README.linux, on the wiki, forum thread, and probably other places as well). The list of dependencies should be added to http://lazynewbpack.com/linux/, though.
I'm assuming the site you were referring to was this, which really ought to be moved over to lazynewbpack.com at some point. @BeauBouchard, thoughts?

@lethosor lethosor added the bug label Apr 21, 2015
@bdbryant
Copy link
Author

OK, I'll try the distro_fixes, though changing the script to /bin/bash worked too.

I fixed GTK with the recommended sudo command; I was just suggesting that you create an installation section for people who aren't accustomed to troubleshooting. People who install the LNP may not even see the other sites.

The site was actually github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux.

Thank you for providing LNP-L !

@Wolf-086
Copy link

I am having the same issue. I have installed all of the dependencies. I am a bit of a Linux Newb, I tried to follow everything said but it won't launch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants