Runtime error (macOS)

Christoph Schmitz chr.schmitz at web.de
Sat Aug 13 17:13:04 UTC 2022


I can't wait for your update. I am aware that I cannot use my build on another computer. But I was glad that I at least made it on the system I compiled it on. I am not experienced enough to understand everything you said ;-)

Chris


> Am 13.08.2022 um 18:55 schrieb Stephan Witt <st.witt at gmx.net>:
> 
> Am 13.08.2022 um 10:56 schrieb Christoph Schmitz <chr.schmitz at web.de <mailto:chr.schmitz at web.de>>:
>> 
>> 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?
> 
> Yes, and I’ve promised it already :( and never finished it.
> 
>> 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.
> 
> This I wouldn’t recommend. Making a separate build directory makes it easier to start over from scratch (or do a bisect :).
> 
>> ./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
> 
> The resulting app is usable for you only. It neither can be started on another CPU-arch nor can it run on a system without Homebrew+Qt6. But of course you can work with it.
> 
> I’m building Qt with frameworks myself (as universal bundles on M1) and build an LyX app with these frameworks included (on a M1 system with M1 and Intel CPU).
> 
> I’ll document this procedure the next weeks.
> 
> BR, Stephan
> 
>>> 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
>>> 
>> 
>> -- 
>> lyx-devel mailing list
>> lyx-devel at lists.lyx.org <mailto:lyx-devel at lists.lyx.org>
>> http://lists.lyx.org/mailman/listinfo/lyx-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220813/ff12fd88/attachment-0001.html>


More information about the lyx-devel mailing list