-
Notifications
You must be signed in to change notification settings - Fork 61
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
What versions of tclsh and sqlite3 should I use to run DRAKONEditor.app on macOS? #6
Comments
Edited my PATH environment variable leaving just |
Confirmed the segfault on: El Captain version 10.11.3 (15D21) |
Looks like it is sqlite which causes the crash under El Capitan. |
I was able to run the editor from the command line by installing the package tcl-tk hosted in homebrew and compiling the tkimg from the sources. For anyone interested here is how I did it: Install hombrew. Install the package tcl-tk from homebrew. Install tkimg revision 374 (I took that from this script)
Add symlinks for tcl-tk
|
@rraallvv: thank you! you just made my night. |
Or using MacPorts https://www.macports.org/ sudo port install tk And it works!!! |
@rraallvv in the compile from source section of your Homebrew instructions there's a typo* on line 3. It should be:
Also, for anyone running this later, make sure you're referencing the correct Homebrew version of TCL-TK. As of October 5, 2016, it was 8.6.6. You will need to update the script accordingly. * This could also be a case where my system configuration was different and both could work, depending on how you're set up. I don't have |
@brossi thanks. |
Troubleshooting help for those who come after me. When OS X 10.11 (El Capitan) was introduced, Apple put in place a default security-oriented feature called System Integrity Protection. To prevent unauthorized tinkering by malicious apps,
To temporarily configure your Mac to work around this conflict:
|
I tried all the above approaches in MacOS Sierra with no effect, I still get segmentation error. |
Seconding mcevzar here. Even after everything, still getting the same segmentation fault in Mac. |
Thanks @rraallvv! This procedure works on osx sierra (10.12) (just some slight changes): Install homebrew. Install the package tcl-tk from homebrew:
Install tkimg (current version worked for me):
Add symlinks for tcl-tk:
start drakon editor with:
no need for |
I followed the steps then used: "tclsh drakon_editor.tcl" I do have a folder containing "tcllib-1.18" How do I go about installing it? Is is even the one to install? Please help |
Substituted 8.6.7 for 8.6.4 and finally got it starting! |
Just in case, https://github.com/waddella/tkimg.git works for me (see #18 (comment)) |
hello, @youleaf, can you explain some details please? Where is the folder with drakon_editor1.2* on ur mac? From which folder u executed all commands? Can u please share version of tcl-tk which u are using in present? I tried everything, disabling System Integrity Protection wasn't successful(after disabling and rebooting SIP-status is still enable), but I still hope that I've done things wrong and it's possible to run DRAKON on my mac someway. I will be so glad for ur respond! |
guys, finally it works!!! all that i needed is Tcl reinstallation after OS upgrade. |
This seems to be an issue again in Mojave 10.14.2 |
I can confirm that I get a segmentation fault when trying to open the editor in Mojave. |
Hi, was anyone successful Installing on Mojave please? Thanks in advance |
I have this working on mojave, Here's what I did: install-tcl-tk.sh
And then, for installing tkimg I ran these commands manually:
|
Thank you @larkin! a MacPorts version of these instructions would also be very useful to have here since many are moving away from Homebrew. @ylluminarious you might want to chime in on this as I'm sure you've fiddled with this before. |
@ylluminate For the most recent version of Drakon Editor, all I have to do to get it working with MacPorts is the following:
The above commands can be condensed into a one-liner (especially the |
@ylluminarious is this working without the crash from going into |
@ylluminate Yes, I can go into The only problem I am seeing with this setup is that some buttons are in Russian rather than English, such as the buttons under |
Tried doing it with MacPorts for Mojave. Getting an error that it can't find package snit on ./drakon_editor.tcl |
Did you install tcllib first?
This is the standard TCL library with many commonly used packages like snit
…On Wed, 6 Nov 2019 at 10:45, shaunweg ***@***.***> wrote:
Tried doing it with MacPorts for Mojave. Getting an error that it can't
find package snit on ./drakon_editor.tcl
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6?email_source=notifications&email_token=AAEZWDGBLZOVLP3SRMNPJNLQSMGDPA5CNFSM4B4DKW22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHSMZY#issuecomment-550446695>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEZWDC62Q63AGDBBT2HQYDQSMGDPANCNFSM4B4DKW2Q>
.
--
Michael Dillon
|
@shaunweg Yes, I'd suggest trying to install |
Well, it didn't work for me, March 2020: ~ brew install tcl-tk ~/trunk cp Img/prefix/include/ $(brew --prefix tcl-tk)/include everything seemed okay, so then I used: Catalina 10.15.3 (19D76), 3 GHz 6-Core i5, 8 GB DDR4 Sanyi |
@kalyiba: seems you skipped I run the procedure on a brand new mac (10.15.3) successfully; from your report it seems that you could have some leftovers from previous installations; try cleaning up everything (tcl bins and libs in particular) before giving another try. good luck! |
@youleaf: Thank you for prompt response. |
@kalyiba: it depends on what you did before the procedure you pasted, so I can't tell you a clean way to solve this; my suggestion is to use the find command on your filesystem, looking for files named "tcl" "tk" to see where they are installed and do a manual cleanup. This is quite dirty and time-consuming, I know, but I don't have a better suggestion. |
trying to run dragon editor on M3 Mac. Gotten everything to almost work except when I open c_demo.drn I get errors. See attached c_demo.log for capture. The icons don't show up on the left window. Fill like I am so close. Any help would be appreciated. |
I installed Active Tcl as suggested in the read me file, but in my system tclsh and sqlite3 are all over the place with several different versions. If I try to run
tclsh drakon_editor.tcl
I get a segmentation fault error.This is how to reproduce the error:
The text was updated successfully, but these errors were encountered: