Runtime error (macOS)

Christoph Schmitz chr.schmitz at web.de
Sat Aug 13 08:56:25 UTC 2022


I deleted my local LyX repository and cloned it again from Git. Now LyX works again. I should have tried that before.

Stephan, I have seen that you are one of the co-authors of the INSTALL.MacOSX file. This file contains a lot of information for older systems. Have you ever considered to update the document to cover current machines and newer Qt and macOS versions?

That's the way it currently works for me (on macOS 13.0 Beta 5 Ventura on both platforms, AMD64 and ARM64):

- Qt6, automake, gettext, and pkgconfig are installed with Homebrew.
- LyX is cloned from Git.
- Cd into LyX folder.

./autogen.sh

./configure \
--with-version-suffix=-2.4 \
--prefix=/Users/chris/Desktop/LyX.app \
--with-x=no \
--disable-stdlib-debug \
--with-included-hunspell \
--with-libiconv-prefix=/usr \
--enable-qt6 \
--with-macos-deployment-target=12.0

make -j8 && make install-strip

Chris


> Am 13.08.2022 um 09:37 schrieb Stephan Witt <st.witt at gmx.net>:
> 
> Am 13.08.2022 um 09:26 schrieb Christoph Schmitz <chr.schmitz at web.de>:
>> 
>> Since a few days I get the following error message when starting a newly compiled version of LyX:
>> 
>> Unable to determine the system directory having searched
>> /Users/chris/Desktop/LyX.app/Contents/Resources/
>> Use the '-sysdir' command line parameter or set the environment variable
>> LYX_DIR_24x to the Lyx system directory containing the file "chkconfig.Itx'.
>> 
>> The contents of the folder ./LyX.app/Contents/Resources/ is completely different when compared with the contents of the last working version. If you manually copy the contents to the newly compiled version, the program starts up again.
>> 
>> I have the same problem on two different computers running macOS: an Intel machine and an M1 machine.
> 
> I’m using autotools to create the app and a disk image and don’t have this problem.
> 
> Are you able to bisect with git?
> 
> Stephan
> 



More information about the lyx-devel mailing list