<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Christopher,<div class=""><br class=""></div><div class="">on 10.13 and 10.14 the following worked for me (kind of an extract from my “tips and tricks”):</div><div class=""><br class=""></div><div class=""><div style="color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); flex-basis: auto !important;" class=""><p class="p1" style="flex-basis: auto !important;">=== Check</p><p class="p1" style="flex-basis: auto !important;">/usr/include/</p><p class="p1" style="flex-basis: auto !important;">drwxr-xr-x&nbsp; &nbsp;&nbsp;4 root&nbsp;&nbsp;wheel&nbsp; &nbsp; &nbsp;&nbsp;128 Oct 31 12:37 libxml2</p><p class="p1" style="flex-basis: auto !important;">drwxr-xr-x&nbsp;&nbsp;&nbsp;23 root&nbsp;&nbsp;wheel&nbsp; &nbsp; &nbsp;&nbsp;736 Oct 31 12:37 libxslt</p><p class="p1" style="flex-basis: auto !important;">=== missing /usr/include? (OSX 10.14)</p><p class="p1" style="flex-basis: auto !important;"><span class="s1" style="flex-basis: auto !important;"><a href="https://embeddedartistry.com/blog/2018/11/14/missing-usrinclude-after-updating-to-osx-1014-try-this-fix" data-mce-href="https://embeddedartistry.com/blog/2018/11/14/missing-usrinclude-after-updating-to-osx-1014-try-this-fix" style="flex-basis: auto !important; color: rgb(0, 134, 229);" class="">https://embeddedartistry.com/blog/2018/11/14/missing-usrinclude-after-updating-to-osx-1014-try-this-fix</a></span></p><p class="p1" style="flex-basis: auto !important;">For legacy software that looks for the macOS headers in the base system under /usr/include, please install the package file located at: /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14. pkg</p><p class="p2" style="flex-basis: auto !important;">((found by searching for "OSX 10.14 /usr/include missing"))</p><p class="p3" style="flex-basis: auto !important;">=== Check</p><p class="p1" style="flex-basis: auto !important;">/usr/</p><p class="p3" style="flex-basis: auto !important;">lrwxr-xr-x&nbsp; &nbsp;&nbsp;1 root&nbsp;&nbsp;wheel&nbsp; &nbsp; &nbsp;&nbsp;8 Apr 26&nbsp;&nbsp;2018 X11 -&gt; /opt/X11</p><p class="p3" style="flex-basis: auto !important;">lrwxr-xr-x&nbsp; &nbsp;&nbsp;1 root&nbsp;&nbsp;wheel&nbsp; &nbsp; &nbsp;&nbsp;8 Apr 26&nbsp;&nbsp;2018 X11R6 -&gt; /opt/X11</p><div style="flex-basis: auto !important;" class="">&nbsp;<br class="webkit-block-placeholder"></div><p class="p3" style="flex-basis: auto !important;">If all X11 libraries are already installed via XQuark, then O.K., otherwise likely&nbsp;</p><p class="p3" style="flex-basis: auto !important;"><span data-mce-style="font-family: 'courier new', courier;" style="flex-basis: auto !important;" class="">$ sudo port install xorg-libX11</span></p><p class="p2" style="flex-basis: auto !important;">must be run.</p><div style="flex-basis: auto !important;" class="">&nbsp;<br class="webkit-block-placeholder"></div><p class="p1" style="flex-basis: auto !important;">=== Check</p><p class="p1" style="flex-basis: auto !important;">/opt/X11/include</p><p class="p1" style="flex-basis: auto !important;">…</p><p class="p3" style="flex-basis: auto !important;">lrwxr-xr-x&nbsp; &nbsp;&nbsp;1 root&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;wheel&nbsp;&nbsp; &nbsp;&nbsp;18 Dec&nbsp;&nbsp;7 16:37 freetype -&gt; freetype2/freetype</p><p class="p3" style="flex-basis: auto !important;">drwxr-xr-x&nbsp; &nbsp;&nbsp;5 root&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;wheel&nbsp; &nbsp;&nbsp;160 Dec&nbsp;&nbsp;7 15:20 freetype2</p><p class="p3" style="flex-basis: auto !important;">lrwxr-xr-x&nbsp; &nbsp;&nbsp;1 root&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;wheel&nbsp;&nbsp; &nbsp;&nbsp;20 Dec&nbsp;&nbsp;7 15:27 ft2build.h -&gt; freetype2/ft2build.h</p><p class="p1" style="flex-basis: auto !important;">…</p></div><div style="color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); flex-basis: auto !important;" class="">These links are necessary for&nbsp;ESP-r new fonts (V13.2.8+). If not set, then (in /opt/X11/include) do</div><div style="color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); flex-basis: auto !important;" class=""><div style="flex-basis: auto !important;" class="">&nbsp;<br class="webkit-block-placeholder"></div><p class="p1" style="flex-basis: auto !important;"><span class="s1" data-mce-style="font-family: 'courier new', courier;" style="flex-basis: auto !important;">$ sudo ln -sf freetype2/freetype freetype</span></p><p class="p1" style="flex-basis: auto !important;"><span class="s1" style="flex-basis: auto !important;">and</span></p><p class="p1" style="flex-basis: auto !important;"><span class="s1" data-mce-style="font-family: 'courier new', courier;" style="flex-basis: auto !important;">$ sudo ln -sf freetype2/ft2build.h ft2build.h</span></p><p class="p1" style="flex-basis: auto !important;"><span class="s1" style="flex-basis: auto !important;">Both symlinks seem necessary!</span></p><p class="p1" style="flex-basis: auto !important;">The path to /opt/esp-r/bin must be set (ideally both in .bashrc and .bash_profile)</p><div class="">===============</div><div class=""><br class=""></div></div><div>Best</div><div>Achim</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On 2 Dec 2019, at 22:38, Christopher Heard &lt;<a href="mailto:cheard@prodigy.net.mx" class="">cheard@prodigy.net.mx</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello all,<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;on using the Install option —xml I get the following</div><div class=""><br class=""></div><div class=""><div class="">&nbsp;Error: libxml2 library not found in /usr/include</div><div class="">&nbsp;or /usr/local/include. Support for xml output will be</div><div class="">&nbsp;disabled but the rest of the installation will</div><div class="">&nbsp;proceed normally.</div><div class=""><br class=""></div><div class="">I have found the libxml2-2.9.1 folder in&nbsp;Macintosh HD⁩ ▸ ⁨opt⁩ ▸ ⁨local⁩ ▸ ⁨share⁩ ▸ ⁨doc⁩ and copied it to /usr/local/include but the installer still gives the same error message.</div><div class=""><br class=""></div><div class="">If I rename the copy to simply libxml2, will this work or do I need to use an earlier version?</div><div class=""><br class=""></div><div class="">At least on re-running the Install with the following:</div><div class=""><br class=""></div><div class="">bash-3.2$ sudo ./Install -d /opt/esru --gcc4 --reuse_ish_calcs --complex --xml --force --compiler_version -6</div><div class=""><br class=""></div><div class="">The "--compiler_version -6” is because I am using homebrew as the package manager.</div><div class=""><br class=""></div><div class="">It does say that it is including xml support (after renaming the folder &nbsp;libxml2-2.9.1 to &nbsp;libxml2).</div><div class=""><br class=""></div><div class="">I <b class="">do</b> get an error message at the start "./Install: line 334: ldconfig: command not found”</div><div class=""><br class=""></div><div class="">Line 334 is:&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ld_output=`ldconfig -p | grep libxslt`</div><div class=""><br class=""></div><div class="">As far as I can Google, it seems that ldconfig is not available in OS X and neither is it needed.</div><div class=""><br class=""></div><div class="">Can anyone confirm this?</div><div class=""><br class=""></div><div class="">Christopher Heard</div><div class=""><br class=""></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 29 Oct 2019, at 11:30, <a href="mailto:esp-r-request@lists.strath.ac.uk" class="">esp-r-request@lists.strath.ac.uk</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Send esp-r mailing list submissions to<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><a href="mailto:esp-r@lists.strath.ac.uk" class="">esp-r@lists.strath.ac.uk</a><br class=""><br class="">To subscribe or unsubscribe via the World Wide Web, visit<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://lists.strath.ac.uk/mailman/listinfo/esp-r" class="">http://lists.strath.ac.uk/mailman/listinfo/esp-r</a><br class="">or, via email, send a message with subject or body 'help' to<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>esp-r-request@lists.strath.ac.uk<br class=""><br class="">You can reach the person managing the list at<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>esp-r-owner@lists.strath.ac.uk<br class=""><br class="">When replying, please edit your Subject line so it is more specific<br class="">than "Re: Contents of esp-r digest..."<br class=""><br class=""><br class="">Today's Topics:<br class=""><br class=""> &nbsp;&nbsp;1. &nbsp;Problem on plant database compilation...<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Clodoaldo Carvalho Filho)<br class=""> &nbsp;&nbsp;2. Re: Problem on plant database compilation... (Jon Hand)<br class=""><br class=""><br class="">----------------------------------------------------------------------<br class=""><br class="">Message: 1<br class="">Date: Tue, 29 Oct 2019 13:34:13 -0300<br class="">From: Clodoaldo Carvalho Filho &lt;clodoaldo@ufc.br&gt;<br class="">Subject: [esp-r] &nbsp;Problem on plant database compilation...<br class="">To: esp-r@lists.strath.ac.uk<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;CALTyuFQiaE1U08jVUzpu2PXzQjexyULAjmDf_NXiQLi9KATghA@mail.gmail.com&gt;<br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">Hello everyone,<br class=""><br class="">I'm trying to compile esp-r v.13.3.7 source code on Unbutu 18.04 LTS with<br class="">gcc and GNU Fortran 8.3.0. The whole process seems to run OK except for pdb<br class="">and plant databases.<br class=""><br class="">This is the output I got:<br class=""><br class=""> - installing plant components databases ...At line 192 of file pdb.F<br class="">Fortran runtime error: End of record<br class=""><br class="">Error termination. Backtrace:<br class="">#0 &nbsp;0x7f2d855be70d in ???<br class="">#1 &nbsp;0x7f2d855bf235 in ???<br class="">#2 &nbsp;0x7f2d855bfc9b in ???<br class="">#3 &nbsp;0x7f2d857e1168 in ???<br class="">#4 &nbsp;0x7f2d857ed035 in ???<br class="">#5 &nbsp;0x7f2d857e466c in ???<br class="">#6 &nbsp;0x7f2d857e482b in ???<br class="">#7 &nbsp;0x7f2d857e1035 in ???<br class="">#8 &nbsp;0x564573b59b48 in ???<br class="">#9 &nbsp;0x564573b5c902 in ???<br class="">#10 &nbsp;0x7f2d84c19b96 in ???<br class="">#11 &nbsp;0x564573b4e129 in ???<br class="">#12 &nbsp;0xffffffffffffffff in ???<br class="">mv: n?o foi poss?vel obter estado de 'plantc.db1': Arquivo ou diret?rio<br class="">inexistente<br class="">At line 192 of file pdb.F<br class="">Fortran runtime error: End of record<br class=""><br class="">Error termination. Backtrace:<br class="">#0 &nbsp;0x7f0da1cb270d in ???<br class="">#1 &nbsp;0x7f0da1cb3235 in ???<br class="">#2 &nbsp;0x7f0da1cb3c9b in ???<br class="">#3 &nbsp;0x7f0da1ed5168 in ???<br class="">#4 &nbsp;0x7f0da1ee1035 in ???<br class="">#5 &nbsp;0x7f0da1ed866c in ???<br class="">#6 &nbsp;0x7f0da1ed882b in ???<br class="">#7 &nbsp;0x7f0da1ed5035 in ???<br class="">#8 &nbsp;0x55928feafb48 in ???<br class="">#9 &nbsp;0x55928feb2902 in ???<br class="">#10 &nbsp;0x7f0da130db96 in ???<br class="">#11 &nbsp;0x55928fea4129 in ???<br class="">#12 &nbsp;0xffffffffffffffff in ???<br class="">mv: n?o foi poss?vel obter estado de 'plantc.db2': Arquivo ou diret?rio<br class="">inexistente<br class="">At line 192 of file pdb.F<br class="">Fortran runtime error: End of record<br class=""><br class="">Error termination. Backtrace:<br class="">#0 &nbsp;0x7f832a5a370d in ???<br class="">#1 &nbsp;0x7f832a5a4235 in ???<br class="">#2 &nbsp;0x7f832a5a4c9b in ???<br class="">#3 &nbsp;0x7f832a7c6168 in ???<br class="">#4 &nbsp;0x7f832a7d2035 in ???<br class="">#5 &nbsp;0x7f832a7c966c in ???<br class="">#6 &nbsp;0x7f832a7c982b in ???<br class="">#7 &nbsp;0x7f832a7c6035 in ???<br class="">#8 &nbsp;0x55af8857cb48 in ???<br class="">#9 &nbsp;0x55af8857f902 in ???<br class="">#10 &nbsp;0x7f8329bfeb96 in ???<br class="">#11 &nbsp;0x55af88571129 in ???<br class="">#12 &nbsp;0xffffffffffffffff in ???<br class="">mv: n?o foi poss?vel obter estado de 'plantc.tt': Arquivo ou diret?rio<br class="">inexistente<br class=""> done.<br class=""><br class="">I experience the same problem when installing the precompiled version<br class="">downloaded from ESRU.<br class=""><br class="">Any help would be appreciated.<br class=""><br class="">Regards,<br class=""><br class="">Clodoaldo.<br class="">--<br class="">*Prof. Clodoaldo de O. Carvalho Filho, Dr.*<br class="">Universidade Federal do Cear?<br class="">Depto. de Engenharia Mec?nica<br class="">Lab. de Efici?ncia Energ?tica no Conforto Ambiental - Coordenador<br class="">PET Engenharia Mec?nica - Tutor<br class="">ASHRAE Fortaleza Student Branch - Advisor<br class="">-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: http://lists.strath.ac.uk/archives/esp-r/attachments/20191029/6e884809/attachment-0001.html <br class=""><br class="">------------------------------<br class=""><br class="">Message: 2<br class="">Date: Tue, 29 Oct 2019 17:00:29 +0000<br class="">From: Jon Hand &lt;jon@esru.strath.ac.uk&gt;<br class="">Subject: [esp-r] Re: Problem on plant database compilation...<br class="">To: Clodoaldo Carvalho Filho &lt;clodoaldo@ufc.br&gt;,<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>"esp-r@lists.strath.ac.uk"<span class="Apple-tab-span" style="white-space:pre">        </span>&lt;esp-r@lists.strath.ac.uk&gt;<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;D30AFF4D10A0B64490B23B07B41010D4DC6F2A44@EX2010-MBX3.ds.strath.ac.uk&gt;<br class="">Content-Type: text/plain; charset="iso-8859-1"<br class=""><br class=""><br class="">This is a string buffer overflow that is happening while writing<br class="">the title of the application. &nbsp;To correct this open up the file<br class="">pdb.F in a text editor and look for a string variable named pagestitle<br class="">change its definition to the following and this should fix the issue.<br class=""><br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;character pagestitle*112 ! for banner title via epages call<br class=""><br class="">You then need to re-compile the pdb application. <br class=""><br class="">Regards, Jon Hand<br class="">________________________________________<br class="">From: esp-r-bounces@lists.strath.ac.uk [esp-r-bounces@lists.strath.ac.uk] on behalf of Clodoaldo Carvalho Filho [clodoaldo@ufc.br]<br class="">Sent: 29 October 2019 16:34<br class="">To: esp-r@lists.strath.ac.uk<br class="">Subject: [esp-r] &nbsp;Problem on plant database compilation...<br class=""><br class="">Hello everyone,<br class=""><br class="">I'm trying to compile esp-r v.13.3.7 source code on Unbutu 18.04 LTS with gcc and GNU Fortran 8.3.0. The whole process seems to run OK except for pdb and plant databases.<br class=""><br class="">This is the output I got:<br class=""><br class=""> - installing plant components databases ...At line 192 of file pdb.F<br class="">Fortran runtime error: End of record<br class=""><br class="">Error termination. Backtrace:<br class="">#0 &nbsp;0x7f2d855be70d in ???<br class="">#1 &nbsp;0x7f2d855bf235 in ???<br class="">#2 &nbsp;0x7f2d855bfc9b in ???<br class="">#3 &nbsp;0x7f2d857e1168 in ???<br class="">#4 &nbsp;0x7f2d857ed035 in ???<br class="">#5 &nbsp;0x7f2d857e466c in ???<br class="">#6 &nbsp;0x7f2d857e482b in ???<br class="">#7 &nbsp;0x7f2d857e1035 in ???<br class="">#8 &nbsp;0x564573b59b48 in ???<br class="">#9 &nbsp;0x564573b5c902 in ???<br class="">#10 &nbsp;0x7f2d84c19b96 in ???<br class="">#11 &nbsp;0x564573b4e129 in ???<br class="">#12 &nbsp;0xffffffffffffffff in ???<br class="">mv: n?o foi poss?vel obter estado de 'plantc.db1': Arquivo ou diret?rio inexistente<br class="">At line 192 of file pdb.F<br class="">Fortran runtime error: End of record<br class=""><br class="">Error termination. Backtrace:<br class="">#0 &nbsp;0x7f0da1cb270d in ???<br class="">#1 &nbsp;0x7f0da1cb3235 in ???<br class="">#2 &nbsp;0x7f0da1cb3c9b in ???<br class="">#3 &nbsp;0x7f0da1ed5168 in ???<br class="">#4 &nbsp;0x7f0da1ee1035 in ???<br class="">#5 &nbsp;0x7f0da1ed866c in ???<br class="">#6 &nbsp;0x7f0da1ed882b in ???<br class="">#7 &nbsp;0x7f0da1ed5035 in ???<br class="">#8 &nbsp;0x55928feafb48 in ???<br class="">#9 &nbsp;0x55928feb2902 in ???<br class="">#10 &nbsp;0x7f0da130db96 in ???<br class="">#11 &nbsp;0x55928fea4129 in ???<br class="">#12 &nbsp;0xffffffffffffffff in ???<br class="">mv: n?o foi poss?vel obter estado de 'plantc.db2': Arquivo ou diret?rio inexistente<br class="">At line 192 of file pdb.F<br class="">Fortran runtime error: End of record<br class=""><br class="">Error termination. Backtrace:<br class="">#0 &nbsp;0x7f832a5a370d in ???<br class="">#1 &nbsp;0x7f832a5a4235 in ???<br class="">#2 &nbsp;0x7f832a5a4c9b in ???<br class="">#3 &nbsp;0x7f832a7c6168 in ???<br class="">#4 &nbsp;0x7f832a7d2035 in ???<br class="">#5 &nbsp;0x7f832a7c966c in ???<br class="">#6 &nbsp;0x7f832a7c982b in ???<br class="">#7 &nbsp;0x7f832a7c6035 in ???<br class="">#8 &nbsp;0x55af8857cb48 in ???<br class="">#9 &nbsp;0x55af8857f902 in ???<br class="">#10 &nbsp;0x7f8329bfeb96 in ???<br class="">#11 &nbsp;0x55af88571129 in ???<br class="">#12 &nbsp;0xffffffffffffffff in ???<br class="">mv: n?o foi poss?vel obter estado de 'plantc.tt&lt;http://plantc.tt&gt;': Arquivo ou diret?rio inexistente<br class=""> done.<br class=""><br class="">I experience the same problem when installing the precompiled version downloaded from ESRU.<br class=""><br class="">Any help would be appreciated.<br class=""><br class="">Regards,<br class=""><br class="">Clodoaldo.<br class="">--<br class="">Prof. Clodoaldo de O. Carvalho Filho, Dr.<br class="">Universidade Federal do Cear?<br class="">Depto. de Engenharia Mec?nica<br class="">Lab. de Efici?ncia Energ?tica no Conforto Ambiental - Coordenador<br class="">PET Engenharia Mec?nica - Tutor<br class="">ASHRAE Fortaleza Student Branch - Advisor<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">------------------------------<br class=""><br class="">_______________________________________________<br class="">esp-r mailing list<br class="">esp-r@lists.strath.ac.uk<br class="">http://lists.strath.ac.uk/mailman/listinfo/esp-r<br class=""><br class="">End of esp-r Digest, Vol 149, Issue 2<br class="">*************************************<br class=""></div></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">esp-r mailing list<br class=""><a href="mailto:esp-r@lists.strath.ac.uk" class="">esp-r@lists.strath.ac.uk</a><br class="">http://lists.strath.ac.uk/mailman/listinfo/esp-r</div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal; border-spacing: 0px; -webkit-text-decorations-in-effect: none;"><div class=""><a href="mailto:achim.geissler@intergga.ch" class="">achim.geissler@intergga.ch</a></div><div class=""><br class=""></div><div class=""><br class=""></div></span><br class="Apple-interchange-newline">

</div>
<br class=""></div></body></html>