From: Erik L. <eri...@gm...> - 2025-01-27 21:28:30
|
Final note (hopefully): The x86_64 (Intel) and arm64 versions of Gnuplot 6.0.2 with and without AquaTerm can now be downloaded from https://csml-wiki.northwestern.edu/index.php/Binary_versions_of_Gnuplot_for_macOS Jun: If you have a chance, can you see if these work on your MacBook? Kind regards, Erik On Sun, Jan 26, 2025 at 3:59 PM Erik Luijten <eri...@gm...> wrote: > Hi Ethan, > > The new configure script works correctly (at least on my ARM-based Mac > running masOS 15.2 Sequioa); thank you. > > As for "-g": As long as it's a deliberate choice, I have no problem with > it. (I thought this flag could interfere with optimization, but I realize > now that this is not true; thus, the only difference is the size of the > executable.) > > Erik > > On Sun, Jan 26, 2025 at 3:03 PM Ethan A Merritt <me...@uw...> wrote: > >> On Sunday, 26 January 2025 08:59:41 PST Erik Luijten wrote: >> > Dear all, >> > >> > I apologize for the clutter on this mailing list, but to save others >> work, >> > I wanted to let you know that all AquaTerm issues listed in my email >> from >> > yesterday have been resolved: >> > >> > 1. Thanks to the MacPorts project, I figured out what patches are >> needed to >> > compile AquaTerm 1.1.1 on a current version of macOS. >> > >> > 2. Moreover, Ethan, I found out what needs to be changed in the Gnuplot >> > configure script. Line 10668 needs to read: >> > >> > CFLAGS="$CFLAGS -ObjC"; LDFLAGS="$LDFLAGS -framework Foundation >> -framework >> > AquaTerm -F/Library/Frameworks" >> > >> > (the missing -F flag causes subsequent tests to go wrong) >> >> This is getting deep into the autoconf/packaging weeds. >> >> <begin weedy section> >> The ./configure file is not a primary source; it is produced by running >> various >> autoconf tools (aclocal autoheader automake m4 ...) using the master >> template >> file configure.ac and the scripts in the subdirectory .../m4/ >> If you are starting from the files in the git repository (i.e. not from a >> packaged tarball) this is done by running the script named "prepare" >> which does all this magic and produces the ./configure script. >> >> I didn't write that prepare script and have only a superficial >> understanding of >> what all it is doing. I can see that there is script in the m4 directory >> .../m4/apple.m4 that is supposed to set the appropriate flags for >> building on a Mac. >> <end weedy section> >> >> I can tweak it, but I'll be working blind since I don't have a Mac to >> test it on. >> Please try the attached configure script (for 6.0.2) generated after >> modifying >> apple.m4 >> >> > >> > 3. I need to create an ARM package for AquaTerm and then I will provide >> new >> > packages on my Wiki page. Please allow a few days for me to finish this. >> > >> > Lastly, on a side note: I noticed that gnuplot on my machine always >> builds >> > with "-g -O2"; is this default on purpose? ("-g" seems undesirable for >> > production builds) >> >> Why undesirable? >> The advantage is that it allows people to provide more information in a >> bug report. >> As in "here's a backtrace I got for the segfault I'm reporting". >> Is there a disadvantage? >> >> Ethan > > |