1
DF Modding / Re: Stonesense - Official thread - Now 31.21 compatible
« on: June 17, 2011, 02:57:13 pm »
Hi all Im trying to get stonesense to work on opensuse 11.3. I think im almost there (compiled the source, allegro, dfhack etc) but get a segmentation error when trying to actually run the compiled binary. I'm using the latest source directly from the repositories for stonesense and dfhack together with dwarf fortress 0.31.25:
Stonesense itself only displays the message Segmentation Fault but running dmesg reveals the a similar error as experienced in reply #5081:
(4 attempts of running stonesense)
So the problem seems to have something to do with the dfhack library. I see there is already a solution for this for ubuntu users as quoted below:
However since I use Opensuse I was wondering if there is a way to patch the source manually or some other fix without installing a precompiled package? Thanks
Stonesense itself only displays the message Segmentation Fault but running dmesg reveals the a similar error as experienced in reply #5081:
(4 attempts of running stonesense)
Spoiler (click to show/hide)
So the problem seems to have something to do with the dfhack library. I see there is already a solution for this for ubuntu users as quoted below:
Well, some crappy security thing is getting in the way. Stupid distros disabling ptrace with no way to whitelist apps.
Grab the dfhack Ubuntu .deb package - it has some magical anti-Ubuntu-stupid bits that will turn ptrace on again.
However since I use Opensuse I was wondering if there is a way to patch the source manually or some other fix without installing a precompiled package? Thanks