|
From: hchiPer <hc...@gm...> - 2022-02-17 19:47:00
|
Thanks a lot Peter.
In a virtual machine with the same distro (but 32 bits instead of 64) I
have installed successfully (sudo apt install ...):
- libwxtgtk3.0-gtk3-dev
- libpango1.0-dev
- libreadline-dev
- libgd-dev
I compiled gnuplot (./configure ans make). And the cairo terminals were
available. I never thought I could make it! The "ampersand problem" is
solved with gnuplot 5.4.3 :)
One thing is that wxt (and qt) terminals are not available. I also often
use wxt (and sometimes qt). In ./configure summary I read this:
- wxt terminal: no (requires c++, wxWidgets>2.6, cairo>0.9, pango>1.22)
- Qt terminal: no (use --with-qt or --with_qt=qt4)
cairo and pango are not the problem since they were required for the
cairo terminals, which work fine.
For wxt, it seems I need to install c++ but I don't know exactly which
package (apt list give a lot of possibilities) and libwxgtk3.0-gtk3-dev
might be a wronk package...?
For qt, I tried ./configure --with-qt and ./configure --with-qt=qt4, but
the same warning is still there.
Anyway I am very happy (and proud) to have been able to compile gnuplot
successfully, thanks to your help.
Le 17/02/22 à 09:48, Peter Rockett a écrit :
>
> The wxgtk-3.0 and readline8 versions will probably work. They are just
> later versions and unlikely to break things.
>
> You will need to install the *-dev variants of the libraries to build
> anything. ('dev' for developer.) They provide the necessary header
> files without which you will get "header files do not exist" errors.
>
> P.
>
>
> On 17/02/2022 07:51, hchiPer wrote:
>>
>> Thanks for your reply.
>>
>> libwxgtk2.8-dev:
>> only libwxgtk3.0-gtk3-devavailable and libwxgtk3.0-gtk3-0v5already
>> installed
>>
>> libpango1.0-dev:
>> libpango1.0-devavailable and libpango-1.0-0already installed
>>
>> libreadline5-dev:
>> libreadline-dev(8.1-1) available and libreadline8already installed
>>
>> I'll try this and Tatsuro's advices on a virtual machine first (as I
>> wrote, I'm not an long time linux user and I fear to make something
>> wrong that might corrupt my system).
>>
>> Once again, thanks a lot for your help. Step by step I'm going deeper
>> in linux knowledge.
>>
>>
>>
>> Le 16/02/22 à 10:09, Peter Rockett a écrit :
>>> On 15/02/2022 22:02, hchiPer wrote:
>>>> The distro I have installed is Q4OS 4.7 (www.q4os.org). I began
>>>> using it because it was said to require few resources and to run
>>>> smoothly on rather old machines (mine is more than 10 years old).
>>>>
>>>> I installed gnuplot 5.4.2 on another computer under Win10, and the
>>>> font problem doesn't happen.
>>>>
>>>> I suspect the cause of the problem is in the cairo or pango
>>>> library, but I am not sure.
>>>>
>>>> I was indeed able to compile 5.4.3, but without the terminals I use
>>>> to use (wxt, pngcairo, pdfcairo), it is not very useful.
>>>
>>> On Debian (and derivatives) you need to install libwxgtk2.8-dev (for
>>> the wxt terminal), libpango1.0-dev (for the cairo terminals) and
>>> libreadline5-dev (readline support (editing command lines). Follow
>>> the configure/make steps below and you should have wxt and the two
>>> cairo terminals. Carefully inspect the final lines of the build
>>> output since this tells you what has and has not been included; if
>>> anything you need is missing you will need to hunt down the
>>> necessary dependency.
>>>
>>> Peter
>>>
>>>
>>>>
>>>> Thanks anyway for all your help :)
>>>>
>>>>
>>>> Le 15/02/22 à 20:47, Norwid Behrnd a écrit :
>>>>> On Tue, 15 Feb 2022 19:54:56 +0100
>>>>> hchiPer<hc...@gm...> wrote:
>>>>>
>>>>>> It seems 5.4.3 brings the solution, but I'm unable to find a .deb
>>>>>> package. And unluckily I'm not able to compile myself.
>>>>> Perhaps I missed it, but what is the Linux «based on Debian 11» you
>>>>> use? Is it one of the ubuntu family, like Xubuntu? Is it Linux
>>>>> Mint'
>>>>> /Mint/, or the LDME 4 closer to Debian than Mint's Mint? Perhaps
>>>>> something specific to your distribution contributes to the problems
>>>>> you report which might be beyond reach of Gnuplot.
>>>>>
>>>>> Curiosity aside, I just fetched Gnuplot (Version 5.4 patchlevel 3,
>>>>> last modified 2021-12-24) from sourceforge, decompressed the tar.gz
>>>>> (4.5 Mo). The INSTALL file (no file extension) describes well what
>>>>> has to be done to perform the installation, which starts by entering
>>>>> the decompressed archive from the terminal. Then run from the
>>>>> terminal `./configure`, followed by `make`, and `make check`. For
>>>>> the then following installation /per se/, you possibly need elevated
>>>>> administrator privileges, i.e., `sudo make install`. True, you have
>>>>> to request `synaptic` once to get GNU Make (e.g., GNU Make 4.3 by
>>>>> 2020) to run the make command. In my case, it overwrites synaptic's
>>>>> earlier installation of Gnuplot 5.4 patchlevel 2 from Debian's
>>>>> repositories.
>>>>>
>>>>> Caveat: The installation based on the sourceforge archive does not
>>>>> offer you access to wxterm, pngcairo, epscairo, or pdfcairo terminal.
>>>>> Yet have the postscript terminal instead to generate a .eps with the
>>>>> two-line plot title with escaped ampersand and both lines in serif
>>>>> fonts greater than usually seen (by appearance /likely/ a different
>>>>> serif font than the by Bistream Vera).
>>>>
>>>>
>>>> _______________________________________________
>>>> gnuplot-info mailing list
>>>> gnu...@li...
>>>> Membership management via:
>>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>>>
>>>
>>> _______________________________________________
>>> gnuplot-info mailing list
>>> gnu...@li...
>>> Membership management via:
>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|