Installing LyX from (stable) source?
Richard Kimberly Heck
rikiheck at lyx.org
Sun May 2 01:06:03 UTC 2021
On 5/1/21 8:42 PM, Steve Litt wrote:
> Richard Kimberly Heck said on Sat, 1 May 2021 20:30:51 -0400
>> On 5/1/21 7:43 PM, Steve Litt wrote:
>>> Hi all,
>>> I use Void Linux and am not satisfied with their LyX package, because
>>> it apparently contains hard links to the 2020 TeXLive, which of
>>> course is giving me errors. I'd prefer to handle my LyX and TeXLive
>>> myself, without Linux distribution packages.
>>> Are there any special gotchas I should know about
>>> ./configure;make;make install that might mess me up?
>> None that I know of, though of course you'll need the dependencies.
>> The big one is Qt, and you can choose between Qt 4.x and Qt 5.x. If
>> you use the latter, you'll need the switch --enable-qt5.
> Thanks Riki!
> I ./configure --enable-qt5, and got the following errors:
> checking for Qt library name... failed
> configure: error: cannot compile a simple Qt executable. Check you have
> the right $QTDIR.
> Well, on the command line I have no $QTDIR, as proved by echo $QTDIR.
> Is there some other switch I needed to use on the ./configure line? By
> the way, I have both qt5 and qt5-devel installed.
You will need other Qt packages. It may be that those are missing. I do
not know enough about Void Linux to know whether there is some easy way
to install those. (Debian provides apt-get install build-deps or
something.) It's possible you could find out what the dependencies are
of the default package. Here on Fedora, I have:
More information about the lyx-users