[R-SIG-Mac] Macports installation problem
David Winsemius
dwinsemius at comcast.net
Wed Oct 18 17:17:58 CEST 2017
> On Oct 17, 2017, at 11:58 PM, Rainer Krug <rainer_krug at icloud.com> wrote:
>
> This is related to Macports and not to R - please post your question on their mailing list. If it would be about errors installing R, that would be different.
>
I think using MacPorts might actually be the "error" that needs correction. I would suggest an alternate strategy. Go to http://r.research.att.com/libs/ and get the appropriate version of cairo, probably the most recent one.
http://r.research.att.com/libs/cairo-1.14.2-darwin.13-x86_64.tar.gz
Scroll down to the bottom of that page and an appropriate modification of the two lines for unpacking to the root.
curl -O http://r.research.att.com/libs/cairo-1.14.2-darwin.13-x86_64.tar.gz
sudo tar fvxz gmp-4.2.4-darwin8-bin4.tar.gz -C /
The Mac version of R does not do well with either MacPorts or homebrew installation of required system packages because those package managers put them in loaction that are not recognized by the static build that is the default.
--
David.
> Cheers,
>
> Rainer
>
>
>> On 18 Oct 2017, at 02:36, John <miaojpm at gmail.com> wrote:
>>
>> Hi,
>>
>> I tried to install Cairo graphics
>>
>> https://www.cairographics.org/download/
>>
>> and I need to install Macports.
>>
>> I tried to install Macports on my Mac OS Sierra 10.12.6, and type "sudo
>> port install cairo", but it did not respond. I haven't seen any file name
>> or app called Macports, but one file called "port" which is located at
>>
>> loca/bin/port"
>>
>> How should I do it?
>>
>> Thanks,
>>
>> John
>> *******
>>
>> Last login: Sun Oct 15 02:52:49 on console
>> Johns-MacBook-Pro:~ john$ /opt/local/bin/port ; exit;
>> MacPorts 2.4.2
>> Entering shell mode... ("help" for help, "quit" to quit)
>> [Users/john] > sudo port install cairo
>> Error: Unrecognized action "port sudo"
>>
>> [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
> --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)
>
> University of Zürich
>
> Cell: +41 (0)78 630 66 57
> email: Rainer at krugs.de
> Skype: RMkrug
>
> PGP: 0x0F52F982
>
>
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius
Alameda, CA, USA
'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law
More information about the R-SIG-Mac
mailing list