Debian 12 and Lyx 2.3.7-1

Isaac Oscar Gariano isaacoscar at live.com.au
Tue Nov 7 05:32:47 UTC 2023


Dear Peter and Folsk,
Although I was able to reproduce the issue with LyX 2.3.7 (the version on the debian repos), I was unable to reproduce the issue with the current LyX 2.4 beta.
My guess is this is because LyX 2.3.7 uses Qt5 but LyX 2.4 uses Qt6.
As there's no issue with the current development version and it only seems to be happening on fluxbox, I don't think this problem is a top priority for the developers.

To use LyX 2.4, it seems you will need to compile it yourself, but I wrote a simple sh script that should do everything for and install lyx to /usr/local/bin/lyx (v 2.3.7 will still be accesable at /usr/bin/lyx):

su -c 'apt-get install libhunspell-dev libenchant-2-dev libaspell-dev bc gettext libmagic-dev make qt6-base-private-dev qt6-base-dev qt6-svg-dev g++'
wget https://lyx.mirror.garr.it/devel/lyx-2.4/lyx-2.4.0~beta5.tar.xz
tar -xvf 'lyx-2.4.0~beta5.tar.xz'
cd 'lyx-2.4.0~beta5'
mkdir build
cd build
export CXXFLAGS='-Wno-deprecated-declarations -Wno-c++20-compat -Wall -O2  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -flto=auto'
export LDFLAGS='-flto=auto'
../configure --enable-qt6 --without-included-boost --with-aspell --with-hunspell --with-enchant --enable-build-type=rel
make
make install

— Isaac Oscar Gariano​
________________________________
From: lyx-users <lyx-users-bounces at lists.lyx.org> on behalf of Peter <peter.northerly at gmail.com>
Sent: Tuesday, 7 November 2023 9:04 AM
To: lyx-users at lists.lyx.org <lyx-users at lists.lyx.org>
Subject: Re: Debian 12 and Lyx 2.3.7-1

OK, created a new Virtual Box VM, Debian 12.2.  Installed none of the desktops or WMs or display managers, just the base system.  Then installed xorg, fluxbox and lyx. Started xorg with startx and this entered fluxbox which seemed to be behaving normally.  Then started lyx from a terminal. Same thing, it doesn't manage to start, similar long scrolling list of error messages.

Then installed ICEWM into this VM, just to make sure, started it with 'startx icewm' and lyx started fine from a terminal.

So that's it for me now.  I'll try contacting the developers list.

Peter
--
lyx-users mailing list
lyx-users at lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20231107/0114e830/attachment-0001.html>


More information about the lyx-users mailing list