Re: [Therion] Running Xtherion on Mac OS X Catalina

2020-04-01 Thread David Eason via Therion
Thanks for the suggestion Phil (and others).

I finally fixed this, but it feels like a bit of a hack. I placed the
folder containing the bwidget-1.9.14 scripts for tcl/tk into the directory
/usr/local/Cellar/tcl-tk/8.6.10/lib/tcl8.6 as this was already on the tcl
auto_path. Wish then starts and Xtherion happily runs.

I'm not sure why, but setting auto_path in the tcl shell did not work. I
could set it once, and then run a package require BWidget command, and Wish
would start up, but then any subsequent commands would fail to find it, and
location of the scripts was not located on the auto_path. Perhaps this is
something to do with permissions? I'm not sure.

I'm running therion 5.4.4 (+543a8b1).

Regards,
David

On Wed, 1 Apr 2020 at 11:00,  wrote:

> Send Therion mailing list submissions to
> therion@speleo.sk
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mailman.speleo.sk/listinfo/therion
> or, via email, send a message with subject or body 'help' to
> therion-requ...@speleo.sk
>
> You can reach the person managing the list at
> therion-ow...@speleo.sk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
>
>
> Today's Topics:
>
>1. Re: Running Xtherion on Mac OS X Catalina (Philippe Vernant)
>2. Re: Running Xtherion on Mac OS X Catalina (Philippe Vernant)
>
>
> --
>
> Message: 1
> Date: Tue, 31 Mar 2020 18:27:03 +0200
> From: Philippe Vernant 
> To: List for Therion users 
> Cc: David Eason 
> Subject: Re: [Therion] Running Xtherion on Mac OS X Catalina
> Message-ID: 
> Content-Type: text/plain; charset="utf-8"
>
> Hi David,
>
> Did you try to reinstall Therion after updating to Catalina ? I don’t have
> Catalina, I’m sticking to High Sierra where everything is running fine so
> far.
> How do you usually install Therion on a Mac ?
>
> Best,
> Phil
>
>
> > On 30 Mar 2020, at 22:04, David Eason via Therion 
> wrote:
> >
> > Dear Therion mailing list,
> >
> > I wonder if anyone has had any success building, installing and running
> Therion on Mac OS X Catalina (OS 10.15.2)? I have successfully built and
> installed Therion 5.4.4, and Therion and Loch both run fine. Before the
> upgrade, everything worked OK, but it looks like some things have moved
> around in this version of OS X, amongst other things breaking. When I try
> to run Xtherion, Tcl/Tk can't seem to locate BWidget, and the GUI can't run:
> >
> > Error in startup script: can't find package BWidget
> > while executing
> > "package require BWidget"
> > (file "/usr/local/bin/xtherion" line 12268)
> >
> > I have tried unpacking the bwidget 1.9.14 scripts to /usr/local/lib
> thinking that tcl would check there, and then also tried to set auto_path
> to force tcl to look in there, but it won't seem to start up. There's a
> pause, and Wish seems to start up, and yet XQuartz actually opens; I have
> tcl 8.6 installed and can run the tclsh OK.
> >
> > It's been frustrating me for a while, and I saw this lockdown in the UK
> as an opportunity to have another look at this. Any pointers or tips would
> be most welcome.
> >
> > Regards,
> > David Eason
> > ___
> > Therion mailing list
> > Therion@speleo.sk
> > https://mailman.speleo.sk/listinfo/therion
>
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.speleo.sk/pipermail/therion/attachments/20200331/a32dfbeb/attachment-0001.htm
> >
>
> --
>
> Message: 2
> Date: Tue, 31 Mar 2020 23:55:51 +0200
> From: Philippe Vernant 
> To: List for Therion users 
> Cc: David Eason 
> Subject: Re: [Therion] Running Xtherion on Mac OS X Catalina
> Message-ID: <4eb89189-7d6b-412c-80d1-35cfc136c...@gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Here are my notes of the last install on High Sierra with homebrew, in
> case it can help …
>
> 1) Install homebrew
> 2) Install survex via homebrew (cf. survex site web)
> 3) brew install tcl-tk
> 4) install the mactex package
> 5) add in ~/.profile :
>export PATH=/Library/TeX/texbin:$PATH
> 6) brew install vtk
> 7) In therion/loch, change the Makefile :
>comment: #VTKLIBPATH = $(shell tclsh ./getvtkver.tcl libpath)
>add: VTKLIBPATH = /usr/local/lib/
> 8) In Therion directory
>make config-macosx
>make
>
> Phil
>
>
> > On 31 Mar 2020, at 18:27, Philippe Vernant 
> wrote:
> >
> > Hi David,
> >
> > Did you try to reinstall Therion after updating to Catalina ? I don’t
> have Catalina, I’m sticking to High Sierra where everything is running fine
> so far.
> > How do you usually install Therion on a Mac ?
> >
> > Best,
> > Phil
> >
> >
> >> On 30 Mar 2020, at 22:04, David Eason via Therion  > wrote:
> >>
> >> Dear Therion mailing list,
> >>
> >> I wonder if anyone 

Re: [Therion] Running Xtherion on Mac OS X Catalina

2020-04-01 Thread Philippe Vernant
I think the make will do, or you could replace it by make install if I’m not 
mistaking.

Phil


> On 1 Apr 2020, at 16:58, Martin Sluka via Therion  wrote:
> 
> Shouldn’t be there one more line: make install?
> 
> Martin
> 
> Odesláno z iPhonu
> 
> 31. 3. 2020 v 23:55, Philippe Vernant  >:
> 
>> Here are my notes of the last install on High Sierra with homebrew, in case 
>> it can help …
>> 
>> 1) Install homebrew 
>> 2) Install survex via homebrew (cf. survex site web)
>> 3) brew install tcl-tk
>> 4) install the mactex package
>> 5) add in ~/.profile : 
>>export PATH=/Library/TeX/texbin:$PATH
>> 6) brew install vtk
>> 7) In therion/loch, change the Makefile :
>>comment: #VTKLIBPATH = $(shell tclsh ./getvtkver.tcl libpath)
>>add: VTKLIBPATH = /usr/local/lib/
>> 8) In Therion directory 
>>make config-macosx
>>make
>> 
>> Phil
>> 
>> 
>>> On 31 Mar 2020, at 18:27, Philippe Vernant >> > wrote:
>>> 
>>> Hi David,
>>> 
>>> Did you try to reinstall Therion after updating to Catalina ? I don’t have 
>>> Catalina, I’m sticking to High Sierra where everything is running fine so 
>>> far.
>>> How do you usually install Therion on a Mac ?
>>> 
>>> Best,
>>> Phil
>>> 
>>> 
 On 30 Mar 2020, at 22:04, David Eason via Therion >>> > wrote:
 
 Dear Therion mailing list,
 
 I wonder if anyone has had any success building, installing and running 
 Therion on Mac OS X Catalina (OS 10.15.2)? I have successfully built and 
 installed Therion 5.4.4, and Therion and Loch both run fine. Before the 
 upgrade, everything worked OK, but it looks like some things have moved 
 around in this version of OS X, amongst other things breaking. When I try 
 to run Xtherion, Tcl/Tk can't seem to locate BWidget, and the GUI can't 
 run:
 
 Error in startup script: can't find package BWidget
 while executing
 "package require BWidget"
 (file "/usr/local/bin/xtherion" line 12268)
 
 I have tried unpacking the bwidget 1.9.14 scripts to /usr/local/lib 
 thinking that tcl would check there, and then also tried to set auto_path 
 to force tcl to look in there, but it won't seem to start up. There's a 
 pause, and Wish seems to start up, and yet XQuartz actually opens; I have 
 tcl 8.6 installed and can run the tclsh OK.
 
 It's been frustrating me for a while, and I saw this lockdown in the UK as 
 an opportunity to have another look at this. Any pointers or tips would be 
 most welcome.
 
 Regards,
 David Eason
 ___
 Therion mailing list
 Therion@speleo.sk 
 https://mailman.speleo.sk/listinfo/therion 
 
>>> 
>> 
>> ___
>> Therion mailing list
>> Therion@speleo.sk 
>> https://mailman.speleo.sk/listinfo/therion 
>> 
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Running Xtherion on Mac OS X Catalina

2020-04-01 Thread Martin Sluka via Therion
Shouldn’t be there one more line: make install?

Martin

Odesláno z iPhonu

31. 3. 2020 v 23:55, Philippe Vernant :

> Here are my notes of the last install on High Sierra with homebrew, in case 
> it can help …
> 
> 1) Install homebrew 
> 2) Install survex via homebrew (cf. survex site web)
> 3) brew install tcl-tk
> 4) install the mactex package
> 5) add in ~/.profile : 
>export PATH=/Library/TeX/texbin:$PATH
> 6) brew install vtk
> 7) In therion/loch, change the Makefile :
>comment: #VTKLIBPATH = $(shell tclsh ./getvtkver.tcl libpath)
>add: VTKLIBPATH = /usr/local/lib/
> 8) In Therion directory 
>make config-macosx
>make
> 
> Phil
> 
> 
>> On 31 Mar 2020, at 18:27, Philippe Vernant  wrote:
>> 
>> Hi David,
>> 
>> Did you try to reinstall Therion after updating to Catalina ? I don’t have 
>> Catalina, I’m sticking to High Sierra where everything is running fine so 
>> far.
>> How do you usually install Therion on a Mac ?
>> 
>> Best,
>> Phil
>> 
>> 
>>> On 30 Mar 2020, at 22:04, David Eason via Therion  wrote:
>>> 
>>> Dear Therion mailing list,
>>> 
>>> I wonder if anyone has had any success building, installing and running 
>>> Therion on Mac OS X Catalina (OS 10.15.2)? I have successfully built and 
>>> installed Therion 5.4.4, and Therion and Loch both run fine. Before the 
>>> upgrade, everything worked OK, but it looks like some things have moved 
>>> around in this version of OS X, amongst other things breaking. When I try 
>>> to run Xtherion, Tcl/Tk can't seem to locate BWidget, and the GUI can't run:
>>> 
>>> Error in startup script: can't find package BWidget
>>> while executing
>>> "package require BWidget"
>>> (file "/usr/local/bin/xtherion" line 12268)
>>> 
>>> I have tried unpacking the bwidget 1.9.14 scripts to /usr/local/lib 
>>> thinking that tcl would check there, and then also tried to set auto_path 
>>> to force tcl to look in there, but it won't seem to start up. There's a 
>>> pause, and Wish seems to start up, and yet XQuartz actually opens; I have 
>>> tcl 8.6 installed and can run the tclsh OK.
>>> 
>>> It's been frustrating me for a while, and I saw this lockdown in the UK as 
>>> an opportunity to have another look at this. Any pointers or tips would be 
>>> most welcome.
>>> 
>>> Regards,
>>> David Eason
>>> ___
>>> Therion mailing list
>>> Therion@speleo.sk
>>> https://mailman.speleo.sk/listinfo/therion
>> 
> 
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion