Le 12/03/2021 à 18:17, Pavel Sanda a écrit :
On Fri, Mar 12, 2021 at 06:12:18PM +0100, Jean-Pierre Chrétien wrote:
Dear developers
I had to reinstall my Debian buster after a big mistake while using rsync.
Now here is what I get when I run the config command in the build dir:
../master/configure --with-version-suffix --with-included-hunspell
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... 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, retrying with Qt4
checking for QT_CORE... yes
Package QtCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'QtCore' found
Package QtCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'QtCore' found
checking for QT_FRONTEND... checking for X... libraries , headers
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) no
checking for Qt library name... (cached) failed
configure: error: cannot compile a simple Qt executable. Check you have the
right $QTDIR.
Looking in the log for what causes the
"checking for Qt library name... failed", I see :
configure:10708: checking for Qt library name
configure:10747: g++ -o conftest -I/usr/lib/x86_64-linux-gnu/qt5/include -I/usr
/lib/x86_64-linux-gnu/qt5/include/Qt -I/usr/lib/x86_64-linux-gnu/qt5/include/QtC
ore -I/usr/lib/x86_64-linux-gnu/qt5/include/QtGui -I/usr/lib/x86_64-linux-gnu/qt
5/include/QtWidgets -I/usr/lib/x86_64-linux-gnu/qt5/include/QtSvg -I/usr/lib/x86
_64-linux-gnu/qt5/include/QtConcurrent -I/usr/lib/x86_64-linux-gnu/qt5/include/Q
tMacExtras -L/usr/lib/x86_64-linux-gnu/qt5/lib conftest.cpp-lX11 -lQt5C
ore >&5
conftest.cpp:36:11: fatal error: qglobal.h: No such file or directory
#include
When I look at the contents of the qt5 dir, I see this :
$ ls /usr/lib/x86_64-linux-gnu/qt5/
bin libexec mkspecs plugins qml qt.conf
No include there, I must have missed some qt5 package when I reinstalled. So
in which qt5 package are the includes located ?
Sorry for the lengthy mail, and thanks for your help.
Did you run debian's
apt-get build-dep lyx
before compiling?
Here is what apt-get installs:
$ sudo apt-get build-dep lyx
[snip]
Les NOUVEAUX paquets suivants seront installés :
dh-python libboost-dev libboost-filesystem-dev libboost-filesystem1.67-dev
libboost-iostreams-dev libboost-iostreams1.67-dev libboost-regex-dev
libboost-regex1.67-dev libboost-signals-dev libboost-signals1.67-dev
libboost-signals1.67.0 libboost-system1.67-dev libboost-test-dev
libboost-test1.67-dev libboost-test1.67.0 libboost-timer1.67.0
libboost1.67-dev libenchant-dev libmagic-dev libmythes-dev libqt5svg5-dev
So the boost libs were missing. I can compile all right now, thanks a lot.
Let's continue discussion on lyx-devel this really does not belong to this
list.
Sure, sorry.
--
Jean-Pierre
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel