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: qt5-devel-5.13.2-2.fc32.noarch qt5-qtbase-devel-5.15.2-2.fc33.x86_64 qt5-qtdeclarative-devel-5.15.2-2.fc33.x86_64 qt5-qtsvg-devel-5.15.2-2.fc33.x86_64 qt5-qttools-devel-5.15.2-2.fc33.x86_64 qt5-qtmultimedia-devel-5.15.2-2.fc33.x86_64 qt5-qtwebsockets-devel-5.15.2-2.fc33.x86_64 qt5-qtserialport-devel-5.15.2-2.fc33.x86_64 qt5-qt3d-devel-5.15.2-2.fc33.x86_64 qt5-qtxmlpatterns-devel-5.15.2-2.fc33.x86_64 qt5-qtenginio-devel-1.6.2-33.fc33.x86_64 qt5-qtconnectivity-devel-5.15.2-2.fc33.x86_64 qt5-qtcharts-devel-5.15.2-2.fc33.x86_64 qt5-qtlocation-devel-5.15.2-2.fc33.x86_64 qt5-qtwayland-devel-5.15.2-3.fc33.x86_64 qt5-qtwebchannel-devel-5.15.2-2.fc33.x86_64 qt5-qtwebkit-devel-5.212.0-0.53.alpha4.fc33.x86_64 qt5-qtscript-devel-5.15.2-2.fc33.x86_64 qt5-qtsensors-devel-5.15.2-2.fc33.x86_64 qt5-qtx11extras-devel-5.15.2-2.fc33.x86_64 Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users