You can subscribe to this list here.
2001 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(83) |
Nov
(57) |
Dec
(111) |
2004 |
Jan
(38) |
Feb
(121) |
Mar
(107) |
Apr
(241) |
May
(102) |
Jun
(190) |
Jul
(239) |
Aug
(158) |
Sep
(184) |
Oct
(193) |
Nov
(47) |
Dec
(68) |
2005 |
Jan
(190) |
Feb
(105) |
Mar
(99) |
Apr
(65) |
May
(92) |
Jun
(250) |
Jul
(197) |
Aug
(128) |
Sep
(101) |
Oct
(183) |
Nov
(186) |
Dec
(42) |
2006 |
Jan
(102) |
Feb
(122) |
Mar
(154) |
Apr
(196) |
May
(181) |
Jun
(281) |
Jul
(310) |
Aug
(198) |
Sep
(145) |
Oct
(188) |
Nov
(134) |
Dec
(90) |
2007 |
Jan
(134) |
Feb
(181) |
Mar
(157) |
Apr
(57) |
May
(81) |
Jun
(204) |
Jul
(60) |
Aug
(37) |
Sep
(17) |
Oct
(90) |
Nov
(122) |
Dec
(72) |
2008 |
Jan
(130) |
Feb
(108) |
Mar
(160) |
Apr
(38) |
May
(83) |
Jun
(42) |
Jul
(75) |
Aug
(16) |
Sep
(71) |
Oct
(57) |
Nov
(59) |
Dec
(152) |
2009 |
Jan
(73) |
Feb
(213) |
Mar
(67) |
Apr
(40) |
May
(46) |
Jun
(82) |
Jul
(73) |
Aug
(57) |
Sep
(108) |
Oct
(36) |
Nov
(153) |
Dec
(77) |
2010 |
Jan
(42) |
Feb
(171) |
Mar
(150) |
Apr
(6) |
May
(22) |
Jun
(34) |
Jul
(31) |
Aug
(38) |
Sep
(32) |
Oct
(59) |
Nov
(13) |
Dec
(62) |
2011 |
Jan
(114) |
Feb
(139) |
Mar
(126) |
Apr
(51) |
May
(53) |
Jun
(29) |
Jul
(41) |
Aug
(29) |
Sep
(35) |
Oct
(87) |
Nov
(42) |
Dec
(20) |
2012 |
Jan
(111) |
Feb
(66) |
Mar
(35) |
Apr
(59) |
May
(71) |
Jun
(32) |
Jul
(11) |
Aug
(48) |
Sep
(60) |
Oct
(87) |
Nov
(16) |
Dec
(38) |
2013 |
Jan
(5) |
Feb
(19) |
Mar
(41) |
Apr
(47) |
May
(14) |
Jun
(32) |
Jul
(18) |
Aug
(68) |
Sep
(9) |
Oct
(42) |
Nov
(12) |
Dec
(10) |
2014 |
Jan
(14) |
Feb
(139) |
Mar
(137) |
Apr
(66) |
May
(72) |
Jun
(142) |
Jul
(70) |
Aug
(31) |
Sep
(39) |
Oct
(98) |
Nov
(133) |
Dec
(44) |
2015 |
Jan
(70) |
Feb
(27) |
Mar
(36) |
Apr
(11) |
May
(15) |
Jun
(70) |
Jul
(30) |
Aug
(63) |
Sep
(18) |
Oct
(15) |
Nov
(42) |
Dec
(29) |
2016 |
Jan
(37) |
Feb
(48) |
Mar
(59) |
Apr
(28) |
May
(30) |
Jun
(43) |
Jul
(47) |
Aug
(14) |
Sep
(21) |
Oct
(26) |
Nov
(10) |
Dec
(2) |
2017 |
Jan
(26) |
Feb
(27) |
Mar
(44) |
Apr
(11) |
May
(32) |
Jun
(28) |
Jul
(75) |
Aug
(45) |
Sep
(35) |
Oct
(285) |
Nov
(99) |
Dec
(16) |
2018 |
Jan
(8) |
Feb
(8) |
Mar
(42) |
Apr
(35) |
May
(23) |
Jun
(12) |
Jul
(16) |
Aug
(11) |
Sep
(8) |
Oct
(16) |
Nov
(5) |
Dec
(8) |
2019 |
Jan
(9) |
Feb
(28) |
Mar
(4) |
Apr
(10) |
May
(7) |
Jun
(4) |
Jul
(4) |
Aug
|
Sep
(4) |
Oct
|
Nov
(23) |
Dec
(3) |
2020 |
Jan
(19) |
Feb
(3) |
Mar
(22) |
Apr
(17) |
May
(10) |
Jun
(69) |
Jul
(18) |
Aug
(23) |
Sep
(25) |
Oct
(11) |
Nov
(20) |
Dec
(9) |
2021 |
Jan
(1) |
Feb
(7) |
Mar
(9) |
Apr
|
May
(1) |
Jun
(8) |
Jul
(6) |
Aug
(8) |
Sep
(7) |
Oct
|
Nov
(2) |
Dec
(23) |
2022 |
Jan
(23) |
Feb
(9) |
Mar
(9) |
Apr
|
May
(8) |
Jun
(1) |
Jul
(6) |
Aug
(8) |
Sep
(30) |
Oct
(5) |
Nov
(4) |
Dec
(6) |
2023 |
Jan
(2) |
Feb
(5) |
Mar
(7) |
Apr
(3) |
May
(8) |
Jun
(45) |
Jul
(8) |
Aug
|
Sep
(2) |
Oct
(14) |
Nov
(7) |
Dec
(2) |
2024 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
(7) |
May
(2) |
Jun
(1) |
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
(4) |
Dec
(14) |
2025 |
Jan
(22) |
Feb
(6) |
Mar
(5) |
Apr
(14) |
May
(6) |
Jun
(11) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jun T <tak...@kb...> - 2025-01-24 01:21:21
|
> 2025/01/23 22:53、Erik Luijten <eri...@gm...>のメール: > > I will see if I can get it to work, hopefully this weekend. Thanks. I hope it works. Which version of macOS are you using (on Intel Mac)? > On a side note, you wrote "EPSF, or PDF as Apple calls it". However, EPSF = Encapsulated Postscript, which is closely related to PDF, but definitely not the same. I've been thinking it is EPSF but Apple (wrongly) calls it PDF. But I looked into the actual content of the clipboard; it seems it is indeed PDF. |
From: Erik L. <eri...@gm...> - 2025-01-23 13:53:35
|
Hi Jun, I will see if I can get it to work, hopefully this weekend. On a side note, you wrote "EPSF, or PDF as Apple calls it". However, EPSF = Encapsulated Postscript, which is closely related to PDF, but definitely not the same. In any case, I'll keep you posted on aquaterm. Erik On Wed, Jan 22, 2025 at 9:44 PM Jun T <tak...@kb...> wrote: > > > 2025/01/23 7:52, Erik Luijten <eri...@gm...> wrote: > > > > I deliberately omitted aquaterm from my compiled version, since the > project appears to be dormant (last change 2013, likewise for the mailing > list) and the wxt terminal seems to work well. If there are reasons for me > to reconsider, please let me know. > > Aauaterm works fine on macOS 13 Ventura. My Intel Mac > is rather old (2017 iMac) and can't test on the newer macOS > (14 Sonoma, 15 Sequoia). Can anyone test on these OSes? > > If aquaterm works on Sonoma/Sequoia I think it would be > useful to include it since quaterm is the only terminal that > can copy a plot into clipboard in vector format (EPSF, or > PDF as Apple calls it). > > This is quite useful if you want to copy/paste the plot > into Keynote, PowerPoint etc. (with wxt terminal we need > to save the plot in .pdf file and then include the file into > the presentation etc.). > > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
From: Jun T <tak...@kb...> - 2025-01-23 03:43:58
|
> 2025/01/23 7:52, Erik Luijten <eri...@gm...> wrote: > > I deliberately omitted aquaterm from my compiled version, since the project appears to be dormant (last change 2013, likewise for the mailing list) and the wxt terminal seems to work well. If there are reasons for me to reconsider, please let me know. Aauaterm works fine on macOS 13 Ventura. My Intel Mac is rather old (2017 iMac) and can't test on the newer macOS (14 Sonoma, 15 Sequoia). Can anyone test on these OSes? If aquaterm works on Sonoma/Sequoia I think it would be useful to include it since quaterm is the only terminal that can copy a plot into clipboard in vector format (EPSF, or PDF as Apple calls it). This is quite useful if you want to copy/paste the plot into Keynote, PowerPoint etc. (with wxt terminal we need to save the plot in .pdf file and then include the file into the presentation etc.). |
From: Erik L. <eri...@gm...> - 2025-01-22 22:52:56
|
Hi Ethan, I deliberately omitted aquaterm from my compiled version, since the project appears to be dormant (last change 2013, likewise for the mailing list) and the wxt terminal seems to work well. If there are reasons for me to reconsider, please let me know. Erik On Wed, Jan 22, 2025 at 1:52 PM Ethan A Merritt <me...@uw...> wrote: > Question: > Do your gnuplot builds include ./configure --with-aquaterm? > > I haven't heard anything from or about the AquaTerm project for a long > time. > There's an open bug report for aquaterm on the gnuplot tracker from 2017 > https://sourceforge.net/p/gnuplot/bugs/1969/ > Can you check whether that issue still needs a fix, or alternatively if > aquaterm > is essentially unsupported maybe we should just remove it? > > Ethan > > On Wed, Jan 22, 2025 at 6:46 AM Erik Luijten <eri...@gm...> > wrote: > >> Just to follow up on this: I now also compiled a version specifically for >> Intel-based Macs, see https: //csml-wiki. northwestern. edu/index. >> php/Binary_versions_of_Gnuplot_for_macOS. Problems reports, suggestions, >> etc. are always welcome! Kind regards, >> ZjQcmQRYFpfptBannerStart >> This Message Is From an Untrusted Sender >> You have not previously corresponded with this sender. >> See https://itconnect.uw.edu/email-tags for additional information. >> Please contact the UW-IT Service Center, he...@uw... 206.221.5000, for >> assistance. >> >> ZjQcmQRYFpfptBannerEnd >> Just to follow up on this: I now also compiled a version specifically for >> Intel-based Macs, see >> https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS >> <https://urldefense.com/v3/__https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8e-jVYO6$> >> . >> >> Problems reports, suggestions, etc. are always welcome! >> >> Kind regards, >> >> Erik >> >> >> On Mon, Jan 20, 2025 at 2:09 PM Erik Luijten <eri...@gm...> >> wrote: >> >>> Dear all, >>> >>> After a long hiatus, I resumed creating packages of Gnuplot for macOS. >>> To avoid problems, many libraries are statically linked. Unlike my older >>> versions, I now use the wxt terminal, so users no longer need to install >>> XQuartz. >>> >>> The webpage for my packages is: >>> https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS >>> <https://urldefense.com/v3/__https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8e-jVYO6$> >>> >>> Version 6.0.2 is available now, although only for Macs with ARM-based >>> processors. I intend to create an Intel-compatible version in the coming >>> days. >>> >>> *Feedback, problem reports, etc. are welcome!* >>> >>> *Ethan: Can you update http://gnuplot.info/download.html >>> <https://urldefense.com/v3/__http://gnuplot.info/download.html__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8fPoCs_l$> >>> in two regards?* >>> - "Various versions through current 5.4:" should be "Various versions >>> through current:" >>> -The link in csml-wiki.northwestern.edu >>> <https://urldefense.com/v3/__http://csml-wiki.northwestern.edu__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8RkM6Hgd$> >>> is now: " >>> https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS >>> <https://urldefense.com/v3/__https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8e-jVYO6$> >>> " >>> >>> Thank you! >>> >>> Erik >>> >>> _______________________________________________ >> gnuplot-beta mailing list >> gnu...@li... >> Membership management via: >> https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/gnuplot-beta__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8X60Ssop$ >> > > > -- > Ethan A Merritt > Department of Biochemistry > University of Washington, Seattle > > |
From: Ethan A M. <me...@uw...> - 2025-01-22 19:52:38
|
Question: Do your gnuplot builds include ./configure --with-aquaterm? I haven't heard anything from or about the AquaTerm project for a long time. There's an open bug report for aquaterm on the gnuplot tracker from 2017 https://sourceforge.net/p/gnuplot/bugs/1969/ Can you check whether that issue still needs a fix, or alternatively if aquaterm is essentially unsupported maybe we should just remove it? Ethan On Wed, Jan 22, 2025 at 6:46 AM Erik Luijten <eri...@gm...> wrote: > Just to follow up on this: I now also compiled a version specifically for > Intel-based Macs, see https: //csml-wiki. northwestern. edu/index. > php/Binary_versions_of_Gnuplot_for_macOS. Problems reports, suggestions, > etc. are always welcome! Kind regards, > ZjQcmQRYFpfptBannerStart > This Message Is From an Untrusted Sender > You have not previously corresponded with this sender. > See https://itconnect.uw.edu/email-tags for additional information. > Please contact the UW-IT Service Center, he...@uw... 206.221.5000, for > assistance. > > ZjQcmQRYFpfptBannerEnd > Just to follow up on this: I now also compiled a version specifically for > Intel-based Macs, see > https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS > <https://urldefense.com/v3/__https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8e-jVYO6$> > . > > Problems reports, suggestions, etc. are always welcome! > > Kind regards, > > Erik > > > On Mon, Jan 20, 2025 at 2:09 PM Erik Luijten <eri...@gm...> > wrote: > >> Dear all, >> >> After a long hiatus, I resumed creating packages of Gnuplot for macOS. To >> avoid problems, many libraries are statically linked. Unlike my older >> versions, I now use the wxt terminal, so users no longer need to install >> XQuartz. >> >> The webpage for my packages is: >> https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS >> <https://urldefense.com/v3/__https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8e-jVYO6$> >> >> Version 6.0.2 is available now, although only for Macs with ARM-based >> processors. I intend to create an Intel-compatible version in the coming >> days. >> >> *Feedback, problem reports, etc. are welcome!* >> >> *Ethan: Can you update http://gnuplot.info/download.html >> <https://urldefense.com/v3/__http://gnuplot.info/download.html__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8fPoCs_l$> >> in two regards?* >> - "Various versions through current 5.4:" should be "Various versions >> through current:" >> -The link in csml-wiki.northwestern.edu >> <https://urldefense.com/v3/__http://csml-wiki.northwestern.edu__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8RkM6Hgd$> >> is now: " >> https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS >> <https://urldefense.com/v3/__https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8e-jVYO6$> >> " >> >> Thank you! >> >> Erik >> >> _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: > https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/gnuplot-beta__;!!K-Hz7m0Vt54!jboAagG5yjlfhA44xNigxng-vTw1Xqr6pjQCB69NiEUaM35V_ubLB1WlRpzK0TTlaIaZqYDERYVD8X60Ssop$ > -- Ethan A Merritt Department of Biochemistry University of Washington, Seattle |
From: Erik L. <eri...@gm...> - 2025-01-22 14:46:00
|
Just to follow up on this: I now also compiled a version specifically for Intel-based Macs, see https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS . Problems reports, suggestions, etc. are always welcome! Kind regards, Erik On Mon, Jan 20, 2025 at 2:09 PM Erik Luijten <eri...@gm...> wrote: > Dear all, > > After a long hiatus, I resumed creating packages of Gnuplot for macOS. To > avoid problems, many libraries are statically linked. Unlike my older > versions, I now use the wxt terminal, so users no longer need to install > XQuartz. > > The webpage for my packages is: > https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS > > Version 6.0.2 is available now, although only for Macs with ARM-based > processors. I intend to create an Intel-compatible version in the coming > days. > > *Feedback, problem reports, etc. are welcome!* > > *Ethan: Can you update http://gnuplot.info/download.html > <http://gnuplot.info/download.html> in two regards?* > - "Various versions through current 5.4:" should be "Various versions > through current:" > -The link in csml-wiki.northwestern.edu is now: " > https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS > " > > Thank you! > > Erik > > |
From: Erik L. <eri...@gm...> - 2025-01-21 00:55:23
|
Thank you. I did not encounter any issues compiling for ARM (some of the libraries required me to figure out the right configuration settings, but none of that was related to gnuplot). Erik On Mon, Jan 20, 2025 at 6:35 PM Ethan A Merritt <me...@uw...> wrote: > On Monday, 20 January 2025 12:09:52 PST Erik Luijten wrote: > > Dear all, > > > > After a long hiatus, I resumed creating packages of Gnuplot for macOS. To > > avoid problems, many libraries are statically linked. Unlike my older > > versions, I now use the wxt terminal, so users no longer need to install > XQuartz. > > Good to hear. > Did you run into any compiler or source issues when compiling for the ARM > processors? > > > The webpage for my packages is: > > > https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS > > > Version 6.0.2 is available now, although only for Macs with ARM-based > > processors. I intend to create an Intel-compatible version in the coming > days. > > > > *Feedback, problem reports, etc. are welcome!* > > > > *Ethan: Can you update gnuplot.info/download.html ? > > Sure ... done. > > -- > Ethan A Merritt > > > > |
From: Ethan A M. <me...@uw...> - 2025-01-21 00:36:05
|
On Monday, 20 January 2025 12:09:52 PST Erik Luijten wrote: > Dear all, > > After a long hiatus, I resumed creating packages of Gnuplot for macOS. To > avoid problems, many libraries are statically linked. Unlike my older > versions, I now use the wxt terminal, so users no longer need to install XQuartz. Good to hear. Did you run into any compiler or source issues when compiling for the ARM processors? > The webpage for my packages is: > https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS > Version 6.0.2 is available now, although only for Macs with ARM-based > processors. I intend to create an Intel-compatible version in the coming days. > > *Feedback, problem reports, etc. are welcome!* > > *Ethan: Can you update gnuplot.info/download.html ? Sure ... done. -- Ethan A Merritt |
From: Erik L. <eri...@gm...> - 2025-01-20 20:10:11
|
Dear all, After a long hiatus, I resumed creating packages of Gnuplot for macOS. To avoid problems, many libraries are statically linked. Unlike my older versions, I now use the wxt terminal, so users no longer need to install XQuartz. The webpage for my packages is: https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS Version 6.0.2 is available now, although only for Macs with ARM-based processors. I intend to create an Intel-compatible version in the coming days. *Feedback, problem reports, etc. are welcome!* *Ethan: Can you update http://gnuplot.info/download.html <http://gnuplot.info/download.html> in two regards?* - "Various versions through current 5.4:" should be "Various versions through current:" -The link in csml-wiki.northwestern.edu is now: " https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS " Thank you! Erik |
From: Ozan K. <oza...@gm...> - 2025-01-12 13:18:29
|
Thanks! Ozan ======================= Ozan Kahramanoğulları, PhD ozan-k.com ======================= On Sun, 12 Jan 2025 at 00:13, Ethan A Merritt <me...@uw...> wrote: > On Saturday, 11 January 2025 06:53:04 PST Ozan Kahramanogullari wrote: > > Thanks, Ethan, > > > > Unfortunately, it still doesn't work with a different error message. (See > > below.) > > > > It is not finding the qtcore. I have no idea what it is. I googled to > find < > > > https://urldefense.com/v3/__https://sourceforge.net/p/gnuplot/bugs/2591/__;!!K-Hz7m0Vt54!l9Pa6uxZHOlPbIvk4yIAEbfgXEe10dBaa3Ylb08WNEe7b1gIgrZ2aS6EVJ4d5LniMqdedb0Wgq7B1Bw$ > > but the pointers there do not > > provide a simple solution. Before messing up my system by installing some > > libraries, I thought it was a good idea to let you know as it seems like > > something you are familiar with. > > You may find it helpful to read the INSTALL file section about building > for MacOS in the homebrew environment. The description may be useful > even if you are not using homebrew. It does mention that for some > unknown reason QtCore is not found automatically, and gives examples > of how to fix it. > > Ethan > > > > > > Best, > > Ozan > > > > make > > > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > > > Making all in config > > > > make[2]: Nothing to be done for `all'. > > > > Making all in m4 > > > > make[2]: Nothing to be done for `all'. > > > > Making all in term > > > > make[2]: Nothing to be done for `all'. > > > > Making all in src > > > > Making timestamp.h > > > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > > > Making all in wxterminal > > > > make[4]: Nothing to be done for `all'. > > > > Making all in qtterminal > > > > make[4]: Nothing to be done for `all'. > > > > depbase=`echo term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT term.o -MD -MP -MF $depbase.Tpo -c -o term.o term.c &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > In file included from term.c:1214: > > > > In file included from ./term.h:187: > > > > *../term/x11.trm:1084:6: **warning: **'fork' is deprecated: Use > posix_spawn > > or fork [-Wdeprecated-declarations]* > > > > 1084 | if (fork() == 0) { > > > > | * ^* > > > > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:604:1: > > note: *'fork' has been explicitly marked deprecated here > > > > 604 | __deprecated_msg("Use posix_spawn or fork") > > > > | *^* > > > > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: > > note: *expanded from macro '__deprecated_msg' > > > > 218 | #define __deprecated_msg(_msg) > > __attribute__((__deprecated__(_msg))) > > > > | * ^* > > > > 1 warning generated. > > > > depbase=`echo time.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT time.o -MD -MP -MF $depbase.Tpo -c -o time.o time.c &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > depbase=`echo unset.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT unset.o -MD -MP -MF $depbase.Tpo -c -o unset.o unset.c &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > depbase=`echo util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT util.o -MD -MP -MF $depbase.Tpo -c -o util.o util.c &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > depbase=`echo util3d.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT util3d.o -MD -MP -MF $depbase.Tpo -c -o util3d.o util3d.c &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > depbase=`echo version.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT version.o -MD -MP -MF $depbase.Tpo -c -o version.o version.c > &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > depbase=`echo voxelgrid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT voxelgrid.o -MD -MP -MF $depbase.Tpo -c -o voxelgrid.o > > voxelgrid.c &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > depbase=`echo vplot.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT vplot.o -MD -MP -MF $depbase.Tpo -c -o vplot.o vplot.c &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > depbase=`echo watch.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT watch.o -MD -MP -MF $depbase.Tpo -c -o watch.o watch.c &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > depbase=`echo xdg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT xdg.o -MD -MP -MF $depbase.Tpo -c -o xdg.o xdg.c &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > depbase=`echo qtterminal/qt_term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT qtterminal/qt_term.o -MD -MP -MF $depbase.Tpo -c -o > > qtterminal/qt_term.o qtterminal/qt_term.cpp &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > *qtterminal/qt_term.cpp:51:10: **fatal error: **'QtCore' file not found* > > > > 51 | #include <QtCore> > > > > | * ^~~~~~~~* > > > > 1 error generated. > > > > make[4]: *** [qtterminal/qt_term.o] Error 1 > > > > make[3]: *** [all-recursive] Error 1 > > > > make[2]: *** [all] Error 2 > > > > make[1]: *** [all-recursive] Error 1 > > > > make: *** [all] Error 2 > > > > > > > > > > ======================= > > Ozan Kahramanoğulları, PhD > > ozan-k.com > > ======================= > > > > > > On Fri, 10 Jan 2025 at 19:44, Ethan A Merritt <me...@uw...> wrote: > > > > > On Thursday, 9 January 2025 13:38:22 PST Ozan Kahramanogullari wrote: > > > > Hi, > > > > > > > > I am trying to install gnuplot following the instructions in the > INSTALL > > > > file. > > > > > > > > I could run "./prepare" and "./configure" without problems but > "make" > > > > failed with the error message below. > > > > > > > > I tried to debug the code, but it exceeded my capacity to do a quick > > > fix. I > > > > also checked online, but I could not find a solution. > > > > > > > > Can anyone help? > > > > > > > > I am using an M1 Mac, in case it is relevant. > > > > > > Yes, very relevant. > > > > > > First off, you can just ignore the warning that advises to use > > > posix_spawn() > > > instead of fork(). The real problem is "undeclared function > 'rl_getc'". > > > > > > Gnuplot supports 3 alternative methods for terminal input. > > > The choice is made at build-time as part of the ./configure step. > > > 1) The gnu readline library, selected by > > > ./configure --with-readline=gnu > > > 2) The BSD editline library, selected by > > > ./configure --with-readline=bsd > > > 3) A minimal but functional input layer that can be selected by > > > ./configure --with-readline=builtin > > > > > > If you do not specify any of these options, the configure script will > pick > > > one for you based on what it thinks it knows about the library support > > > on your system. I.e. first it will look for libreadline. If it doesn't > > > find that > > > it looks for libeditline. If it finds neither it will use the builtin > > > code. > > > > > > The problem is that MacOS provides a version of the BSD library with > > > a wrapper that makes it look like, or almost like, gnu readline. > > > I say "almost" because it does not provide 100% of the routines that > > > are present in gnu readline. I think what is happening in your case is > > > that the configure script thinks it has found the readline library on > your > > > system so it selects all the readline-appropriate calling options. > > > But what it really found was the imitation readline wrapper for > > > libeditline. > > > That is normal for a Mac if you have not separately installed the > "real" > > > readline library, and up until recently that was good enough for > gnuplot. > > > > > > Recently gnuplot's input layer was modified to use an undocumented > > > feature of the editline wrapper so that it would be possible to support > > > UTF-8 encoded terminal input. This worked great on the machines I was > > > able to test, but an M1 Mac was not among those machines. I am > guessing > > > that the wrapper provided on your machine does not provide a wrapper > > > for rl_getc(), or just as likely it does have such a routine but > fails to > > > list it > > > in the "readline.h" header file that comes with the wrapper. > > > > > > Here is the relevant chunk of code from gnuplot's file .../src/term.c: > > > > > > > #if defined(HAVE_LIBREADLINE) > > > > > > > > #define raw() rl_prep_terminal(1) > > > > #define cook() rl_deprep_terminal() > > > > #define nextchar() rl_getc(stdin) > > > > > > > > #elif defined(HAVE_LIBEDITLINE) > > > > > > > > #define raw() rl_prep_terminal(1) > > > > #define cook() rl_deprep_terminal() > > > > #define nextchar() fgetc(stdin) > > > > > > > > #elif defined(READLINE) > > > > > > > > #define raw() set_termio() > > > > #define cook() reset_termio() > > > > #define nextchar() fgetc(stdin) > > > > > > > > #endif > > > > > > So, what can you do? > > > > > > - It is possible that specifying one of the three input options > > > explicitly to ./configure > > > rather than letting it default would make it work. > > > Certainly the builtin option should work. > > > > > > - I am guessing that editing chunk of code shown above so that all > three > > > options say > > > #define nextchar() fgetc(stdin) > > > would be the correct solution for a system with > > > editline-masquerading-as-readline. > > > If you try that and it works, please let us know and we can try to > teach > > > the configure > > > script how to handle that. Do you know if there is a compile-time > symbol > > > defined > > > on your machine to indicate that it is an M1? That might be what we > would > > > have to > > > look for. > > > > > > - I am also guessing that the "real" fix is to file a bug report > against > > > the readline.h > > > header provided by Apple. But I'm not holding my breath on that one. > > > As I said, this is an undocumented option, and there may in fact be a > > > reason for that. > > > > > > Ethan > > > > > > > Best, > > > > Ozan > > > > > > > > ======================= > > > > Ozan Kahramanoğulları, PhD > > > > ozan-k.com > > > > ======================= > > > > > > > > (base) ozan@MBP-FVFGT17VQ05N gnuplot-gnuplot-main % make > > > > > > > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > > > > > > > Making all in config > > > > > > > > make[2]: Nothing to be done for `all'. > > > > > > > > Making all in m4 > > > > > > > > make[2]: Nothing to be done for `all'. > > > > > > > > Making all in term > > > > > > > > make[2]: Nothing to be done for `all'. > > > > > > > > Making all in src > > > > > > > > Making timestamp.h > > > > > > > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > > > > > > > Making all in wxterminal > > > > > > > > make[4]: Nothing to be done for `all'. > > > > > > > > Making all in qtterminal > > > > > > > > make[4]: Nothing to be done for `all'. > > > > > > > > depbase=`echo term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > > > -DBINDIR=\"/usr/local/bin\" > > > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > > > gnu...@li...\" > > > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > > -DGNUPLOT_QT=\"`echo > > > > gnuplot_qt | sed 's,x,x,'`\" > > > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > > > -I/usr/X11/include > > > > -g -O2 -MT term.o -MD -MP -MF $depbase.Tpo -c -o term.o term.c &&\ > > > > > > > > mv -f $depbase.Tpo $depbase.Po > > > > > > > > In file included from term.c:1214: > > > > > > > > In file included from ./term.h:187: > > > > > > > > *../term/x11.trm:1084:6: **warning: **'fork' is deprecated: Use > > > posix_spawn > > > > or fork [-Wdeprecated-declarations]* > > > > > > > > 1084 | if (fork() == 0) { > > > > > > > > | * ^* > > > > > > > > > > > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:604:1: > > > > note: *'fork' has been explicitly marked deprecated here > > > > > > > > 604 | __deprecated_msg("Use posix_spawn or fork") > > > > > > > > | *^* > > > > > > > > > > > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: > > > > note: *expanded from macro '__deprecated_msg' > > > > > > > > 218 | #define __deprecated_msg(_msg) > > > > __attribute__((__deprecated__(_msg))) > > > > > > > > | * ^* > > > > > > > > *term.c:1382:13: **error: **call to undeclared function 'rl_getc'; > ISO > > > C99 > > > > and later do not support implicit function declarations > > > > [-Wimplicit-function-declaration]* > > > > > > > > 1382 | nextchar = nextchar(); > > > > > > > > | * ^* > > > > > > > > *term.c:1360:22: note: *expanded from macro 'nextchar' > > > > > > > > 1360 | #define nextchar() rl_getc(stdin) > > > > > > > > | * ^* > > > > > > > > 1 warning and 1 error generated. > > > > > > > > make[4]: *** [term.o] Error 1 > > > > > > > > make[3]: *** [all-recursive] Error 1 > > > > > > > > make[2]: *** [all] Error 2 > > > > > > > > make[1]: *** [all-recursive] Error 1 > > > > > > > > make: *** [all] Error 2 > > > > > > > > > > > > > -- > > > Ethan A Merritt > > > Department of Biochemistry > > > University of Washington, Seattle > > > > > > > > > > > > > > -- > Ethan A Merritt > Department of Biochemistry > University of Washington, Seattle > > > |
From: Ethan A M. <me...@uw...> - 2025-01-11 23:13:16
|
On Saturday, 11 January 2025 06:53:04 PST Ozan Kahramanogullari wrote: > Thanks, Ethan, > > Unfortunately, it still doesn't work with a different error message. (See > below.) > > It is not finding the qtcore. I have no idea what it is. I googled to find < > https://urldefense.com/v3/__https://sourceforge.net/p/gnuplot/bugs/2591/__;!!K-Hz7m0Vt54!l9Pa6uxZHOlPbIvk4yIAEbfgXEe10dBaa3Ylb08WNEe7b1gIgrZ2aS6EVJ4d5LniMqdedb0Wgq7B1Bw$ > but the pointers there do not > provide a simple solution. Before messing up my system by installing some > libraries, I thought it was a good idea to let you know as it seems like > something you are familiar with. You may find it helpful to read the INSTALL file section about building for MacOS in the homebrew environment. The description may be useful even if you are not using homebrew. It does mention that for some unknown reason QtCore is not found automatically, and gives examples of how to fix it. Ethan > > Best, > Ozan > > make > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > Making all in config > > make[2]: Nothing to be done for `all'. > > Making all in m4 > > make[2]: Nothing to be done for `all'. > > Making all in term > > make[2]: Nothing to be done for `all'. > > Making all in src > > Making timestamp.h > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > Making all in wxterminal > > make[4]: Nothing to be done for `all'. > > Making all in qtterminal > > make[4]: Nothing to be done for `all'. > > depbase=`echo term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT term.o -MD -MP -MF $depbase.Tpo -c -o term.o term.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > In file included from term.c:1214: > > In file included from ./term.h:187: > > *../term/x11.trm:1084:6: **warning: **'fork' is deprecated: Use posix_spawn > or fork [-Wdeprecated-declarations]* > > 1084 | if (fork() == 0) { > > | * ^* > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:604:1: > note: *'fork' has been explicitly marked deprecated here > > 604 | __deprecated_msg("Use posix_spawn or fork") > > | *^* > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: > note: *expanded from macro '__deprecated_msg' > > 218 | #define __deprecated_msg(_msg) > __attribute__((__deprecated__(_msg))) > > | * ^* > > 1 warning generated. > > depbase=`echo time.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT time.o -MD -MP -MF $depbase.Tpo -c -o time.o time.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > depbase=`echo unset.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT unset.o -MD -MP -MF $depbase.Tpo -c -o unset.o unset.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > depbase=`echo util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT util.o -MD -MP -MF $depbase.Tpo -c -o util.o util.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > depbase=`echo util3d.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT util3d.o -MD -MP -MF $depbase.Tpo -c -o util3d.o util3d.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > depbase=`echo version.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT version.o -MD -MP -MF $depbase.Tpo -c -o version.o version.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > depbase=`echo voxelgrid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT voxelgrid.o -MD -MP -MF $depbase.Tpo -c -o voxelgrid.o > voxelgrid.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > depbase=`echo vplot.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT vplot.o -MD -MP -MF $depbase.Tpo -c -o vplot.o vplot.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > depbase=`echo watch.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT watch.o -MD -MP -MF $depbase.Tpo -c -o watch.o watch.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > depbase=`echo xdg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT xdg.o -MD -MP -MF $depbase.Tpo -c -o xdg.o xdg.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > depbase=`echo qtterminal/qt_term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT qtterminal/qt_term.o -MD -MP -MF $depbase.Tpo -c -o > qtterminal/qt_term.o qtterminal/qt_term.cpp &&\ > > mv -f $depbase.Tpo $depbase.Po > > *qtterminal/qt_term.cpp:51:10: **fatal error: **'QtCore' file not found* > > 51 | #include <QtCore> > > | * ^~~~~~~~* > > 1 error generated. > > make[4]: *** [qtterminal/qt_term.o] Error 1 > > make[3]: *** [all-recursive] Error 1 > > make[2]: *** [all] Error 2 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all] Error 2 > > > > > ======================= > Ozan Kahramanoğulları, PhD > ozan-k.com > ======================= > > > On Fri, 10 Jan 2025 at 19:44, Ethan A Merritt <me...@uw...> wrote: > > > On Thursday, 9 January 2025 13:38:22 PST Ozan Kahramanogullari wrote: > > > Hi, > > > > > > I am trying to install gnuplot following the instructions in the INSTALL > > > file. > > > > > > I could run "./prepare" and "./configure" without problems but "make" > > > failed with the error message below. > > > > > > I tried to debug the code, but it exceeded my capacity to do a quick > > fix. I > > > also checked online, but I could not find a solution. > > > > > > Can anyone help? > > > > > > I am using an M1 Mac, in case it is relevant. > > > > Yes, very relevant. > > > > First off, you can just ignore the warning that advises to use > > posix_spawn() > > instead of fork(). The real problem is "undeclared function 'rl_getc'". > > > > Gnuplot supports 3 alternative methods for terminal input. > > The choice is made at build-time as part of the ./configure step. > > 1) The gnu readline library, selected by > > ./configure --with-readline=gnu > > 2) The BSD editline library, selected by > > ./configure --with-readline=bsd > > 3) A minimal but functional input layer that can be selected by > > ./configure --with-readline=builtin > > > > If you do not specify any of these options, the configure script will pick > > one for you based on what it thinks it knows about the library support > > on your system. I.e. first it will look for libreadline. If it doesn't > > find that > > it looks for libeditline. If it finds neither it will use the builtin > > code. > > > > The problem is that MacOS provides a version of the BSD library with > > a wrapper that makes it look like, or almost like, gnu readline. > > I say "almost" because it does not provide 100% of the routines that > > are present in gnu readline. I think what is happening in your case is > > that the configure script thinks it has found the readline library on your > > system so it selects all the readline-appropriate calling options. > > But what it really found was the imitation readline wrapper for > > libeditline. > > That is normal for a Mac if you have not separately installed the "real" > > readline library, and up until recently that was good enough for gnuplot. > > > > Recently gnuplot's input layer was modified to use an undocumented > > feature of the editline wrapper so that it would be possible to support > > UTF-8 encoded terminal input. This worked great on the machines I was > > able to test, but an M1 Mac was not among those machines. I am guessing > > that the wrapper provided on your machine does not provide a wrapper > > for rl_getc(), or just as likely it does have such a routine but fails to > > list it > > in the "readline.h" header file that comes with the wrapper. > > > > Here is the relevant chunk of code from gnuplot's file .../src/term.c: > > > > > #if defined(HAVE_LIBREADLINE) > > > > > > #define raw() rl_prep_terminal(1) > > > #define cook() rl_deprep_terminal() > > > #define nextchar() rl_getc(stdin) > > > > > > #elif defined(HAVE_LIBEDITLINE) > > > > > > #define raw() rl_prep_terminal(1) > > > #define cook() rl_deprep_terminal() > > > #define nextchar() fgetc(stdin) > > > > > > #elif defined(READLINE) > > > > > > #define raw() set_termio() > > > #define cook() reset_termio() > > > #define nextchar() fgetc(stdin) > > > > > > #endif > > > > So, what can you do? > > > > - It is possible that specifying one of the three input options > > explicitly to ./configure > > rather than letting it default would make it work. > > Certainly the builtin option should work. > > > > - I am guessing that editing chunk of code shown above so that all three > > options say > > #define nextchar() fgetc(stdin) > > would be the correct solution for a system with > > editline-masquerading-as-readline. > > If you try that and it works, please let us know and we can try to teach > > the configure > > script how to handle that. Do you know if there is a compile-time symbol > > defined > > on your machine to indicate that it is an M1? That might be what we would > > have to > > look for. > > > > - I am also guessing that the "real" fix is to file a bug report against > > the readline.h > > header provided by Apple. But I'm not holding my breath on that one. > > As I said, this is an undocumented option, and there may in fact be a > > reason for that. > > > > Ethan > > > > > Best, > > > Ozan > > > > > > ======================= > > > Ozan Kahramanoğulları, PhD > > > ozan-k.com > > > ======================= > > > > > > (base) ozan@MBP-FVFGT17VQ05N gnuplot-gnuplot-main % make > > > > > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > > > > > Making all in config > > > > > > make[2]: Nothing to be done for `all'. > > > > > > Making all in m4 > > > > > > make[2]: Nothing to be done for `all'. > > > > > > Making all in term > > > > > > make[2]: Nothing to be done for `all'. > > > > > > Making all in src > > > > > > Making timestamp.h > > > > > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > > > > > Making all in wxterminal > > > > > > make[4]: Nothing to be done for `all'. > > > > > > Making all in qtterminal > > > > > > make[4]: Nothing to be done for `all'. > > > > > > depbase=`echo term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > > -DBINDIR=\"/usr/local/bin\" > > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > > gnu...@li...\" > > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_QT=\"`echo > > > gnuplot_qt | sed 's,x,x,'`\" > > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > > -I/usr/X11/include > > > -g -O2 -MT term.o -MD -MP -MF $depbase.Tpo -c -o term.o term.c &&\ > > > > > > mv -f $depbase.Tpo $depbase.Po > > > > > > In file included from term.c:1214: > > > > > > In file included from ./term.h:187: > > > > > > *../term/x11.trm:1084:6: **warning: **'fork' is deprecated: Use > > posix_spawn > > > or fork [-Wdeprecated-declarations]* > > > > > > 1084 | if (fork() == 0) { > > > > > > | * ^* > > > > > > > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:604:1: > > > note: *'fork' has been explicitly marked deprecated here > > > > > > 604 | __deprecated_msg("Use posix_spawn or fork") > > > > > > | *^* > > > > > > > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: > > > note: *expanded from macro '__deprecated_msg' > > > > > > 218 | #define __deprecated_msg(_msg) > > > __attribute__((__deprecated__(_msg))) > > > > > > | * ^* > > > > > > *term.c:1382:13: **error: **call to undeclared function 'rl_getc'; ISO > > C99 > > > and later do not support implicit function declarations > > > [-Wimplicit-function-declaration]* > > > > > > 1382 | nextchar = nextchar(); > > > > > > | * ^* > > > > > > *term.c:1360:22: note: *expanded from macro 'nextchar' > > > > > > 1360 | #define nextchar() rl_getc(stdin) > > > > > > | * ^* > > > > > > 1 warning and 1 error generated. > > > > > > make[4]: *** [term.o] Error 1 > > > > > > make[3]: *** [all-recursive] Error 1 > > > > > > make[2]: *** [all] Error 2 > > > > > > make[1]: *** [all-recursive] Error 1 > > > > > > make: *** [all] Error 2 > > > > > > > > > -- > > Ethan A Merritt > > Department of Biochemistry > > University of Washington, Seattle > > > > > > > -- Ethan A Merritt Department of Biochemistry University of Washington, Seattle |
From: Ozan K. <oza...@gm...> - 2025-01-11 14:53:29
|
Thanks, Ethan, Unfortunately, it still doesn't work with a different error message. (See below.) It is not finding the qtcore. I have no idea what it is. I googled to find < https://sourceforge.net/p/gnuplot/bugs/2591/> but the pointers there do not provide a simple solution. Before messing up my system by installing some libraries, I thought it was a good idea to let you know as it seems like something you are familiar with. Best, Ozan make /Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in config make[2]: Nothing to be done for `all'. Making all in m4 make[2]: Nothing to be done for `all'. Making all in term make[2]: Nothing to be done for `all'. Making all in src Making timestamp.h /Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in wxterminal make[4]: Nothing to be done for `all'. Making all in qtterminal make[4]: Nothing to be done for `all'. depbase=`echo term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT term.o -MD -MP -MF $depbase.Tpo -c -o term.o term.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from term.c:1214: In file included from ./term.h:187: *../term/x11.trm:1084:6: **warning: **'fork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations]* 1084 | if (fork() == 0) { | * ^* */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:604:1: note: *'fork' has been explicitly marked deprecated here 604 | __deprecated_msg("Use posix_spawn or fork") | *^* */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: *expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | * ^* 1 warning generated. depbase=`echo time.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT time.o -MD -MP -MF $depbase.Tpo -c -o time.o time.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo unset.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT unset.o -MD -MP -MF $depbase.Tpo -c -o unset.o unset.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT util.o -MD -MP -MF $depbase.Tpo -c -o util.o util.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo util3d.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT util3d.o -MD -MP -MF $depbase.Tpo -c -o util3d.o util3d.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo version.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT version.o -MD -MP -MF $depbase.Tpo -c -o version.o version.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo voxelgrid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT voxelgrid.o -MD -MP -MF $depbase.Tpo -c -o voxelgrid.o voxelgrid.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo vplot.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT vplot.o -MD -MP -MF $depbase.Tpo -c -o vplot.o vplot.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo watch.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT watch.o -MD -MP -MF $depbase.Tpo -c -o watch.o watch.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo xdg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT xdg.o -MD -MP -MF $depbase.Tpo -c -o xdg.o xdg.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo qtterminal/qt_term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT qtterminal/qt_term.o -MD -MP -MF $depbase.Tpo -c -o qtterminal/qt_term.o qtterminal/qt_term.cpp &&\ mv -f $depbase.Tpo $depbase.Po *qtterminal/qt_term.cpp:51:10: **fatal error: **'QtCore' file not found* 51 | #include <QtCore> | * ^~~~~~~~* 1 error generated. make[4]: *** [qtterminal/qt_term.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ======================= Ozan Kahramanoğulları, PhD ozan-k.com ======================= On Fri, 10 Jan 2025 at 19:44, Ethan A Merritt <me...@uw...> wrote: > On Thursday, 9 January 2025 13:38:22 PST Ozan Kahramanogullari wrote: > > Hi, > > > > I am trying to install gnuplot following the instructions in the INSTALL > > file. > > > > I could run "./prepare" and "./configure" without problems but "make" > > failed with the error message below. > > > > I tried to debug the code, but it exceeded my capacity to do a quick > fix. I > > also checked online, but I could not find a solution. > > > > Can anyone help? > > > > I am using an M1 Mac, in case it is relevant. > > Yes, very relevant. > > First off, you can just ignore the warning that advises to use > posix_spawn() > instead of fork(). The real problem is "undeclared function 'rl_getc'". > > Gnuplot supports 3 alternative methods for terminal input. > The choice is made at build-time as part of the ./configure step. > 1) The gnu readline library, selected by > ./configure --with-readline=gnu > 2) The BSD editline library, selected by > ./configure --with-readline=bsd > 3) A minimal but functional input layer that can be selected by > ./configure --with-readline=builtin > > If you do not specify any of these options, the configure script will pick > one for you based on what it thinks it knows about the library support > on your system. I.e. first it will look for libreadline. If it doesn't > find that > it looks for libeditline. If it finds neither it will use the builtin > code. > > The problem is that MacOS provides a version of the BSD library with > a wrapper that makes it look like, or almost like, gnu readline. > I say "almost" because it does not provide 100% of the routines that > are present in gnu readline. I think what is happening in your case is > that the configure script thinks it has found the readline library on your > system so it selects all the readline-appropriate calling options. > But what it really found was the imitation readline wrapper for > libeditline. > That is normal for a Mac if you have not separately installed the "real" > readline library, and up until recently that was good enough for gnuplot. > > Recently gnuplot's input layer was modified to use an undocumented > feature of the editline wrapper so that it would be possible to support > UTF-8 encoded terminal input. This worked great on the machines I was > able to test, but an M1 Mac was not among those machines. I am guessing > that the wrapper provided on your machine does not provide a wrapper > for rl_getc(), or just as likely it does have such a routine but fails to > list it > in the "readline.h" header file that comes with the wrapper. > > Here is the relevant chunk of code from gnuplot's file .../src/term.c: > > > #if defined(HAVE_LIBREADLINE) > > > > #define raw() rl_prep_terminal(1) > > #define cook() rl_deprep_terminal() > > #define nextchar() rl_getc(stdin) > > > > #elif defined(HAVE_LIBEDITLINE) > > > > #define raw() rl_prep_terminal(1) > > #define cook() rl_deprep_terminal() > > #define nextchar() fgetc(stdin) > > > > #elif defined(READLINE) > > > > #define raw() set_termio() > > #define cook() reset_termio() > > #define nextchar() fgetc(stdin) > > > > #endif > > So, what can you do? > > - It is possible that specifying one of the three input options > explicitly to ./configure > rather than letting it default would make it work. > Certainly the builtin option should work. > > - I am guessing that editing chunk of code shown above so that all three > options say > #define nextchar() fgetc(stdin) > would be the correct solution for a system with > editline-masquerading-as-readline. > If you try that and it works, please let us know and we can try to teach > the configure > script how to handle that. Do you know if there is a compile-time symbol > defined > on your machine to indicate that it is an M1? That might be what we would > have to > look for. > > - I am also guessing that the "real" fix is to file a bug report against > the readline.h > header provided by Apple. But I'm not holding my breath on that one. > As I said, this is an undocumented option, and there may in fact be a > reason for that. > > Ethan > > > Best, > > Ozan > > > > ======================= > > Ozan Kahramanoğulları, PhD > > ozan-k.com > > ======================= > > > > (base) ozan@MBP-FVFGT17VQ05N gnuplot-gnuplot-main % make > > > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > > > Making all in config > > > > make[2]: Nothing to be done for `all'. > > > > Making all in m4 > > > > make[2]: Nothing to be done for `all'. > > > > Making all in term > > > > make[2]: Nothing to be done for `all'. > > > > Making all in src > > > > Making timestamp.h > > > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > > > Making all in wxterminal > > > > make[4]: Nothing to be done for `all'. > > > > Making all in qtterminal > > > > make[4]: Nothing to be done for `all'. > > > > depbase=`echo term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > > gnu...@li...\" > > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_QT=\"`echo > > gnuplot_qt | sed 's,x,x,'`\" > > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" > -I/usr/X11/include > > -g -O2 -MT term.o -MD -MP -MF $depbase.Tpo -c -o term.o term.c &&\ > > > > mv -f $depbase.Tpo $depbase.Po > > > > In file included from term.c:1214: > > > > In file included from ./term.h:187: > > > > *../term/x11.trm:1084:6: **warning: **'fork' is deprecated: Use > posix_spawn > > or fork [-Wdeprecated-declarations]* > > > > 1084 | if (fork() == 0) { > > > > | * ^* > > > > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:604:1: > > note: *'fork' has been explicitly marked deprecated here > > > > 604 | __deprecated_msg("Use posix_spawn or fork") > > > > | *^* > > > > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: > > note: *expanded from macro '__deprecated_msg' > > > > 218 | #define __deprecated_msg(_msg) > > __attribute__((__deprecated__(_msg))) > > > > | * ^* > > > > *term.c:1382:13: **error: **call to undeclared function 'rl_getc'; ISO > C99 > > and later do not support implicit function declarations > > [-Wimplicit-function-declaration]* > > > > 1382 | nextchar = nextchar(); > > > > | * ^* > > > > *term.c:1360:22: note: *expanded from macro 'nextchar' > > > > 1360 | #define nextchar() rl_getc(stdin) > > > > | * ^* > > > > 1 warning and 1 error generated. > > > > make[4]: *** [term.o] Error 1 > > > > make[3]: *** [all-recursive] Error 1 > > > > make[2]: *** [all] Error 2 > > > > make[1]: *** [all-recursive] Error 1 > > > > make: *** [all] Error 2 > > > > > -- > Ethan A Merritt > Department of Biochemistry > University of Washington, Seattle > > > |
From: Ethan A M. <me...@uw...> - 2025-01-10 18:44:15
|
On Thursday, 9 January 2025 13:38:22 PST Ozan Kahramanogullari wrote: > Hi, > > I am trying to install gnuplot following the instructions in the INSTALL > file. > > I could run "./prepare" and "./configure" without problems but "make" > failed with the error message below. > > I tried to debug the code, but it exceeded my capacity to do a quick fix. I > also checked online, but I could not find a solution. > > Can anyone help? > > I am using an M1 Mac, in case it is relevant. Yes, very relevant. First off, you can just ignore the warning that advises to use posix_spawn() instead of fork(). The real problem is "undeclared function 'rl_getc'". Gnuplot supports 3 alternative methods for terminal input. The choice is made at build-time as part of the ./configure step. 1) The gnu readline library, selected by ./configure --with-readline=gnu 2) The BSD editline library, selected by ./configure --with-readline=bsd 3) A minimal but functional input layer that can be selected by ./configure --with-readline=builtin If you do not specify any of these options, the configure script will pick one for you based on what it thinks it knows about the library support on your system. I.e. first it will look for libreadline. If it doesn't find that it looks for libeditline. If it finds neither it will use the builtin code. The problem is that MacOS provides a version of the BSD library with a wrapper that makes it look like, or almost like, gnu readline. I say "almost" because it does not provide 100% of the routines that are present in gnu readline. I think what is happening in your case is that the configure script thinks it has found the readline library on your system so it selects all the readline-appropriate calling options. But what it really found was the imitation readline wrapper for libeditline. That is normal for a Mac if you have not separately installed the "real" readline library, and up until recently that was good enough for gnuplot. Recently gnuplot's input layer was modified to use an undocumented feature of the editline wrapper so that it would be possible to support UTF-8 encoded terminal input. This worked great on the machines I was able to test, but an M1 Mac was not among those machines. I am guessing that the wrapper provided on your machine does not provide a wrapper for rl_getc(), or just as likely it does have such a routine but fails to list it in the "readline.h" header file that comes with the wrapper. Here is the relevant chunk of code from gnuplot's file .../src/term.c: > #if defined(HAVE_LIBREADLINE) > > #define raw() rl_prep_terminal(1) > #define cook() rl_deprep_terminal() > #define nextchar() rl_getc(stdin) > > #elif defined(HAVE_LIBEDITLINE) > > #define raw() rl_prep_terminal(1) > #define cook() rl_deprep_terminal() > #define nextchar() fgetc(stdin) > > #elif defined(READLINE) > > #define raw() set_termio() > #define cook() reset_termio() > #define nextchar() fgetc(stdin) > > #endif So, what can you do? - It is possible that specifying one of the three input options explicitly to ./configure rather than letting it default would make it work. Certainly the builtin option should work. - I am guessing that editing chunk of code shown above so that all three options say #define nextchar() fgetc(stdin) would be the correct solution for a system with editline-masquerading-as-readline. If you try that and it works, please let us know and we can try to teach the configure script how to handle that. Do you know if there is a compile-time symbol defined on your machine to indicate that it is an M1? That might be what we would have to look for. - I am also guessing that the "real" fix is to file a bug report against the readline.h header provided by Apple. But I'm not holding my breath on that one. As I said, this is an undocumented option, and there may in fact be a reason for that. Ethan > Best, > Ozan > > ======================= > Ozan Kahramanoğulları, PhD > ozan-k.com > ======================= > > (base) ozan@MBP-FVFGT17VQ05N gnuplot-gnuplot-main % make > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > Making all in config > > make[2]: Nothing to be done for `all'. > > Making all in m4 > > make[2]: Nothing to be done for `all'. > > Making all in term > > make[2]: Nothing to be done for `all'. > > Making all in src > > Making timestamp.h > > /Library/Developer/CommandLineTools/usr/bin/make all-recursive > > Making all in wxterminal > > make[4]: Nothing to be done for `all'. > > Making all in qtterminal > > make[4]: Nothing to be done for `all'. > > depbase=`echo term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > -DBINDIR=\"/usr/local/bin\" > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" > -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" > -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" > -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" > gnu...@li...\" > -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" > -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" > -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo > gnuplot_qt | sed 's,x,x,'`\" > -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include > -g -O2 -MT term.o -MD -MP -MF $depbase.Tpo -c -o term.o term.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > In file included from term.c:1214: > > In file included from ./term.h:187: > > *../term/x11.trm:1084:6: **warning: **'fork' is deprecated: Use posix_spawn > or fork [-Wdeprecated-declarations]* > > 1084 | if (fork() == 0) { > > | * ^* > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:604:1: > note: *'fork' has been explicitly marked deprecated here > > 604 | __deprecated_msg("Use posix_spawn or fork") > > | *^* > > */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: > note: *expanded from macro '__deprecated_msg' > > 218 | #define __deprecated_msg(_msg) > __attribute__((__deprecated__(_msg))) > > | * ^* > > *term.c:1382:13: **error: **call to undeclared function 'rl_getc'; ISO C99 > and later do not support implicit function declarations > [-Wimplicit-function-declaration]* > > 1382 | nextchar = nextchar(); > > | * ^* > > *term.c:1360:22: note: *expanded from macro 'nextchar' > > 1360 | #define nextchar() rl_getc(stdin) > > | * ^* > > 1 warning and 1 error generated. > > make[4]: *** [term.o] Error 1 > > make[3]: *** [all-recursive] Error 1 > > make[2]: *** [all] Error 2 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all] Error 2 > -- Ethan A Merritt Department of Biochemistry University of Washington, Seattle |
From: Ozan K. <oza...@gm...> - 2025-01-09 21:38:45
|
Hi, I am trying to install gnuplot following the instructions in the INSTALL file. I could run "./prepare" and "./configure" without problems but "make" failed with the error message below. I tried to debug the code, but it exceeded my capacity to do a quick fix. I also checked online, but I could not find a solution. Can anyone help? I am using an M1 Mac, in case it is relevant. Best, Ozan ======================= Ozan Kahramanoğulları, PhD ozan-k.com ======================= (base) ozan@MBP-FVFGT17VQ05N gnuplot-gnuplot-main % make /Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in config make[2]: Nothing to be done for `all'. Making all in m4 make[2]: Nothing to be done for `all'. Making all in term make[2]: Nothing to be done for `all'. Making all in src Making timestamp.h /Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in wxterminal make[4]: Nothing to be done for `all'. Making all in qtterminal make[4]: Nothing to be done for `all'. depbase=`echo term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DQT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_SHARE_DIR=\"/usr/local/share/gnuplot/6.1\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/6.1/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/6.1/js\" -DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/6.1/lua\" -DCONTACT=\" gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/6.1/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DGNUPLOT_DRIVER_DIR=\"/usr/local/libexec/gnuplot/6.1\" -DGNUPLOT_QT=\"`echo gnuplot_qt | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/gnuplot/6.1/qt\" -I/usr/X11/include -g -O2 -MT term.o -MD -MP -MF $depbase.Tpo -c -o term.o term.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from term.c:1214: In file included from ./term.h:187: *../term/x11.trm:1084:6: **warning: **'fork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations]* 1084 | if (fork() == 0) { | * ^* */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:604:1: note: *'fork' has been explicitly marked deprecated here 604 | __deprecated_msg("Use posix_spawn or fork") | *^* */Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: *expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | * ^* *term.c:1382:13: **error: **call to undeclared function 'rl_getc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]* 1382 | nextchar = nextchar(); | * ^* *term.c:1360:22: note: *expanded from macro 'nextchar' 1360 | #define nextchar() rl_getc(stdin) | * ^* 1 warning and 1 error generated. make[4]: *** [term.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 |
From: Tatsuro M. <tma...@ya...> - 2024-12-23 00:15:44
|
I have uploaded windows binary packages for 6.0.2. Tatsuro > ----- Original Message ----- > > From: "Ethan A Merritt" <me...@uw...> > To: "gnuplot beta list" <gnu...@li...> > Date: 2024/12/21 土 14:37 > Subject: Release 6.0.2 > > > > A release tarball for version 6.0.2 is now available on SourceForge > https://sourceforge.net/projects/gnuplot/files/gnuplot/6.0.2/gnuplot-6.0.2.tar.gz > > Release Notes here: > Gnuplot 6.0.2 > > The release version differs from the testing version by one bug fix and a warning in the Release Notes about difficulties in rebuilding the documentation using pdflatex from TeXLive2024 (use luatex instead). > > In addition to the usual minor bug fixes, 6.0.2 contains several new features from the development version of gnuplot that didn't quite make it into the initial version 6 release. See the release notes for more detail. > > Notably, gnuplot 6.0.2 now handles UTF-8 characters in terminal input when linked against the BSD editline library. UTF-8 input has always worked with configuration options readline=gnu or readline=builtin; now it also works for > ./configure --with-readline=bsd > > happy gnuplotting > Ethan > > > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
From: Ethan A M. <me...@uw...> - 2024-12-21 05:36:56
|
A release tarball for version 6.0.2 is now available on SourceForge https://sourceforge.net/projects/gnuplot/files/gnuplot/6.0.2/gnuplot-6.0.2.tar.gz Release Notes here: Gnuplot 6.0.2 <https://gnuplot.sourceforge.net/ReleaseNotes_6_0_2.html> The release version differs from the testing version by one bug fix and a warning in the Release Notes about difficulties in rebuilding the documentation using pdflatex from TeXLive2024 (use luatex instead). In addition to the usual minor bug fixes, 6.0.2 contains several new features from the development version of gnuplot that didn't quite make it into the initial version 6 release. See the release notes for more detail. Notably, gnuplot 6.0.2 now handles UTF-8 characters in terminal input when linked against the BSD editline library. UTF-8 input has always worked with configuration options readline=gnu or readline=builtin; now it also works for ./configure --with-readline=bsd happy gnuplotting Ethan |
From: Jun. T <tak...@kb...> - 2024-12-17 15:57:43
|
Although I can build gnuplot.pdf either by TeXLive2023/pdflatex or by TeXLive2024/lualatex, both method give the pdf with minor problems: at around page 79 (or 78 or 80?), in the description of the Ellipses style, the text does not wrap the figure correctly. It seems "picins" is not working well (there may be a few more figures that have similar problems). Does this happens only for me? I also tried "make tikz" in docs/ directory (hoping it may give better pdf), but the build failed at the target tikz_figures, with the following error: --------------- "./plotstyles.gnu" line 1142: /usr/local/share/gnuplot/6.1/lua/gnuplot-tikz.lua:395: attempt to concatenate a nil value (local 'color') stack tracebac line 0: Missing Lua context! No script? (this message repeats endlessly) --------------- The error occurs at the "splot" in the "Fence plot" in plotstyles.gnu, but I don't know how to fix it. |
From: Ethan A M. <me...@uw...> - 2024-12-09 20:33:16
|
On Monday, 9 December 2024 00:13:35 PST Henri Menke via gnuplot-beta wrote: > > > > With the newest TeXLive (20240312 on Cygwin) gnuplot documentation > > can no > > longer be created since > > > > \usepackage{ucs} > > \usepackage[utf8x]{inputenc} > > > > produces errors in internal TeX packages down the line. I have not > > found an invocation that circumvents this problem yet… > > Could you please try simply replacing these two lines by > > \usepackage[utf8]{inputenc} > > The ucs package (which is what provides the utf8x definition file) is > basically unmaintained. Also since 2018 UTF-8 is the default encoding > in LaTeX, so none of these packages should be necessary anymore. > > Cheers, Henri Is there a replacement for the ucs option \SetUnicodeOption{mathletters} ? Without it the pdflatex build fails with message Error: Unicode character ∞ (U+221E) not set up for use with LaTeX and equivalent messages for bullet (U+2219), square (U+25A1), en dash (U+2212) etc. I tried adding additional commands \DeclareUnicodeCharacter{2212}{\ensuremath{\textendash}} ... and so on for each character it complained about ... That allowed pdflatex to proceed further, but it still failed in the end with fatal errors complaining about missing font maps for font grxn1000 and Warning: command \textendash invalid in math mode So I have not yet managed to rebuild the gnuplot manual using pdflatex or plain latex under TeXLive2024. I'm happy enough using luatex instead; we're already doing that for the Japanese documentation. And the distribution does include a pre-built copy of gnuplot.pdf so most users would not need to rebuild it anyhow. Ethan |
From: Henri M. <he...@he...> - 2024-12-09 08:31:14
|
On Sat, 2024-12-07 at 16:26 +0100, ASSI wrote: > Ethan A Merritt writes: > > I have placed a test package for release 6.0.2 in the "testing" > > folder on SourceForge > > https://sourceforge.net/projects/gnuplot/files/gnuplot/testing/ > > > > The bug tracker has been pretty quiet lately so I hope most of the > > issues in the 6.0 > > releases have been reported and now are fixed in 6.0.2. > > > > Please report any build problems or other issues you find with the > > test package. > > If no problems arise I plan to use the same source files for a > > release announcement > > in a couple of weeks. > > With the newest TeXLive (20240312 on Cygwin) gnuplot documentation > can no > longer be created since > > \usepackage{ucs} > \usepackage[utf8x]{inputenc} > > produces errors in internal TeX packages down the line. I have not > found an invocation that circumvents this problem yet… Could you please try simply replacing these two lines by \usepackage[utf8]{inputenc} The ucs package (which is what provides the utf8x definition file) is basically unmaintained. Also since 2018 UTF-8 is the default encoding in LaTeX, so none of these packages should be necessary anymore. Cheers, Henri > > > Regards, > Achim. |
From: ASSI <Str...@ne...> - 2024-12-08 20:29:10
|
ASSI writes: >> Simplest work-around is to replace >> PDFLATEX = pdflatex >> with >> PDFLATEX=luatex >> in the .../docs/Makefile >> >> or do the same in the environment as part of the configuration process. > > OK, that should work, I'll report how that turns out. OK, so that should be PDFLATEX=lualatex LATEX=dvilualatex (I think), but then I get stuck with this wierd error when trying to create the PS file: --8<---------------cut here---------------start------------->8--- ' LuaTeX output 2024.12.08:2105' -> gnuplot.ps dvips: PK font [/usr/share/fonts/gnu-free/FreeSerifBold.ttf] not found; using cmr10 </usr/share/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk> dvips: Checksum mismatch in font [/usr/share/fonts/gnu-free/FreeSerifBold.ttf] dvips: PK font [/usr/share/fonts/gnu-free/FreeSerif.ttf] not found; using cmr10 </usr/share/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk> dvips: Checksum mismatch in font [/usr/share/fonts/gnu-free/FreeSerif.ttf] dvips: PK font [/usr/share/fonts/gnu-free/FreeSerif.ttf] not found; using cmr10 </usr/share/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk> dvips: Checksum mismatch in font [/usr/share/fonts/gnu-free/FreeSerif.ttf] dvips: PK font [/usr/share/fonts/gnu-free/FreeSerif.ttf] not found; using cmr10 </usr/share/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk> dvips: Checksum mismatch in font [/usr/share/fonts/gnu-free/FreeSerif.ttf] dvips: ! [scanpage] invalid char 185 from font [/usr/share/fonts/gnu-free/FreeSerif.ttf] make: *** [Makefile:1140: gnuplot.ps] Error 1 --8<---------------cut here---------------end--------------->8--- and this one for the PDF: --8<---------------cut here---------------start------------->8--- GNUPLOT_LIB=/mnt/share/cygpkgs/gnuplot/gnuplot.x86_64/src/gnuplot-6.0.2/demo ../src/gnuplot.exe /mnt/share/cygpkgs/gnuplot/gnuplot.x86_64/src/gnuplot-6.0.2/docs/plotstyles.gnu *** buffer overflow detected ***: terminated make: *** [Makefile:1065: pdf_figures] Error 127 --8<---------------cut here---------------end--------------->8--- Additionally, the parallel build is somehow broken again and I need to compile in serial mode. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ |
From: ASSI <Str...@ne...> - 2024-12-07 20:06:35
|
Ethan A Merritt writes: >> With the newest TeXLive (20240312 on Cygwin) gnuplot documentation can no >> longer be created since >> >> \usepackage{ucs} >> \usepackage[utf8x]{inputenc} >> >> produces errors in internal TeX packages down the line. I have not >> found an invocation that circumvents this problem yet… > > Yes, I found that also. I reported it upstream. > I believe the error in is the utf8x module but I haven't been able to figure > out what changed from TeXLive2023 (which does work). There was a specific ugly workaround to make some things in utf8x work ( especially in conjunction with ucs) even though development of that package has apparently ceased. > Simplest work-around is to replace > PDFLATEX = pdflatex > with > PDFLATEX=luatex > in the .../docs/Makefile > > or do the same in the environment as part of the configuration process. OK, that should work, I'll report how that turns out. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds |
From: Ethan A M. <me...@uw...> - 2024-12-07 19:35:43
|
On Saturday, 7 December 2024 07:26:48 PST ASSI wrote: > Ethan A Merritt writes: > > I have placed a test package for release 6.0.2 in the "testing" folder on SourceForge > > > > The bug tracker has been pretty quiet lately so I hope most of the issues in the 6.0 > > releases have been reported and now are fixed in 6.0.2. > >w > > Please report any build problems or other issues you find with the test package. > > If no problems arise I plan to use the same source files for a release announcement > > in a couple of weeks. > > With the newest TeXLive (20240312 on Cygwin) gnuplot documentation can no > longer be created since > > \usepackage{ucs} > \usepackage[utf8x]{inputenc} > > produces errors in internal TeX packages down the line. I have not > found an invocation that circumvents this problem yet… Yes, I found that also. I reported it upstream. I believe the error in is the utf8x module but I haven't been able to figure out what changed from TeXLive2023 (which does work). Simplest work-around is to replace PDFLATEX = pdflatex with PDFLATEX=luatex in the .../docs/Makefile or do the same in the environment as part of the configuration process. bash$ PDFLATEX=luatex ./configure Ethan > > Regards, > Achim. > -- Ethan A Merritt Department of Biochemistry University of Washington, Seattle |
From: ASSI <Str...@ne...> - 2024-12-07 15:27:07
|
Ethan A Merritt writes: > I have placed a test package for release 6.0.2 in the "testing" folder on SourceForge > https://sourceforge.net/projects/gnuplot/files/gnuplot/testing/ > > The bug tracker has been pretty quiet lately so I hope most of the issues in the 6.0 > releases have been reported and now are fixed in 6.0.2. > > Please report any build problems or other issues you find with the test package. > If no problems arise I plan to use the same source files for a release announcement > in a couple of weeks. With the newest TeXLive (20240312 on Cygwin) gnuplot documentation can no longer be created since \usepackage{ucs} \usepackage[utf8x]{inputenc} produces errors in internal TeX packages down the line. I have not found an invocation that circumvents this problem yet… Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ |
From: Ethan A M. <me...@uw...> - 2024-12-07 01:24:21
|
I have placed a test package for release 6.0.2 in the "testing" folder on SourceForge https://sourceforge.net/projects/gnuplot/files/gnuplot/testing/ The bug tracker has been pretty quiet lately so I hope most of the issues in the 6.0 releases have been reported and now are fixed in 6.0.2. Please report any build problems or other issues you find with the test package. If no problems arise I plan to use the same source files for a release announcement in a couple of weeks. Release notes appended below, or see gnuplot.sourceforge.net/ReleaseNotes_6_0_2.html - Ethan Gnuplot Version 6.0.2 Release Notes =================================== This is the second incremental release for gnuplot stable version 6.0. In addition to the usual minor bug fixes, it contains several new features from the development version of gnuplot that didn't quite make it into the initial version 6 release. NEW (backported from development version) ----------------------------------------- - plot style "with hsteps" enables a variety of new plot types For examples, see * https://gnuplot.info/demo_6.0/hsteps.html * https://gnuplot.info/demo_6.0/logic_timing.html * https://gnuplot.info/demo_6.0/rank_sequence.html - 3D plot style "with filledcurves" provides additional flexibility in creating the family of plot styles that includes waterfall plots and fence plots. See * https://gnuplot.info/demo_6.0/waterfallplot.html - Terminal input when gnuplot is linked against the BSD editline library now correctly handles UTF-8 characters. UTF-8 input has always worked for configuration options readline=gnu or readline=builtin; now it also works for ./configure --with-readline=bsd This change should in particular benefit users of Debian and MacOS binaries, which are typically linked against the editline library. - Polygons in a 3D plot ("splot ... with polygons") can use palette coloring and pm3d lighting. - General binary keyword option "blank=NaN" facilitates using binary input data for plot styles that would require blank lines in a text input data stream. See * https://gnuplot.info/demo_6.0/binary_polygon.html - "linestyle variable" is accepted as a color specifier in plot commands. The primary distinction between this as "linecolor variable" is that linestyle properties are cleared by the next "reset" command. This allows definition of a temporary color sequence affected only one plot. CHANGES ------- - Local variables are reimplemented to provide a better-defined scope and faster evaluation of function blocks. - Existing plot styles steps, histeps, fsteps, and fillsteps are reimplemented to use the new hsteps code. - Boxplot outlier position (horizontal displacement) is controlled by "set jitter". - The content of $GPVAL_LAST_MULTIPLOT is appended to the output from "save" so that loading the saved file regenerates a full multiplot rather than only the final component. FIXES ----- - reworked generation of logscale axis tic marks (Bugs 2372 2717) - Do not save extraneous commands to $GPVAL_LAST_MULTIPLOT (Bug 2714) - svg: modify gnuplot_svg.js to work in local standalone mode (Bug 2715) - wxt: release per-thread font data before entering "persist" (Bug 2693) - "set table": honor "nosurface" keyword in splot - "set table": honor "set format z" when z is printed from plot - better contouring near the edge of a z-clipped surface - handle mousing of logscale axes in inactive plot windows (Bug 2723) - "set tics scale" does not change other axis tick properties (Bug 2724) - points with variable color value NaN should not be drawn (Bug 2737) - "set term tikz nostandalone" should suppress the latex wrapper (Bug 2740) - handle unusual case of intersecting pm3d surfaces (Bug 2744) KNOWN ISSUES ------------ - Support for replot and pan/zoom mouse operations in multiplot mode is still incomplete. Expect further improvement in subsequent releases. |
From: Ethan A M. <me...@uw...> - 2024-12-02 19:59:10
|
On Monday, 2 December 2024 03:43:01 PST Jun T wrote: > When compiling wxt_gui.cpp, clang (on my Mac) gives warnings, > in function wxt_update_mousecoords_in_window(), that strongly > recommend using nsprintf() instead of sprintf(). Applied. Thanks > > While trying to silence this warning, I've found that there > is a possibility of overrun. > > The format "%10g" (equivalent to "%10.6g") may use up to 13 > characters: "-1.23456e+123". So the buffer mouse_format[] > may be overrun by the last sprintf(m, "y2=...",...). > > In the patch below I removed some extra spaces in the format > so that the string would look like (but not exactly the same > as) the one in the status bar of the active window. > > The condition 'left > 0' is added just in case "%10g" occupies > more than 13 characters (I guess this should never happen). > > > diff --git a/src/wxterminal/wxt_gui.cpp b/src/wxterminal/wxt_gui.cpp > index 2cd096f01..d5249df58 100644 > --- a/src/wxterminal/wxt_gui.cpp > +++ b/src/wxterminal/wxt_gui.cpp > @@ -129,6 +129,9 @@ extern "C" { > #ifdef HAVE_SYS_SELECT_H > # include <sys/select.h> > #endif > +#ifdef HAVE_WORKING_FORK > +# include <pango/pangocairo.h> // for pango_cairo_font_map_set_default() > +#endif > } > > /* Interactive toggle control variables > @@ -3272,29 +3275,17 @@ static void wxt_update_mousecoords_in_window(int number, int mx, int my) > if ((window = wxt_findwindowbyid(number))) { > > /* TODO: rescale mx and my using stored per-plot scale info */ > - char mouse_format[66]; > + char mouse_format[67]; // %10g may use at most 13 chars > char *m = mouse_format; > - double x, y, x2, y2; > - > - if (window->axis_mask & (1<<0)) { > - x = mouse_to_axis(mx, &window->axis_state[0]); > - sprintf(m, "x= %10g %c", x, '\0'); > - m += 17; > - } > - if (window->axis_mask & (1<<1)) { > - y = mouse_to_axis(my, &window->axis_state[1]); > - sprintf(m, "y= %10g %c", y, '\0'); > - m += 17; > - } > - if (window->axis_mask & (1<<2)) { > - x2 = mouse_to_axis(mx, &window->axis_state[2]); > - sprintf(m, "x2= %10g %c", x2, '\0'); > - m += 17; > - } > - if (window->axis_mask & (1<<3)) { > - y2 = mouse_to_axis(my, &window->axis_state[3]); > - sprintf(m, "y2= %10g %c", y2, '\0'); > - m += 15; > + int left = sizeof(mouse_format); > + const char *name[4] = { "x", "y", "x2", "y2" }; > + for (int i=0; i<4 && left > 0; ++i) { > + if (window->axis_mask & (1<<i)) { > + int n = snprintf(m, left, "%s=% -10g ", name[i], > + mouse_to_axis(mx, &window->axis_state[i])); > + m += n; > + left -= n; // left<=0 if truncated (should not happen) > + } > } > > FPRINTF((stderr,"wxt : update mouse coords in window %d\n",number)); |