<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Achim,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have just encountered a different issue with 13.3.18 on a current Ubuntu system, so I thought I would mention it here in case it is useful to others.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
In my case, the installation stopped while building the X11 part of ESP-r, in esru_x.c. With a recent GCC, some old-style C declarations, for example</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
extern gnwkquery_();</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
are interpreted differently, which led to errors such as “too many arguments to function”, together with a conflicting declaration of getenv().</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I was able to get past this by compiling the C code using GNU C17 semantics, adding</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-std=gnu17</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
to the CFLAGS used by the installer.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The patch I used was:</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
sed -i '/GNU).*CFLAGS=/ s|&quot;;;| -std=gnu17 -Wno-error=implicit-int -Wno-error=implicit-function-declaration&quot;;;|' Install</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
This is a different issue from the update_notes.txt problem you describe, but the workaround might still be worth sharing.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
For completeness: I used ChatGPT to formulate the workaround.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Gian Luca</div>
<div id="Signature" class="elementToProof">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="background-color: rgb(255, 255, 255);" class="elementToProof">
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Gian Luca Brunetti</div>
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Associate Professor</div>
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Arch. PhD</div>
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Politecnico di Milano<br>
</div>
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-size: 16.3636px; background-color: rgb(255, 255, 255);" class="spanWithBackgroundColor">DAStU -
</span><span style="font-size: 16.3636px;">Dipartimento di Architettura e Studi Urbani /
</span><span style="font-size: 16.3636px; background-color: rgb(255, 255, 255);" class="spanWithBackgroundColor">Department</span><span style="font-size: 12pt; background-color: rgb(255, 255, 255);" class="spanWithBackgroundColor">&nbsp;of Architecture and Urban
 Studies</span></div>
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
via Bonardi 3, edificio 12 / building 12</div>
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
20133 Milano<br>
</div>
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
tel. (+39) 02 2399 5750<br>
</div>
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
cell. (+39) 3358040808</div>
<div style="direction: ltr; margin-right: 0px; margin-left: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
email: gianluca.brunetti@polimi.it</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> esp-r-bounces@lists.strath.ac.uk &lt;esp-r-bounces@lists.strath.ac.uk&gt; on behalf of achim.geissler &lt;achim.geissler@acatalepsy.ch&gt;<br>
<b>Sent:</b> Monday, August 3, 2026 9:08 AM<br>
<b>To:</b> esp-r@lists.strath.ac.uk &lt;esp-r@lists.strath.ac.uk&gt;<br>
<b>Subject:</b> [esp-r] Compiling on MacOS 26.5+</font>
<div>&nbsp;</div>
</div>
<div style="line-break:after-white-space">Hi all,
<div><br>
</div>
<div>after some time, I wanted to update my ESP-r version on my M2 Mac w/ MacOS 26.5 (soon .6) to the current latest, 13.3.18 from May 2025.</div>
<div><br>
</div>
<div>Compiling was possible after quite a struggle, however, there seems to be a problem with the “update_notes.txt” which is downloaded at startup to check if the most recent version is installed. As far as I could see, an (MacOS) “EOF” or similar is inserted
 prior to the 13.3.18 changes listing and this leads to an error &quot;<font face="Monaco" size="1">EMENU: EOF detected, error in input command.”</font> which itself possibly makes firing up of X broken.</div>
<div><br>
</div>
<div>Who - currently - is managing the ESP-r code? I would be interested in getting the 13.3.17 archive (my latest successful installation was 13.3.16) to make sure there is no gap in my source tree.</div>
<div><br>
</div>
<div>Also, it would be nice if somebody at ESRU could check the current “update_notes.txt” and make sure no undesired characters inadvertently made their way into it.</div>
<div><br>
</div>
<div>Thanks.</div>
<div>Best</div>
<div>Achim<br>
<div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; text-decoration:none">
<br class="x_Apple-interchange-newline">
achim.geissler@acatalepsy.ch</div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; text-decoration:none">
<br>
</div>
<br class="x_Apple-interchange-newline">
</div>
<br>
</div>
</div>
</body>
</html>