Re: Font problem in 2-lines titles with cairo terminals
hchiPer <[email protected]> Fri, 18 Feb 2022 07:57:26 +0100
| Newsgroups | gmane.comp.graphics.gnuplot.user |
|---|---|
| Message-ID | <[email protected]> |
I looked at the log file. The problem was that no c++ compiler was found. I installed g++. Then I was able to build gnuplot 5.4.3 successfully with a working wxt terminal. I am very grateful to you, Peter and Norwid for having helped me. I also have learned several very useful things about compiling sources and tackling problems. Happy end, thanks. Le 17/02/22 à 22:12, Tatsuro MATSUOKA a écrit : > For wxt terminal, something may be wrong for your intall of libwxgtk for build gnuplot. > > In build directory, configure log file "config.log" exist, > open config.log, and search keyword "wx-config" and what is reported. > Please report here. > > For qt terminal, qt libraries should be installed. > Note that hey must be massive libraries. > > I recomend qt5 because qt4 is obsolate. > The below is the cygwin's build depends for qt5 library > libQt5Core-devel, libQt5Gui-devel, libQt5Svg-devel, > perhaps similar libs are required for the Debian. > > Tatsuro > > > >> ----- Original Message ----- >> >> From: "hchiPer" <[email protected]> >> To: "Peter Rockett" <[email protected]> >> Cc: "[email protected]" <[email protected]> >> Date: 2022/02/18 金 04:48 >> Subject: Re: [Gnuplot-info] Font problem in 2-lines titles with cairo terminals >> >> >> 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<[email protected]> 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 >>>>>> [email protected] >>>>>> Membership management via: >>>>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >>>>> >>>>> _______________________________________________ >>>>> gnuplot-info mailing list >>>>> [email protected] >>>>> Membership management via: >>>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> _______________________________________________ >> gnuplot-info mailing list >> [email protected] >> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> _______________________________________________ gnuplot-info mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info