|
From: Philipp K. J. <ja...@ie...> - 2023-10-14 14:58:37
|
I now installed pango, cairo, and wxt dev libraries, and the compilation continues further, but breaks on a Qt dependency: qtterminal/qt_term.cpp:51:10: fatal error: QtCore: No such file or directory 51 | #include <QtCore> 1) Is there a way to build gnuplot w/o Qt? 2) Any hints what minimal set of Qt libs is required to build gnuplot? I looked through the various libqt5 dev packages, but most seem to be about "add-on" functionality (like XML or networking). I could not find any "core" libqt5 dev packages. Do I have the name wrong? Best, Ph. -- Philipp K. Janert www.janert.me |
|
From: Ethan A M. <me...@uw...> - 2023-10-14 17:47:56
|
On Saturday, 14 October 2023 07:58:29 PDT Philipp K. Janert via gnuplot-beta wrote: > > I now installed pango, cairo, and wxt dev > libraries, and the compilation continues > further, but breaks on a Qt dependency: > > qtterminal/qt_term.cpp:51:10: fatal error: QtCore: No such file or > directory 51 | #include <QtCore> > > 1) > Is there a way to build gnuplot w/o Qt? ./configure --without-qt > > 2) > Any hints what minimal set of Qt libs is > required to build gnuplot? I looked through > the various libqt5 dev packages, but most > seem to be about "add-on" functionality (like > XML or networking). I could not find any "core" > libqt5 dev packages. Do I have the name wrong? For my machine the required modules are Qt5Core Qt5Gui Qt5Network Qt5Svg Qt5PrintSupport which are provided by packages qtbase5-common-devel lib64qt5base5-devel lib64qt5core-devel lib64qt5gui-devel lib64qt5network-devel lib64qt5svg-devel lib64qt5printsupport-devel It also requires (for the internationalization and locale support) qttools5 Installing these will probably pull in other packages as well. Ethan |
|
From: Philipp K. J. <ja...@ie...> - 2023-10-14 23:35:23
|
On Sat, 14 Oct 2023 10:47:25 -0700 Ethan A Merritt <me...@uw...> wrote: > On Saturday, 14 October 2023 07:58:29 PDT Philipp K. Janert via > gnuplot-beta wrote: > > > > I now installed pango, cairo, and wxt dev > > libraries, and the compilation continues > > further, but breaks on a Qt dependency: > > > > qtterminal/qt_term.cpp:51:10: fatal error: QtCore: No such file or > > directory 51 | #include <QtCore> > > > > 1) > > Is there a way to build gnuplot w/o Qt? > > ./configure --without-qt Thank you! Builds now, without further problems. Excited to check it out! Regarding Qt: Is that flag actually strictly necessary? I had thought the build process would discover that there are no Qt libs installed and skip the dependency... Thanks for providing the list of required libraries - that should help avoid much trial-n-error. Unfortunately, I can't seem to find them, or equivalent, for my own system (Debian/Ubuntu/Mint based). I did not dig too deep, but I can't find any "lib64qt5..." libs, only "libqt5*", but those don't have -dev or -devel variants. Strange. Maybe I need to add a non-standard repository. (No need to research that, but I find it odd.) But mostly: Thanks again. Excited to check out gp6! ;-) Best, Ph. > > > > > 2) > > Any hints what minimal set of Qt libs is > > required to build gnuplot? I looked through > > the various libqt5 dev packages, but most > > seem to be about "add-on" functionality (like > > XML or networking). I could not find any "core" > > libqt5 dev packages. Do I have the name wrong? > > For my machine the required modules are > > Qt5Core Qt5Gui Qt5Network Qt5Svg Qt5PrintSupport > > which are provided by packages > > qtbase5-common-devel > lib64qt5base5-devel > lib64qt5core-devel > lib64qt5gui-devel > lib64qt5network-devel > lib64qt5svg-devel > lib64qt5printsupport-devel > > It also requires (for the internationalization and locale support) > qttools5 > > Installing these will probably pull in other packages as well. > > Ethan > > |
|
From: Dima K. <gn...@di...> - 2023-10-18 03:55:55
|
"Philipp K. Janert via gnuplot-beta" <gnu...@li...> writes: > Regarding Qt: > > Is that flag actually strictly necessary? I had thought the build > process would discover that there are no Qt libs installed and skip > the dependency... > > Thanks for providing the list of required libraries - that should help > avoid much trial-n-error. Unfortunately, I can't seem to find them, or > equivalent, for my own system (Debian/Ubuntu/Mint based). I did not > dig too deep, but I can't find any "lib64qt5..." libs, only "libqt5*", > but those don't have -dev or -devel variants. > > Strange. Maybe I need to add a non-standard repository. (No need to > research that, but I find it odd.) If you want to know how to build on Debian, consult the debianization. The control file: https://salsa.debian.org/science-team/gnuplot/-/blob/master/debian/control So the qt packages required to build the gnuplot package, as configured by Debian are: qtbase5-dev qtbase5-dev-tools qttools5-dev-tools libqt5svg5-dev |
|
From: Philipp K. J. <ja...@ie...> - 2023-10-18 11:40:27
|
[snip] > > If you want to know how to build on Debian, consult the debianization. > The control file: > > https://salsa.debian.org/science-team/gnuplot/-/blob/master/debian/control > > So the qt packages required to build the gnuplot package, as > configured by Debian are: > > qtbase5-dev > qtbase5-dev-tools > qttools5-dev-tools > libqt5svg5-dev Thank you, that's very helpful. Those pkgs do exist for my distro, no problem. Thanks again. Best, Ph. |
|
From: Dima K. <gn...@di...> - 2023-10-18 16:10:57
|
"Philipp K. Janert via gnuplot-beta" <gnu...@li...> writes: > Thank you, that's very helpful. Those pkgs do exist for my distro, no > problem. Let me actually say one more thing. You can ask apt to install everything needed to build a package: apt-get build-dep gnuplot When that is done, you'll be guaranteed to be able to build the gnuplot Debian package. Granted, you're trying to build a later version, from source, with a possibly-different configuration, but it should still be largely the same. |
|
From: Philipp K. J. <ja...@ie...> - 2023-10-18 17:33:02
|
[snip] > > Let me actually say one more thing. You can ask apt to install > everything needed to build a package: > > apt-get build-dep gnuplot > > When that is done, you'll be guaranteed to be able to build the > gnuplot Debian package. Granted, you're trying to build a later > version, from source, with a possibly-different configuration, but it > should still be largely the same. Hah - that's pretty clever. I would never have thought of that, but it makes total sense. Thanks! |