>>> Fatihcan, did you do something specific in your configuration/install that 
>>> current lyx sees your octave in path?
>>> 
>> 
>> On my Mac I have both Maxima and Octave installed through Homebrew.
> 
> I can't reproduce the lag problem. I installed lyx 2.4.4 & octave from 
> homebrew on some ancient mac and what I see is:
> - lanuching 'octave' launches non-gui version (9.4.0) and it's a snap.
> - octave through homebrew work out of the box with lyx without any wrapper 
> (probably means homebrew change $PATH in system wide manner)
> 
> Fatihcan, are you sure you run the homebrew version? I don't see reason, why 
> theu "gui" variant launches on your system.
> Pavel


Hmm, my octave is the homebrew version, but my LyX is the binary downloaded 
using the links on LyX website.

2.4.4 downloaded from https://ftp.lip6.fr/pub/lyx/bin/2.4.4/
2.5.0 downloaded from https://ftp.lip6.fr/pub/lyx/devel/lyx-2.5/

I don’t know whether homebrew compiles LyX differently or just copies from the 
official website.

I uninstalled octave and all configuration files using brew and it stopped 
working. I re-installed and the lag is there. The Messages Pane says "calling: 
octave -q 2>&1” but the icon that appears in the Dock says “octave-gui”. The 
PATH Prefix in LyX Preferences is empty. 

I then deleted only the octave-gui executable. LyX Messages Pane now says

"'/opt/homebrew/Cellar/octave/9.4.0_1/libexec/octave/9.4.0/exec/aarch64-apple-darwin23.6.0/octave-gui'
octave: No such file or directory”

So my LyX seems to look specifically for octave-gui.

After removing octave-gui, in a terminal window octave-cli continues to work as 
expected. Interestingly, when I type “octave” in a terminal window it 
apparently also seeks octave-gui and fails:

"failed to exec 
'/opt/homebrew/Cellar/octave/9.4.0_1/libexec/octave/9.4.0/exec/aarch64-apple-darwin23.6.0/octave-gui’
 "

Fatihcan



-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to