OpenModelica?
Murray Eisenberg
murrayeisenberg at gmail.com
Sat Apr 7 16:27:56 UTC 2018
Thanks, that seems to have worked.
To do the remaining steps…
port selfupdate
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
port install openmodelica-devel +libraries +clang
…should I still stay in that root shell?
> On 7 Apr2018, at 12:22 PM, David Herron <david at davidherron.com> wrote:
>
> It's because the stdout redirect is executing as your user ID, and this has nothing to do with MacPorts
>
> The solution is to first do:
>
> sudo su -
>
> This gets you to a full root shell. Then you do the command you said.
>
> + David Herron
>
>
>
> On Sat, Apr 7, 2018 at 9:20 AM, Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> wrote:
> I’m trying to install the port of OpenModelica. The instructions at https://www.openmodelica.org/download/download-mac <https://www.openmodelica.org/download/download-mac> give, as first step:
>
> echo rsync://build-openmodelica.org/macports/ <> >> /opt/local/etc/macports/sources.conf
>
> But even with sudo, I’m getting a "Permission denied" error.
>
> How to fix this?
>
> ---
> Murray Eisenberg murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
> 503 King Farm Blvd #101 <https://maps.google.com/?q=503+King+Farm+Blvd+%23101&entry=gmail&source=g> Home (240)-246-7240
> Rockville, MD 20850-6667 Mobile (413)-427-5334
>
>
>
---
Murray Eisenberg murrayeisenberg at gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180407/badbac58/attachment.html>
More information about the macports-users
mailing list