<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="">Thanks, that seems to have worked.<div class=""><br class=""></div><div class="">To do the remaining steps…</div><div class=""><br class=""></div><div class=""><pre style="background-color: rgb(247, 246, 245); border-left-width: 5px; border-left-style: solid; border-left-color: rgb(204, 204, 204); font-stretch: normal; font-size: 12px; line-height: 1.5; font-family: "Courier News", monospace; margin-top: 5px; margin-bottom: 15px; padding: 10px 15px;" class=""><em style="margin: 0px; padding: 0px; border: 0px; outline: 0px; background-color: transparent;" class="">port selfupdate</em></pre><pre style="background-color: rgb(247, 246, 245); border-left-width: 5px; border-left-style: solid; border-left-color: rgb(204, 204, 204); font-stretch: normal; font-size: 12px; line-height: 1.5; font-family: "Courier News", monospace; margin-top: 5px; margin-bottom: 15px; padding: 10px 15px;" class=""><em style="background-color: transparent; margin: 0px; padding: 0px; border: 0px; outline: 0px;" class="">port install gcc44 # With the addition of llvm/clang as the default compiler in XCode, many ports now fail to build unless you force GCC to be used</em></pre><pre style="background-color: rgb(247, 246, 245); border-left-width: 5px; border-left-style: solid; border-left-color: rgb(204, 204, 204); font-stretch: normal; font-size: 12px; line-height: 1.5; font-family: "Courier News", monospace; margin-top: 5px; margin-bottom: 15px; padding: 10px 15px;" class=""><em style="margin: 0px; padding: 0px; border: 0px; outline: 0px; background-color: transparent;" class="">port install openmodelica-devel +libraries +clang </em></pre><div class="">…should I still stay in that root shell?</div><div><br class=""><blockquote type="cite" class=""><div class="">On 7 Apr2018, at 12:22 PM, David Herron <<a href="mailto:david@davidherron.com" class="">david@davidherron.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">It's because the stdout redirect is executing as your user ID, and this has nothing to do with MacPorts<div class=""><br class=""></div><div class="">The solution is to first do:</div><div class=""><br class=""></div><div class="">sudo su - </div><div class=""><br class=""></div><div class="">This gets you to a full root shell. Then you do the command you said.</div><div class=""><br class=""></div><div class="">+ David Herron</div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Apr 7, 2018 at 9:20 AM, Murray Eisenberg <span dir="ltr" class=""><<a href="mailto:murrayeisenberg@gmail.com" target="_blank" class="">murrayeisenberg@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">I’m trying to install the port of OpenModelica. The instructions at <a href="https://www.openmodelica.org/download/download-mac" target="_blank" class="">https://www.openmodelica.<wbr class="">org/download/download-mac</a> <wbr class="">give, as first step:<div class=""><br class=""></div><div class=""> <span style="font-family:Menlo;font-size:12px;background-color:rgb(255,255,255)" class="">echo <a class="">rsync://build-openmodelica.<wbr class="">org/macports/</a> >> /opt/local/etc/macports/<wbr class="">sources.conf</span></div><div class=""><br class=""></div><div class="">But even with sudo, I’m getting a "Permission denied" error. </div><div class=""><br class=""></div><div class="">How to fix this?<div class=""><br class=""><div class="">
---<br class="">Murray Eisenberg<span class="m_2271433717457139461Apple-tab-span" style="white-space:pre-wrap"> </span><a href="mailto:murrayeisenberg@gmail.com" target="_blank" class="">murrayeisenberg@gmail.com</a><br class=""><a href="https://maps.google.com/?q=503+King+Farm+Blvd+%23101&entry=gmail&source=g" class="">503 King Farm Blvd #101</a><span class="m_2271433717457139461Apple-tab-span" style="white-space:pre-wrap"> </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="m_2271433717457139461Apple-tab-span" style="white-space:pre-wrap"> </span>Mobile (413)-427-5334<br class=""><br class="">
</div>
<br class=""></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""><div class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;"> </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;"> </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;"> </span>Mobile (413)-427-5334<br class=""><br class="">
</div>
<br class=""></div></body></html>