Compile fail

Stephan Witt st.witt at gmx.net
Thu Sep 1 20:03:26 UTC 2022


Am 01.09.2022 um 22:00 schrieb Stephan Witt <st.witt at gmx.net>:
> 
> Am 01.09.2022 um 19:40 schrieb Christopher Menzel <chris.menzel at gmail.com>:
>> 
>> 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.,
> 
> Hi Chris,
> 
> I’d recommend to build in a dedicated sibling directory of your LyX sources. But this is not your problem, IMO.
> 
>>  % ./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!
> 
> I see no obvious problem. But I may see it if you send me the configure.log (in PM as it may big).

Sorry, it’s name is config.log

Stephan


More information about the lyx-devel mailing list