Mystery solved. Lyx does not use the QT5 libraries, it needs QT4 (with 
qt4-devel). If I may take the liberty of suggesting a minor
improvement to the configuration script, I would say that a message
mentioning the need of the qt4 library would be advisable.

With every best wishes, 
GM

On Tue, 19 Sep 2017 00:03:51 +0200
Guido Milanese <[email protected]> wrote:

> Dear Experts,
> I am trying to compile LyX on my xubuntu 17.04 system (for several
> reasons I do not want to install via apt-get install). I cannot make
> sense of this problem:
> 
> checking for Qt library name... failed
> configure: error: cannot compile a simple Qt executable. Check you
> have the right $QTDIR.
> 
> I tried with 
> export QTDIR=/usr/share/qt5
> 
> but to no success.
> 
> Another problem (may be related?) is 
> 
> checking for ANSI C header files... no
> 
> I have build-essential correctly installed, so I cannot understand
> what I'm missing.
> 
> Thank you!
> guido, italy
> 
> ---
> Guido Milanese, Professor of Classics, PhD HC Paris IC
> http://docenti.unicatt.it/ita/guido_fabrizio_milanese/
> http://usi.to/tz4



---
Guido Milanese, Professor of Classics, PhD HC Paris IC
http://docenti.unicatt.it/ita/guido_fabrizio_milanese/
http://usi.to/tz4

Reply via email to