On Tue, May 31, 2016 at 10:21 AM, Kornel Benko <kor...@lyx.org> wrote: > Am Dienstag, 31. Mai 2016 um 10:04:54, schrieb Liviu Andronic > <landronim...@gmail.com> >> Dear all, >> I am trying to build 2.2.0 using Qt5 on Ubuntu 16.04 but fail. I've >> added qtbase5-dev and qtdeclarative5-dev to the build deps, but for >> some reason this seems to be insufficient and configure ends up in an >> error: >> >> https://launchpadlibrarian.net/262523166/buildlog_ubuntu-xenial-amd64.lyx_2.2.0-2~xenial~ppa2_BUILDING.txt.gz >> >> checking for QT_CORE... yes >> checking for QT_FRONTEND... checking for X... libraries , headers >> checking for gethostbyname... yes >> checking for connect... yes >> checking for remove... yes >> checking for shmat... yes >> checking for IceConnectionNumber in -lICE... no >> checking for Qt library name... failed >> configure: error: cannot compile a simple Qt executable. Check you >> have the right $QTDIR. >> >> Should $QTDIR somehow be explicitly passed to configure? > > QTDIR is environment variable, but as other libs QT libs are found, you don't > neet to set it. > > But from your log, you are missing libICE. > Package libice-dev ... >
Thanks. I add the dep but I'm getting the same error: https://launchpadlibrarian.net/262531359/buildlog_ubuntu-xenial-i386.lyx_2.2.0-2~xenial~ppa3_BUILDING.txt.gz checking for QT_CORE... yes checking for QT_FRONTEND... checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for Qt library name... failed configure: error: cannot compile a simple Qt executable. Check you have the right $QTDIR. Am I missing something else? Regards, Liviu >> Regards, >> Liviu > > Kornel -- 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