Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3772 > unrolled thread
| Started by | borgauf@gmail.com |
|---|---|
| First post | 2017-10-14 09:01 -0700 |
| Last post | 2017-10-16 19:11 +0200 |
| Articles | 8 — 4 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Install issue: fatal error: QtCore: No such file or directory #include <QtCore> borgauf@gmail.com - 2017-10-14 09:01 -0700
Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Ethan A Merritt <EAMerritt@gmail.com> - 2017-10-14 12:57 -0700
Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Lawrence Bottorff <borgauf@gmail.com> - 2017-10-14 16:48 -0700
Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Ethan A Merritt <EAMerritt@gmail.com> - 2017-10-14 21:17 -0700
Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Karl Ratzsch <mail.kfr@gmx.net> - 2017-10-16 09:57 +0200
Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Lawrence Bottorff <borgauf@gmail.com> - 2017-10-16 06:11 -0700
Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Lawrence Bottorff <borgauf@gmail.com> - 2017-10-16 06:35 -0700
Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Karl Ratzsch <mail.kfr@gmx.net> - 2017-10-16 19:11 +0200
| From | borgauf@gmail.com |
|---|---|
| Date | 2017-10-14 09:01 -0700 |
| Subject | Install issue: fatal error: QtCore: No such file or directory #include <QtCore> |
| Message-ID | <db8a1aee-cc3f-4f7f-bad9-8aa90f4632f3@googlegroups.com> |
I'm trying to install from source 5.2 on Ubuntu 17.04. At first I had this:
gnuplot wxterminal/wxt_gui.o: undefined reference to symbol 'XInitThreads'
Then I followed this:
http://knanagnostopoulos.blogspot.com/2016/02/ubuntu-1510-compiling-gnuplot-50-tweaks.html
But now I have
qtterminal/qt_term.cpp:51:18: fatal error: QtCore: No such file or directory
#include <QtCore>
^
compilation terminated.
Makefile:916: recipe for target 'qtterminal/qt_term.o' failed
make[4]: *** [qtterminal/qt_term.o] Error 1
...
Any ideas what I need to do?
[toc] | [next] | [standalone]
| From | Ethan A Merritt <EAMerritt@gmail.com> |
|---|---|
| Date | 2017-10-14 12:57 -0700 |
| Subject | Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> |
| Message-ID | <ortq85$4ef$1@dont-email.me> |
| In reply to | #3772 |
borgauf@gmail.com wrote: > I'm trying to install from source 5.2 on Ubuntu 17.04. At first I had > this: > > gnuplot wxterminal/wxt_gui.o: undefined reference to symbol > 'XInitThreads' > > Then I followed this: > > http://knanagnostopoulos.blogspot.com/2016/02/ubuntu-1510-compiling-gnuplot-50-tweaks.html > > But now I have > > qtterminal/qt_term.cpp:51:18: fatal error: QtCore: No such file or > directory > #include <QtCore> > ^ > compilation terminated. > Makefile:916: recipe for target 'qtterminal/qt_term.o' failed > make[4]: *** [qtterminal/qt_term.o] Error 1 > ... > > Any ideas what I need to do? It looks that the search path for Qt libraries was not correctly configured by the autoconfigure script. You would have to look at the screen output from ./configure and perhaps the more detailed output in config.log. Failure at build time is a bit strange because normally if the configure script cannot find the appropriate libraries it disables building the qt terminal and you just get a line qt terminal: no in the output. Anyhow, probably it just comes down to not having all of the needed qt development packages installed. I don't know how Ubuntu breaks those out but on my linux box that would include lib64qt5widgets-devel lib64qt5network-devel lib64qt5core-devel lib64qt5gui-devel lib64qt5svg-devel lib64qt5printsupport-devel qttools5
[toc] | [prev] | [next] | [standalone]
| From | Lawrence Bottorff <borgauf@gmail.com> |
|---|---|
| Date | 2017-10-14 16:48 -0700 |
| Subject | Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> |
| Message-ID | <7ca83322-a5d8-4bfa-8619-ee18e001ac6a@googlegroups.com> |
| In reply to | #3773 |
I don't have lib64qt5widgets-devel lib64qt5network-devel lib64qt5core-devel lib64qt5gui-devel lib64qt5svg-devel lib64qt5printsupport-devel and Ubuntu doesn't seem to offer these. What Linux are you using?
[toc] | [prev] | [next] | [standalone]
| From | Ethan A Merritt <EAMerritt@gmail.com> |
|---|---|
| Date | 2017-10-14 21:17 -0700 |
| Subject | Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> |
| Message-ID | <orunhj$74d$1@dont-email.me> |
| In reply to | #3774 |
Lawrence Bottorff wrote: > I don't have > > lib64qt5widgets-devel > lib64qt5network-devel > lib64qt5core-devel > lib64qt5gui-devel > lib64qt5svg-devel > lib64qt5printsupport-devel > > and Ubuntu doesn't seem to offer these. What Linux are you using? I'm using Mageia. DIfferent distros split the Qt libraries out into different packages. It looks to me that Ubuntu has a top-level package qtbase5-dev that will pull in at least some of the other pieces as dependencies. Ethan
[toc] | [prev] | [next] | [standalone]
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Date | 2017-10-16 09:57 +0200 |
| Subject | Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> |
| Message-ID | <os1opu$7vq$1@solani.org> |
| In reply to | #3775 |
Am 15.10.2017 um 06:17 schrieb Ethan A Merritt: > DIfferent distros split the Qt libraries out into different packages. > It looks to me that Ubuntu has a top-level package > qtbase5-dev > that will pull in at least some of the other pieces as dependencies. Last time I tried on ubuntu, you only additionally needed libqt5svg5-dev evth. else is installed automatically with qtbase5-dev. Karl
[toc] | [prev] | [next] | [standalone]
| From | Lawrence Bottorff <borgauf@gmail.com> |
|---|---|
| Date | 2017-10-16 06:11 -0700 |
| Subject | Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> |
| Message-ID | <4d55acc5-686a-444b-94d5-6bf5252a4001@googlegroups.com> |
| In reply to | #3779 |
Thnaks. That got me a bit further along. But now I've got: /usr/bin/ld: wxterminal/wxt_gui.o: undefined reference to symbol 'XInitThreads' //usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
[toc] | [prev] | [next] | [standalone]
| From | Lawrence Bottorff <borgauf@gmail.com> |
|---|---|
| Date | 2017-10-16 06:35 -0700 |
| Subject | Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> |
| Message-ID | <0f55b5e2-38d9-4ade-bd26-abd2c7e48e80@googlegroups.com> |
| In reply to | #3781 |
Hold the phone. I just found this: http://gnuplot-beta.narkive.com/lCVNUILw/cvs-build-fails-on-ubuntu-14-04-i386 from Ethan 3 years ago, which says to try TERMLIBS="-lX11" ./configure and that did the trick.
[toc] | [prev] | [next] | [standalone]
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Date | 2017-10-16 19:11 +0200 |
| Subject | Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> |
| Message-ID | <os2p81$sfv$1@solani.org> |
| In reply to | #3782 |
Am 16.10.2017 um 15:35 schrieb Lawrence Bottorff: > Hold the phone. I just found this: > > http://gnuplot-beta.narkive.com/lCVNUILw/cvs-build-fails-on-ubuntu-14-04-i386 > > from Ethan 3 years ago, which says to try > > TERMLIBS="-lX11" ./configure > > and that did the trick. > That info you would also have found under "known issues" in the release notes. ;-) Karl
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web