Macports installation problem

John miaojpm at gmail.com
Thu Oct 19 05:46:38 UTC 2017


Thanks for pointing out that I should open the "Terminal". I tried it;
could you check if my Cairo is installed successfully? Should I do
something on Xbox? Thanks!!


Last login: Wed Oct 18 21:01:15 on ttys001
John-MacBook-Pro:~ john$ sudo port install cairo
Password:
Sorry, try again.
Password:
Warning: The Xcode Command Line Tools don't appear to be installed; most
ports will likely fail to build.
Warning: Install them by running `xcode-select --install'.
--->  Computing dependencies for cairo
The following dependencies will be installed:
 bzip2
 db48
 expat
 fontconfig
 freetype
 gettext
 glib2
 libedit
 libffi
 libiconv
 libpixman
 libpng
 libxml2
 ncurses
 openssl
 pcre
 python27
 python2_select
 python_select
 sqlite3
 xorg-kbproto
 xorg-libX11
 xorg-libXau
 xorg-libXdmcp
 xorg-libXext
 xorg-libpthread-stubs
 xorg-libxcb
 xorg-renderproto
 xorg-xcb-proto
 xorg-xcb-util
 xorg-xextproto
 xorg-xproto
 xrender
 xz
 zlib
Continue? [Y/n]: Y
--->  Fetching archive for expat
--->  Attempting to fetch expat-2.2.4_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/expat
--->  Attempting to fetch expat-2.2.4_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/expat
--->  Installing expat @2.2.4_0
--->  Activating expat @2.2.4_0
--->  Cleaning expat
--->  Fetching archive for bzip2
--->  Attempting to fetch bzip2-1.0.6_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/bzip2
--->  Attempting to fetch bzip2-1.0.6_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/bzip2
--->  Installing bzip2 @1.0.6_0
--->  Activating bzip2 @1.0.6_0
--->  Cleaning bzip2
--->  Fetching archive for zlib
--->  Attempting to fetch zlib-1.2.11_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/zlib
--->  Attempting to fetch zlib-1.2.11_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/zlib
--->  Installing zlib @1.2.11_0
--->  Activating zlib @1.2.11_0
--->  Cleaning zlib
--->  Fetching archive for libpng
--->  Attempting to fetch libpng-1.6.32_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/libpng
--->  Attempting to fetch libpng-1.6.32_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/libpng
--->  Installing libpng @1.6.32_0
--->  Activating libpng @1.6.32_0
--->  Cleaning libpng
--->  Fetching archive for freetype
--->  Attempting to fetch freetype-2.8_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/freetype
--->  Attempting to fetch freetype-2.8_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/freetype
--->  Installing freetype @2.8_0
--->  Activating freetype @2.8_0
--->  Cleaning freetype
--->  Fetching archive for libiconv
--->  Attempting to fetch libiconv-1.15_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/libiconv
--->  Attempting to fetch libiconv-1.15_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/libiconv
--->  Installing libiconv @1.15_0
--->  Activating libiconv @1.15_0
--->  Cleaning libiconv
--->  Fetching archive for fontconfig
--->  Attempting to fetch fontconfig-2.12.6_1.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/fontconfig
--->  Attempting to fetch fontconfig-2.12.6_1.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/fontconfig
--->  Installing fontconfig @2.12.6_1
--->  Activating fontconfig @2.12.6_1
--->  Cleaning fontconfig
--->  Fetching archive for ncurses
--->  Attempting to fetch ncurses-6.0-20170916_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/ncurses
--->  Attempting to fetch
ncurses-6.0-20170916_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/ncurses
--->  Installing ncurses @6.0-20170916_0
--->  Activating ncurses @6.0-20170916_0
--->  Cleaning ncurses
--->  Fetching archive for gettext
--->  Attempting to fetch gettext-0.19.8.1_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/gettext
--->  Attempting to fetch gettext-0.19.8.1_0.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/gettext
--->  Installing gettext @0.19.8.1_0
--->  Activating gettext @0.19.8.1_0
--->  Cleaning gettext
--->  Fetching archive for libffi
--->  Attempting to fetch libffi-3.2.1_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/libffi
--->  Attempting to fetch libffi-3.2.1_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/libffi
--->  Installing libffi @3.2.1_0
--->  Activating libffi @3.2.1_0
--->  Cleaning libffi
--->  Fetching archive for libedit
--->  Attempting to fetch libedit-20170329-3.1_2.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/libedit
--->  Attempting to fetch
libedit-20170329-3.1_2.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/libedit
--->  Installing libedit @20170329-3.1_2
--->  Activating libedit @20170329-3.1_2
--->  Cleaning libedit
--->  Fetching archive for pcre
--->  Attempting to fetch pcre-8.41_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/pcre
--->  Attempting to fetch pcre-8.41_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/pcre
--->  Installing pcre @8.41_0
--->  Activating pcre @8.41_0
--->  Cleaning pcre
--->  Fetching archive for glib2
--->  Attempting to fetch glib2-2.54.1_0+x11.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/glib2
--->  Attempting to fetch glib2-2.54.1_0+x11.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/glib2
--->  Installing glib2 @2.54.1_0+x11
--->  Activating glib2 @2.54.1_0+x11
--->  Cleaning glib2
--->  Fetching archive for libpixman
--->  Attempting to fetch libpixman-0.34.0_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/libpixman
--->  Attempting to fetch libpixman-0.34.0_0.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/libpixman
--->  Installing libpixman @0.34.0_0
--->  Activating libpixman @0.34.0_0
--->  Cleaning libpixman
--->  Fetching archive for xorg-kbproto
--->  Attempting to fetch xorg-kbproto-1.0.7_0.darwin_16.noarch.tbz2 from
http://kmq.jp.packages.macports.org/xorg-kbproto
--->  Attempting to fetch xorg-kbproto-1.0.7_0.darwin_16.noarch.tbz2.rmd160
from http://kmq.jp.packages.macports.org/xorg-kbproto
--->  Installing xorg-kbproto @1.0.7_0
--->  Activating xorg-kbproto @1.0.7_0
--->  Cleaning xorg-kbproto
--->  Fetching archive for xorg-xproto
--->  Attempting to fetch xorg-xproto-7.0.31_0.darwin_16.noarch.tbz2 from
http://kmq.jp.packages.macports.org/xorg-xproto
--->  Attempting to fetch xorg-xproto-7.0.31_0.darwin_16.noarch.tbz2.rmd160
from http://kmq.jp.packages.macports.org/xorg-xproto
--->  Installing xorg-xproto @7.0.31_0
--->  Activating xorg-xproto @7.0.31_0
--->  Cleaning xorg-xproto
--->  Fetching archive for xorg-libXau
--->  Attempting to fetch xorg-libXau-1.0.8_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/xorg-libXau
--->  Attempting to fetch xorg-libXau-1.0.8_0.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/xorg-libXau
--->  Installing xorg-libXau @1.0.8_0
--->  Activating xorg-libXau @1.0.8_0
--->  Cleaning xorg-libXau
--->  Fetching archive for xorg-libXdmcp
--->  Attempting to fetch xorg-libXdmcp-1.1.2_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/xorg-libXdmcp
--->  Attempting to fetch
xorg-libXdmcp-1.1.2_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/xorg-libXdmcp
--->  Installing xorg-libXdmcp @1.1.2_0
--->  Activating xorg-libXdmcp @1.1.2_0
--->  Cleaning xorg-libXdmcp
--->  Fetching archive for db48
--->  Attempting to fetch db48-4.8.30_4.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/db48
--->  Attempting to fetch db48-4.8.30_4.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/db48
--->  Installing db48 @4.8.30_4
--->  Activating db48 @4.8.30_4
--->  Cleaning db48
--->  Fetching archive for openssl
--->  Attempting to fetch openssl-1.0.2l_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/openssl
--->  Attempting to fetch openssl-1.0.2l_0.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/openssl
--->  Installing openssl @1.0.2l_0
--->  Activating openssl @1.0.2l_0
--->  Cleaning openssl
--->  Fetching archive for python2_select
--->  Attempting to fetch python2_select-0.0_2.darwin_16.noarch.tbz2 from
http://kmq.jp.packages.macports.org/python2_select
--->  Attempting to fetch python2_select-0.0_2.darwin_16.noarch.tbz2.rmd160
from http://kmq.jp.packages.macports.org/python2_select
--->  Installing python2_select @0.0_2
--->  Activating python2_select @0.0_2
--->  Cleaning python2_select
--->  Fetching archive for python_select
--->  Attempting to fetch python_select-0.3_7.darwin_16.noarch.tbz2 from
http://kmq.jp.packages.macports.org/python_select
--->  Attempting to fetch python_select-0.3_7.darwin_16.noarch.tbz2.rmd160
from http://kmq.jp.packages.macports.org/python_select
--->  Installing python_select @0.3_7
--->  Activating python_select @0.3_7
--->  Cleaning python_select
--->  Fetching archive for sqlite3
--->  Attempting to fetch sqlite3-3.20.1_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/sqlite3
--->  Attempting to fetch sqlite3-3.20.1_0.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/sqlite3
--->  Installing sqlite3 @3.20.1_0
--->  Activating sqlite3 @3.20.1_0
--->  Cleaning sqlite3
--->  Fetching archive for python27
--->  Attempting to fetch python27-2.7.14_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/python27
--->  Attempting to fetch python27-2.7.14_0.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/python27
--->  Installing python27 @2.7.14_0
--->  Activating python27 @2.7.14_0
--->  Cleaning python27
--->  Fetching archive for xorg-libpthread-stubs
--->  Attempting to fetch xorg-libpthread-stubs-0.3_0.darwin_16.noarch.tbz2
from http://kmq.jp.packages.macports.org/xorg-libpthread-stubs
--->  Attempting to fetch
xorg-libpthread-stubs-0.3_0.darwin_16.noarch.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/xorg-libpthread-stubs
--->  Installing xorg-libpthread-stubs @0.3_0
--->  Activating xorg-libpthread-stubs @0.3_0
--->  Cleaning xorg-libpthread-stubs
--->  Fetching archive for xz
--->  Attempting to fetch xz-5.2.3_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/xz
--->  Attempting to fetch xz-5.2.3_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/xz
--->  Installing xz @5.2.3_0
--->  Activating xz @5.2.3_0
--->  Cleaning xz
--->  Fetching archive for libxml2
--->  Attempting to fetch libxml2-2.9.6_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/libxml2
--->  Attempting to fetch libxml2-2.9.6_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/libxml2
--->  Installing libxml2 @2.9.6_0
--->  Activating libxml2 @2.9.6_0
--->  Cleaning libxml2
--->  Fetching archive for xorg-xcb-proto
--->  Attempting to fetch
xorg-xcb-proto-1.12_1+python27.darwin_16.noarch.tbz2 from
http://kmq.jp.packages.macports.org/xorg-xcb-proto
--->  Attempting to fetch
xorg-xcb-proto-1.12_1+python27.darwin_16.noarch.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/xorg-xcb-proto
--->  Installing xorg-xcb-proto @1.12_1+python27
--->  Activating xorg-xcb-proto @1.12_1+python27
--->  Cleaning xorg-xcb-proto
--->  Fetching archive for xorg-libxcb
--->  Attempting to fetch xorg-libxcb-1.12_2+python27.darwin_16.x86_64.tbz2
from http://kmq.jp.packages.macports.org/xorg-libxcb
--->  Attempting to fetch
xorg-libxcb-1.12_2+python27.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/xorg-libxcb
--->  Installing xorg-libxcb @1.12_2+python27
--->  Activating xorg-libxcb @1.12_2+python27
--->  Cleaning xorg-libxcb
--->  Fetching archive for xorg-libX11
--->  Attempting to fetch xorg-libX11-1.6.5_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/xorg-libX11
--->  Attempting to fetch xorg-libX11-1.6.5_0.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/xorg-libX11
--->  Installing xorg-libX11 @1.6.5_0
--->  Activating xorg-libX11 @1.6.5_0
--->  Cleaning xorg-libX11
--->  Fetching archive for xorg-xextproto
--->  Attempting to fetch xorg-xextproto-7.3.0_0.darwin_16.noarch.tbz2 from
http://kmq.jp.packages.macports.org/xorg-xextproto
--->  Attempting to fetch
xorg-xextproto-7.3.0_0.darwin_16.noarch.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/xorg-xextproto
--->  Installing xorg-xextproto @7.3.0_0
--->  Activating xorg-xextproto @7.3.0_0
--->  Cleaning xorg-xextproto
--->  Fetching archive for xorg-libXext
--->  Attempting to fetch xorg-libXext-1.3.3_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/xorg-libXext
--->  Attempting to fetch xorg-libXext-1.3.3_0.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/xorg-libXext
--->  Installing xorg-libXext @1.3.3_0
--->  Activating xorg-libXext @1.3.3_0
--->  Cleaning xorg-libXext
--->  Fetching archive for xorg-xcb-util
--->  Attempting to fetch xorg-xcb-util-0.4.0_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/xorg-xcb-util
--->  Attempting to fetch
xorg-xcb-util-0.4.0_0.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/xorg-xcb-util
--->  Installing xorg-xcb-util @0.4.0_0
--->  Activating xorg-xcb-util @0.4.0_0
--->  Cleaning xorg-xcb-util
--->  Fetching archive for xorg-renderproto
--->  Attempting to fetch xorg-renderproto-0.11.1_0.darwin_16.noarch.tbz2
from http://kmq.jp.packages.macports.org/xorg-renderproto
--->  Attempting to fetch
xorg-renderproto-0.11.1_0.darwin_16.noarch.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/xorg-renderproto
--->  Installing xorg-renderproto @0.11.1_0
--->  Activating xorg-renderproto @0.11.1_0
--->  Cleaning xorg-renderproto
--->  Fetching archive for xrender
--->  Attempting to fetch xrender-0.9.10_0.darwin_16.x86_64.tbz2 from
http://kmq.jp.packages.macports.org/xrender
--->  Attempting to fetch xrender-0.9.10_0.darwin_16.x86_64.tbz2.rmd160
from http://kmq.jp.packages.macports.org/xrender
--->  Installing xrender @0.9.10_0
--->  Activating xrender @0.9.10_0
--->  Cleaning xrender
--->  Fetching archive for cairo
--->  Attempting to fetch cairo-1.14.10_0+quartz+x11.darwin_16.x86_64.tbz2
from http://kmq.jp.packages.macports.org/cairo
--->  Attempting to fetch
cairo-1.14.10_0+quartz+x11.darwin_16.x86_64.tbz2.rmd160 from
http://kmq.jp.packages.macports.org/cairo
--->  Installing cairo @1.14.10_0+quartz+x11
--->  Activating cairo @1.14.10_0+quartz+x11
--->  Cleaning cairo
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  Some of the ports you installed have notes:
  python27 has the following notes:
    To make this the default Python or Python 2 (i.e., the version run by
the
    'python' or 'python2' commands), run one or both of:

        sudo port select --set python python27
        sudo port select --set python2 python27
John-MacBook-Pro:~ john$ xcode-select --install
xcode-select: note: install requested for command line developer tools
John-MacBook-Pro:~ john$ sudo port install cairo
Password:
--->  Computing dependencies for cairo
--->  Cleaning cairo
--->  Scanning binaries for linking errors
--->  No broken files found.
John-MacBook-Pro:~ john$ sudo port install cairo
Password:
--->  Computing dependencies for cairo
--->  Cleaning cairo
--->  Scanning binaries for linking errors
--->  No broken files found.
John-MacBook-Pro:~ john$


2017-10-18 18:14 GMT-07:00 Ryan Schmidt <ryandesign at macports.org>:

> Remember to Reply All so our conversation stays on the mailing list.
>
> My reply is below.
>
>
> On Oct 18, 2017, at 20:05, John wrote:
>
> > 2017-10-18 7:50 GMT-07:00 Ryan Schmidt:
> >> On Oct 18, 2017, at 04:25, John wrote:
> >>
> >>>    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"
> >>
> >> You are correct; there is no GUI app called MacPorts. MacPorts is the
> command line program /opt/local/bin/port.
> >>
> >> The installer should have set up your PATH so that you can run it by
> just typing "port" instead of that full path.
> >>
> >> From your output above, I see you inadvertently entered MacPorts shell
> mode, indicated by the ">" prompt, by running "port" with no arguments. As
> it says, to exit that mode, type "quit" to get back to your normal shell's
> "$" prompt. At your normal shell "$" prompt, you can run "sudo port install
> cairo".
>
> >
> >    After typing quit, I got the following:
> > ******
> >
> > [Users/john] > quit
> > Goodbye
> > logout
> > Saving session...
> > ...copying shared history...
> > ...saving history...truncating history files...
> > ...completed.
> >
> > [Process completed]
> >
> > ********
> >
> > and then I can't type anything....
>
> Ok, it sounds like what you actually did was you double-clicked on "port"
> in the Finder, which opened Terminal and ran the port command for you with
> no arguments.
>
> That's not how MacPorts is used. Instead, open the Terminal, if it's not
> still open. It's in /Applications/Utilities. Then type the command you
> want, like "sudo port install cairo".
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20171018/e9bef7ce/attachment.html>


More information about the macports-users mailing list