an On Tue, May 31, 2016 at 11:11 AM, Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote: > Le 31/05/2016 à 11:06, Jean-Marc Lasgouttes a écrit : >> >> Le 31/05/2016 à 10:57, Liviu Andronic a écrit : >>>> >>>> Could we see your config.log? >>>> >>> I think it's automatically dumped here after the configure error: >>> >>> https://launchpadlibrarian.net/262531359/buildlog_ubuntu-xenial-i386.lyx_2.2.0-2~xenial~ppa3_BUILDING.txt.gz >>> >> >> I see complaints about missing Qt5Svg. Did you install the necessary >> packages? > > > This complaint is in the part that relies on pkg-config. > > Then configure tries to find Qt in the good old way, and qglobal.h cannot be > found. Is it somewhere on your disk? > I am building on Launchpad which generates a fresh, minimal Ubuntu install. So it will only detect what the various packages install on the image.
> If it is, you may need to add something > to your include path. Or we may need to use something more reasonable than > #include <qglobal.h> > #include <qstring.h> > > At least qstring.h seems very old-fashionned. > I've added libqt5svg5-dev and at least this part is now working: https://launchpadlibrarian.net/262536549/buildlog_ubuntu-xenial-amd64.lyx_2.2.0-2~xenial~ppa5_BUILDING.txt.gz checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for QT_CORE... yes checking for QT_FRONTEND... yes checking whether Qt uses the X Window system... yes checking for moc-qt5... no checking for moc... /usr/bin/moc checking for uic-qt5... no checking for uic... /usr/bin/uic checking for rcc-qt5... no checking for rcc... /usr/bin/rcc And configure ends up gracefully: Configuration Host type: x86_64-pc-linux-gnu Special build flags: build=release warnings c++11 std-regex use-aspell use-enchant use-hunspell C++ Compiler: g++ (5.3.1) C++ Compiler flags: -Wall -Wextra -std=c++11 -fPIC -O2 -Wno-deprecated-declarations C++ Compiler user flags: Linker flags: Linker user flags: Qt Frontend: Qt version: 5.5.1 Packaging: posix LyX binary dir: /usr/bin LyX files dir: /usr/share/lyx === The following minor problems have been detected by configure. === Please check the messages below before running 'make'. === (see the section 'Problems' in the INSTALL file) == The found moc compiler is for Qt moc: could not find a Qt installation of '' but the Qt library version is 5.5.1. Though I'm not sure what this last message means, and compilation itself fails. Liviu > JMarc > -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library