Re: Building gnuplot 6.0.0 on Linux Mint

Peter Rockett via gnuplot-info <[email protected]> Sun, 19 May 2024 20:51:58 +0100
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
Ethan

Mint pulls all of its Qt stuff (and a load more besides) directly from 
Ubuntu. Which is why I am saying it's an Ubuntu problem, not a Mint one. 
Hence why I have filed a bug report with Ubuntu.

On lrelease. That seems to be in qt6-l10n-tools, or qtchooser, which I 
am guessing manages a symlink in /usr/bin/.

The moc stuff (as well as your earlier comment about uic?) seems to be 
provided by the qt6-base-dev-tools package.

P.


On 19/05/2024 17:47, Ethan Merritt wrote:
> On Sunday, 19 May 2024 07:58:18 PDT Peter Rockett wrote:
>> FWIW: I have filed a bug report on the Ubuntu package site about the
>> missing pkg-config files. Will post any response I get.
> I did not try to build gnuplot 6.0 under Ubuntu, but on Mint I eventually
> also ran into the problem that there is no package that contains the Qt6
> moc and lrelease tools.   At any rate I couldn't find them with "apt-file".
> The build process tries to use /usr/bin/moc and /usr/bin/lrelease but if
> those are from a  Qt5 installation then it fails with the error message:
>      This file was generated using the moc from 5.15.3.
>      It cannot be used with the include files from this version of Qt.
>
> Ethan
>
>> P.
>>
>>
>> On 18/05/2024 05:35, Ethan Merritt wrote:
>>> Since I went to the trouble of installing Linux Mint, here is a (final?) report
>>> on building gnuplot 6.0.0 for Mint 21.3 Virginia
>>>
>>> The Qt6  *.dev packages for Mint are defective; they are missing files
>>> needed to build applications against Qt6.   Please take that up with Mint.
>>> So far as I can see (but I did not actually install + build) the necessary files
>>> are present in the upstream Debian packages they are derived from.
>>> What went wrong between those two endpoints? I don't know.
>>>
>>> Qt5, however, works fine.  I was able to configure + build gnuplot with
>>>
>>> $ apt install libqt5*dev qttools5-dev-tools
>>> $ ./configure --with-qt=qt5
>>> $ make
>>>
>>> For completeness, to add the cairo terminals, wxt, and lua/tikz
>>>
>>> $ apt install libcairo-dev libpango1.0-dev
>>> $ apt install libwxgtk3.0-gtk3-dev libgl-dev
>>> $ apt install lua5.2 liblua5.2-dev
>>>
>>> The resulting executable passed the "make check" test of running
>>> the demo collection.
>>>
>>> So I think the bottom line is that gnuplot's configure script is OK,
>>> but Mint 21.3 does not provide a working devel package set for Qt6.
>>> I did not go the the trouble of installing a full TeX distribution, so
>>> I could not test the tikz terminal output or regeneration of the
>>> full documentation set.
>>>
>>>        Ethan
>>>
>>>
>
>
>


_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info