Re: AquaTerm (all solved)

Erik Luijten <[email protected]> Mon, 27 Jan 2025 15:28:06 -0600
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <CAM4Pt--sNqNiO_SxVgQTJv5TcMb-9i7-kym1N1LwfZ2nUzhrqw@mail.gmail.com>
--===============7885215075248494706==
Content-Type: multipart/alternative; boundary="000000000000394c39062cb6c1e6"

--000000000000394c39062cb6c1e6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=E2=80=AFPM Erik Luijten <[email protected]=
m> 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=E2=80=AFPM Ethan A Merritt <[email protected]> =
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 Gnuplo=
t
>> > configure script. Line 10668 needs to read:
>> >
>> > CFLAGS=3D"$CFLAGS -ObjC"; LDFLAGS=3D"$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 director=
y
>> .../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 provid=
e
>> new
>> > packages on my Wiki page. Please allow a few days for me to finish thi=
s.
>> >
>> > 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
>
>

--000000000000394c39062cb6c1e6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Final note (hopefully): The x86_64 (Intel) and arm64 versi=
ons of Gnuplot 6.0.2 with and without AquaTerm can now be downloaded from=
=C2=A0<a href=3D"https://csml-wiki.northwestern.edu/index.php/Binary_versio=
ns_of_Gnuplot_for_macOS">https://csml-wiki.northwestern.edu/index.php/Binar=
y_versions_of_Gnuplot_for_macOS</a><div><br></div><div>Jun: If you have a c=
hance, can you see if these work on your MacBook?<br><br>Kind=C2=A0regards,=
<br><br>Erik</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla=
ss=3D"gmail_attr">On Sun, Jan 26, 2025 at 3:59=E2=80=AFPM Erik Luijten &lt;=
<a href=3D"mailto:[email protected]" target=3D"_blank">erik.luijten@gm=
ail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex"><div dir=3D"ltr">Hi Ethan,<div><br></div><div>The new configure scri=
pt works correctly (at least on my ARM-based Mac running masOS 15.2 Sequioa=
); thank you.=C2=A0<br><br>As for &quot;-g&quot;: As long as it&#39;s a del=
iberate choice, I have no problem with it. (I thought this flag could inter=
fere with optimization, but I realize now that this is not true; thus, the =
only difference is the size of the executable.)<br><br>Erik</div></div><br>=
<div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Ja=
n 26, 2025 at 3:03=E2=80=AFPM Ethan A Merritt &lt;<a href=3D"mailto:merritt=
@uw.edu" target=3D"_blank">[email protected]</a>&gt; wrote:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">On Sunday, 26 January 2025 08:59:4=
1 PST Erik Luijten wrote:<br>
&gt; Dear all,<br>
&gt; <br>
&gt; I apologize for the clutter on this mailing list, but to save others w=
ork,<br>
&gt; I wanted to let you know that all AquaTerm issues listed in my email f=
rom<br>
&gt; yesterday have been resolved:<br>
&gt; <br>
&gt; 1. Thanks to the MacPorts project, I figured out what patches are need=
ed to<br>
&gt; compile AquaTerm 1.1.1 on a current version of macOS.<br>
&gt; <br>
&gt; 2. Moreover, Ethan, I found out what needs to be changed in the Gnuplo=
t<br>
&gt; configure script. Line 10668 needs to read:<br>
&gt; <br>
&gt; CFLAGS=3D&quot;$CFLAGS -ObjC&quot;; LDFLAGS=3D&quot;$LDFLAGS -framewor=
k Foundation -framework<br>
&gt; AquaTerm -F/Library/Frameworks&quot;<br>
&gt; <br>
&gt; (the missing -F flag causes subsequent tests to go wrong)<br>
<br>
This is getting deep into the autoconf/packaging weeds.<br>
<br>
&lt;begin weedy section&gt;<br>
The ./configure file is not a primary source;=C2=A0 it is produced by runni=
ng various<br>
autoconf tools=C2=A0 (aclocal autoheader automake m4 ...) using the master =
template<br>
file <a href=3D"http://configure.ac" rel=3D"noreferrer" target=3D"_blank">c=
onfigure.ac</a> and the scripts in the subdirectory .../m4/<br>
If you are starting from the files in the git repository (i.e. not from a<b=
r>
packaged tarball) this is done by running the script named &quot;prepare&qu=
ot;<br>
which does all this magic and produces the ./configure script.<br>
<br>
I didn&#39;t write that prepare script and have only a superficial understa=
nding of<br>
what all it is doing.=C2=A0 I can see that there is script in the m4 direct=
ory<br>
.../m4/apple.m4 that is supposed to set the appropriate flags for building =
on a Mac.<br>
&lt;end weedy section&gt;<br>
<br>
I can tweak it, but I&#39;ll be working blind since I don&#39;t have a Mac =
to test it on.<br>
Please try the attached configure script (for 6.0.2) generated after modify=
ing<br>
apple.m4<br>
<br>
&gt; <br>
&gt; 3. I need to create an ARM package for AquaTerm and then I will provid=
e new<br>
&gt; packages on my Wiki page. Please allow a few days for me to finish thi=
s.<br>
&gt; <br>
&gt; Lastly, on a side note: I noticed that gnuplot on my machine always bu=
ilds<br>
&gt; with &quot;-g -O2&quot;; is this default on purpose? (&quot;-g&quot; s=
eems undesirable for<br>
&gt; production builds)<br>
<br>
Why undesirable?<br>
The advantage is that it allows people to provide more information in a bug=
 report.<br>
As in &quot;here&#39;s a backtrace I got for the segfault I&#39;m reporting=
&quot;.<br>
Is there a disadvantage?<br>
<br>
=C2=A0 =C2=A0 Ethan</blockquote></div>
</blockquote></div>

--000000000000394c39062cb6c1e6--


--===============7885215075248494706==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============7885215075248494706==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============7885215075248494706==--