Macports installation problem

Al Varnell alvarnell at mac.com
Thu Oct 19 01:16:05 UTC 2017


Stop putting yourself in shell mode by with that initial "/opt/local/bin/port ; exit;"

Just type sudo port install cairo

-Al-

On Wed, Oct 18, 2017 at 06:07 PM, John wrote:
> Hi, 
> 
>    Thanks for your response, but...
>    It does not work.... 
> 
> 
> Last login: Wed Oct 18 18:03:28 on ttys000
> John-MacBook-Pro:~ miao$ /opt/local/bin/port ; exit;
> MacPorts 2.4.2
> Entering shell mode... ("help" for help, "quit" to quit)
> [Users/john] > sudo /opt/local/bin/port install cairo
> Error: Unrecognized action "port sudo"
> [Users/john] > 
> 
> 
> J
> 
> 2017-10-18 2:36 GMT-07:00 Al Varnell <alvarnell at mac.com <mailto:alvarnell at mac.com>>:
> Type $PATH in Terminal to make certain that /opt/local/bin/ is included. If not then you need to add it or just use: 
> 
> sudo /opt/local/bin/port install cairo.
> 
> -Al-
> 
> On Wed, Oct 18, 2017 at 02:25 AM, John wrote:
>> Hi, 
>> 
>>    I tried to install Cairo graphics 
>> 
>> https://www.cairographics.org/download/ <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20171018/95c37b7b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3569 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20171018/95c37b7b/attachment.bin>


More information about the macports-users mailing list