Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Dwarf Therapist for Linux-Help  (Read 3658 times)

PFactorial

  • Bay Watcher
    • View Profile
Dwarf Therapist for Linux-Help
« on: May 31, 2011, 04:52:27 pm »

So I got Dwarf Therapist for Linux, but it doesn't work when I click the run file. Nothing pops up.
Can anyone help?
Logged

OddTheTall

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #1 on: May 31, 2011, 05:08:45 pm »

Did you install it through your distro's package manager? If so, try opening a terminal and typing 'dwarftherapist' into it. This will also spit out any errors if it is failing to run for whatever reason. Alternatively, run
Code: [Select]
locate dwarftherapist in terminal then type
Code: [Select]
./path/to/dwarf/therapist/binary As above, this will allow you to see debugging information in the terminal.

Hope this helps
Logged

Girlinhat

  • Bay Watcher
  • [PREFSTRING:large ears]
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #2 on: May 31, 2011, 05:11:09 pm »

This would be more appropriate for the Therapist thread in the modding section.

PFactorial

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #3 on: May 31, 2011, 05:19:19 pm »

Sorry about that, I didn't see the thread.
"bash: locate: command not found"
I'm using Puppy Linux, so I'm not sure if they have the same commands...
Logged

PFactorial

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #4 on: May 31, 2011, 05:33:59 pm »

lol, never mind i forgot the slash
Logged

DrKillPatient

  • Bay Watcher
  • The yak falls infinitely
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #5 on: May 31, 2011, 05:41:27 pm »

Do this:
Quote
$ sudo apt-get install qt4-qmake qt4-dev-tools

$ hg clone https://dwarftherapist.googlecode.com/hg/ dwarftherapist

$ cd dwarftherapist

$ qmake

$ make

Then navigate to the DT folder, into bin/release, and make a new folder called 'log' there. Go back to the original DT folder, find 'etc', and copy that folder from there over into bin/release. Startup the dwarftherapist.sh file in that folder.

(From here)
http://code.google.com/p/dwarftherapist/wiki/BuildingDwarfTherapist
« Last Edit: May 31, 2011, 05:45:18 pm by DrKillPatient »
Logged
"Frankly, if you're hanging out with people who tell you to use v.begin() instead of &v[0], you need to rethink your social circle."
    Scott Meyers, Effective STL

I've written bash scripts to make using DF easier under Linux!

PFactorial

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #6 on: May 31, 2011, 05:50:58 pm »

do i type that into the terminal?
Logged

DrKillPatient

  • Bay Watcher
  • The yak falls infinitely
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #7 on: May 31, 2011, 05:59:26 pm »

Yes. Not the $, though, that's just indicating the new line. Just copy/paste the lines after the $-- also, the second line's space before 'dwarftherapist' is not an error. Leave it like that, even though it looks broken.
Logged
"Frankly, if you're hanging out with people who tell you to use v.begin() instead of &v[0], you need to rethink your social circle."
    Scott Meyers, Effective STL

I've written bash scripts to make using DF easier under Linux!

PFactorial

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #8 on: May 31, 2011, 06:08:18 pm »

"bash: sudo: command not found"
Logged

DrKillPatient

  • Bay Watcher
  • The yak falls infinitely
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #9 on: May 31, 2011, 06:41:59 pm »

Ah, apparently puppy runs as root by default, so sudo doesn't exist. Just remove sudo from the lines and run them, it should go along with admin privileges automatically.
Logged
"Frankly, if you're hanging out with people who tell you to use v.begin() instead of &v[0], you need to rethink your social circle."
    Scott Meyers, Effective STL

I've written bash scripts to make using DF easier under Linux!

PFactorial

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #10 on: May 31, 2011, 06:48:08 pm »

"bash: apt-get: command not found"
Logged

DrKillPatient

  • Bay Watcher
  • The yak falls infinitely
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #11 on: May 31, 2011, 07:20:10 pm »

Oh dear. It seems Puppy doesn't use apt-get, rpm maybe? These instructions are for Ubuntu/debian and so on, I'm not sure about Puppy at all to be honest. Try skipping that line... you might have those dependencies.
Logged
"Frankly, if you're hanging out with people who tell you to use v.begin() instead of &v[0], you need to rethink your social circle."
    Scott Meyers, Effective STL

I've written bash scripts to make using DF easier under Linux!

jdstauffer

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #12 on: June 08, 2011, 09:13:58 pm »

I'm using Ubuntu (11.04) and followed the above instructions to run Dwarf therapist.  The installation worked, and it runs, but when trying to pull data from Dwarf Fortress, it fails to connect, and the terminal returns the error "ptrace attach: Operation not permitted
"  Any ideas?  Is this because Dwarf Therapist hasn't caught up yet?

Thanks in advance for the help.
Logged

vintermann

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist for Linux-Help
« Reply #13 on: June 09, 2011, 01:46:20 am »

It's because Ubuntu runs a security mechanism to prevent one program from messing with another program's memory, even if they run as the same user. Pretty sensible, really, there are few legitimate uses for that in the open source world - but hacking DF needs it.

I just run Dwarf Therapist/dfhack as root. I think there's also some kind of trick you can do to disable the security mechanism temporarily or permanently, but I haven't done that yet.
Logged

Maklak

  • Bay Watcher
    • View Profile
Logged
Quote from: Omnicega
Since you seem to criticize most things harsher than concentrated acid, I'll take that as a compliment.
On mining Organics
Military guide for FoE mod.
Research: Crossbow with axe and shield.
Dropbox referral
Pages: [1] 2