Am 26.06.2025 um 14:48 schrieb Pavel Sanda <[email protected]>:
> 
> On Thu, Jun 26, 2025 at 02:08:49PM +0200, [email protected] wrote:
>> 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???
>>  "
> 
> I think this is really not about lyx at the moment.
> For some reason when I install octave through homebrew, launching 'octave' on 
> commandline launches command line version for me, while octave-gui for you.
> 
> The only difference which comes to my mind is that I see that you use modern 
> aarch64 while here I see x86_64.

Meanwhile I tried it on Apple M1 CPU. My octave managed by homebrew starts in 
fact as octave-gui - even with „--no-gui“ command line switch. To get the 
command line variant of octave one has to run the octave-cli binary.

To execute the command line binary 100 times on my system I have to wait 18 
seconds. With the GUI command it takes 36 seconds.

I propose to apply Pavels patch and be done with it - if it is save on all 
platforms. (I cannot test that on Windows 🤔)

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

Reply via email to