Compile fail

Christopher Menzel chris.menzel at gmail.com
Thu Sep 1 17:40:57 UTC 2022


LyX folk:

I’ve successfully compiled LyX from sources under Linux but my attempts to do so under MacOS for my M1 Macs (since I don’t want to use Rosetta 2). I installed QT5 using homebrew and I’m using what seem to me to be the right flags for the configure script, viz.,

  % ./configure --enable-qt5 --with-version-suffix=-2.3 --with-x=no --with-qt-dir=/opt/homebrew/opt/qt5/

but I keep getting the following error:

> checking for Qt library name... failed

> configure: error: cannot compile a simple Qt executable. Check you have the right $QTDIR.

I’ve tried adding both “bin” and “lib” to the QT5 path but to no avail. I can’t afford to spend a ton of time on this but if there is something easy and obvious I’m missing that might solve the problem I’d appreciate hearing about it!

Chris Menzel

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


More information about the lyx-devel mailing list