Mac OS安装GTK+3.0

2年前 (2022) 程序员胖胖胖虎阿
421 0 0

1、确保mac下的Command Line Tools已经安装:

localhost:~ $ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
localhost:~ $

2、安装X11 Server,官网:https://www.xquartz.org/

     下载地址:https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg 

     下载之后手工安装即可。

3、安装Homebrew(如果已经安装了,这里忽略):

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

4、查看brew的版本

localhost:~ $ brew -v
Homebrew 2.1.2
Homebrew/homebrew-core (git revision 860e; last commit 2019-05-20)
localhost:~ $

5、安装pkg-config

localhost:~ $ brew install pkg-config
Mac OS安装GTK+3.0
Mac OS安装GTK+3.0

localhost:~ $ 
localhost:~ $ brew install pkg-config
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.6.3.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring portable-ruby-2.6.3.mavericks.bottle.tar.gz
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
adios2                              gleam                               octant
alp                                 gmt@5                               onefetch
anime-downloader                    go-md2man                           open-image-denoise
antibody                            go@1.12                             openjdk
appium                              govc                                openjdk@11
arduino-cli                         grin                                openjdk@12
asyncplusplus                       grin-wallet                         openkim-models
atasm                               grpc-swift                          pastel
atlantis                            heatshrink                          pdfcpu
aws-cdk                             helmsman                            pdftk-java
aws-google-auth                     hey                                 pnetcdf
awsume                              include-what-you-use                pnpm
base91                              ipopt                               pokerstove
bazelisk                            janet                               pprint
benthos                             javacc                              prestosql
berglas                             jd                                  procs
bitwise                             k3d                                 protobuf@3.7
borgmatic                           k6                                  pulp
broot                               kepubify                            pygments
calceph                             kim-api                             pylint
catch2                              kubebuilder                         quickjs
cjson                               kyma-cli                            ripgrep-all
clojure-lsp                         lazydocker                          scala@2.12
clp                                 lerna                               scc
clzip                               libevhtp                            scdoc
codespell                           libsigc++@2                         scs
coinutils                           libsixel                            shadowenv
comby                               libspng                             spice-gtk
contentful-cli                      libtensorflow@1                     spirv-tools
cpl                                 libvncserver                        starship
cpu_features                        lightgbm                            swig@3
csvq                                lizard                              tdkjs
cxxopts                             llvm@8                              tektoncd-cli
dafny                               manticoresearch                     termshark
dbmate                              mariadb@10.3                        terraform@0.11
deno                                minikube                            terraformer
devspace                            minizip2                            tflint
dhall-bash                          molten-vk                           tmuxinator
diffr                               mpi4py                              toast
dive                                msgpack-tools                       traefik@1
docker-machine-driver-vmware        mysql-connector-c++@1.1             ttyplot
drone-cli                           navi                                virgil
dust                                nbdime                              wagyu
dvc                                 netlify-cli                         wal2json
erlang@21                           newman                              whalebrew
fastmod                             ngt                                 wiiuse
faust                               notifiers                           wtfutil
gatsby-cli                          now-cli                             xgboost
ghc@8.6                             numpy@1.16                          yapf
git-delta                           nushell                             zrepl
git-revise                          oauth2l
==> Updated Formulae
berkeley-db ✔                       groonga                             ophcrack
boost ✔                             groovy                              opusfile
carthage ✔                          groovysdk                           orbit
cmake ✔                             grpc                                orc-tools
doxygen ✔                           grpcurl                             ori
fdk-aac ✔                           grsync                              osc
ffmpeg ✔                            grt                                 oscats
freetype ✔                          gsettings-desktop-schemas           osm-gps-map
fribidi ✔                           gsl                                 osmium-tool
gettext ✔                           gsmartcontrol                       osqp
go ✔                                gsoap                               osquery
gradle ✔                            gspell                              osrm-backend
graphicsmagick ✔                    gst-editing-services                osslsigncode
libarchive ✔                        gst-libav                           ott
libogg ✔                            gst-plugins-bad                     overmind
libtiff ✔                           gst-plugins-base                    owfs
libvpx ✔                            gst-plugins-good                    oxipng
mysql ✔                             gst-plugins-ugly                    p11-kit
node ✔                              gst-python                          p7zip
node@8 ✔                            gst-rtsp-server                     packer
openssl ✔                           gst-validate                        packer-completion
orc ✔                               gstreamer                           pagmo
protobuf ✔                          gstreamermm                         paket
python ✔                            gtk+                                pam-u2f
python@2 ✔                          gtk+3                               pandoc
readline ✔                          gtk-chtheme                         pandoc-citeproc
rpm ✔                               gtk-doc                             pango
rtmpdump ✔                          gtk-gnutella                        pangomm
sphinx-doc ✔                        gtk-mac-integration                 paps
sqlite ✔                            gtk-vnc                             parallel
wget ✔                              gtkdatabox                          parallelstl
x264 ✔                              gtkextra                            passenger
yarn ✔                              gtkglext                            payara
zeromq ✔                            gtkmm                               pazpar2
zstd ✔                              gtkmm3                              pc6001vx
abcm2ps                             gtksourceview                       pcb
abcmidi                             gtksourceview3                      pcb2gcode
abyss                               gtksourceview4                      pcsc-lite
ace                                 gtksourceviewmm                     pdal
ack                                 gtksourceviewmm3                    pdf2htmlex
acpica                              gtkspell3                           pdf2json
activemq                            gtmess                              pdf2svg
activemq-cpp                        gtranslator                         pdfcrack
admesh                              gts                                 pdfpc
adwaita-icon-theme                  gucharmap                           pdftoipe
aespipe                             guile                               pdns
afflib                              gupnp-av                            pdnsrec
afl-fuzz                            gupnp-tools                         peg-markdown
agda                                gwenhywfar                          pegtl
agedu                               gwyddion                            percona-server
aide                                gxml                                percona-toolkit
aircrack-ng                         h2                                  percona-xtrabackup
akamai                              h2o                                 perl
alexjs                              h3                                  perltidy
algernon                            hadolint                            peru
aliyun-cli                          hadoop                              petsc
allure                              hamlib                              petsc-complex
alot                                hana                                pev
alpine                              hapi-fhir-cli                       pgbadger
amap                                haproxy                             pgbouncer
amazon-ecs-cli                      harfbuzz                            pgcli
ammonite-repl                       hashcat                             pgformatter
amqp-cpp                            hashpump                            pgroonga
amtk                                haskell-stack                       pgrouting
angband                             haxe                                pgweb
angle-grinder                       hbase                               phoronix-test-suite
angular-cli                         hcloud                              php
anjuta                              hebcal                              php-code-sniffer
annie                               heimdal                             php-cs-fixer
ansible                             helmfile                            php@7.1
ansible-lint                        help2man                            php@7.2
ansible@1.9                         herrie                              phpmd
ansible@2.0                         hexyl                               phpmyadmin
ansiweather                         hfstospell                          phpstan
ant                                 hg-fast-export                      phpunit
ant@1.9                             hidapi                              picard-tools
anycable-go                         highlight                           picat
anyenv                              hive                                pidgin
apache-arrow                        hledger                             pijul
apache-arrow-glib                   hlint                               pilosa
apache-drill                        homeassistant-cli                   pinboard-notes-backup
apache-flink                        homebank                            pinfo
apache-geode                        hqx                                 pioneer
apache-spark                        html-xml-utils                      pioneers
apache-zeppelin                     htmldoc                             pip-completion
apib                                htpdate                             pipx
app-engine-python                   http_load                           pius
appscale-tools                      httpd                               pjproject
apr-util                            httperf                             pkcs11-helper
apt-dater                           httpie                              planck
aptly                               httping                             plantuml
aqbanking                           httrack                             platformio
arangodb                            hub                                 platypus
aravis                              hugo                                plplot
argon2                              hunspell                            pmd
aria2                               hwloc                               pms
armadillo                           hydra                               png++
armor                               hyperfine                           pngquant
arp-scan                            hyperkit                            poco
arpack                              hyperscan                           pod2man
arping                              hypre                               podofo
artifactory                         i2p                                 pony-stable
asciidoctor                         i2pd                                ponyc
asciidoctorj                        i386-elf-gcc                        poppler
asdf                                i386-elf-gdb                        postgis
asio                                i386-elf-grub                       postgresql
ask-cli                             ibex                                postgresql@10
aspell                              ical-buddy                          postgresql@9.4
astrometry-net                      icarus-verilog                      postgresql@9.5
atari800                            icdiff                              postgresql@9.6
atk                                 ice                                 postgrest
atkmm                               icecast                             potrace
atlassian-cli                       icecream                            ppsspp
atomist-cli                         icemon                              pqiv
ats2-postiats                       idris                               pre-commit
audacious                           igv                                 prefixsuffix
auditbeat                           ike-scan                            prettier
augeas                              imagemagick                         prips
augustus                            imagemagick@6                       procyon-decompiler
autorest                            imageoptim-cli                      profanity
avfs                                imap-uw                             proftpd
avra                                imapfilter                          proguard
avro-c                              influxdb                            proj
avro-cpp                            inform6                             prometheus
avro-tools                          inlets                              proteinortho
awf                                 innotop                             protobuf-c
aws-okta                            insect                              protobuf-swift
aws-sdk-cpp                         instead                             protobuf@3.6
awscli                              interactive-rebase-tool             protoc-gen-go
axel                                intercal                            prototool
azure-cli                           internetarchive                     proxytunnel
azure-storage-cpp                   io                                  pspg
b2-tools                            ios-sim                             psqlodbc
babel                               ios-webkit-debug-proxy              pstoedit
babeld                              ipbt                                pulledpork
babl                                iperf                               pulseaudio
bacula-fd                           iperf3                              pulumi
badtouch                            ipfs                                pumba
balena-cli                          ipmitool                            pure-ftpd
ballerina                           iproute2mac                         pushpin
baobab                              ipv6calc                            putty
bareos-client                       ipython                             puzzles
basex                               ircd-hybrid                         pwntools
bash                                ircii                               pwsafe
bash-snippets                       irssi                               py2cairo
bat                                 iso-codes                           py3cairo
bazel                               ispc                                pybind11
bbftp-client                        istioctl                            pyenv
bcftools                            isync                               pygobject3
beanstalkd                          itk                                 pygtk
bear                                jadx                                pygtkglext
bedops                              jboss-forge                         pygtksourceview
bedtools                            jdnssec-tools                       pyinstaller
bee                                 jdupes                              pypy
bettercap                           jemalloc                            pypy3
bgpstream                           jena                                pyqt
bibtexconv                          jenkins                             pyside
bigloo                              jenkins-job-builder                 python-markdown
binaryen                            jenkins-lts                         python-yq
bind                                jetty                               pyvim
bindfs                              jfrog-cli-go                        qalculate-gtk
binwalk                             jhead                               qbs
biogeme                             jhipster                            qca
bison                               jigdo                               qemu
bit                                 jing-trang                          qhull
bitchx                              jinja2-cli                          qjackctl
bitcoin                             jlog                                qmmp
bitlbee                             jmeter                              qpdf
bitrise                             jmxterm                             qpid-proton
bitwarden-cli                       jnettop                             qrupdate
black                               john-jumbo                          qscintilla2
blink1                              joplin                              qsoas
blockhash                           jose                                qt
bluepill                            jpeg-turbo                          quantlib
blueutil                            jruby                               quazip
bnd                                 jsdoc3                              quex
bogofilter                          json-fortran                        quicktype
bookloupe                           json-glib                           qxmpp
boost-bcp                           jsoncpp                             r
boost-build                         jsonnet                             rabbitmq
boost-mpi                           jsonrpc-glib                        rabbitmq-c
boost-python                        jsonschema2pojo                     radare2
boost-python3                       jsvc                                rakudo
botan                               juise                               rancher-cli
bowtie2                             juju                                rancid
braid                               just                                range-v3
breezy                              jvgrep                              raylib
bro                                 kafka                               rbspy
btfs                                kafkacat                            rc
btparse                             kahip                               rclone
btpd                                kakoune                             rdesktop
buildifier                          kallisto                            rdup
buildkit                            kapacitor                           re-flex
buku                                kcov                                re2
bundletool                          kerl                                re2c
bup                                 khal                                reattach-to-user-namespace
burp                                kibana                              rebar3
bvi                                 kitchen-sync                        recode
byacc                               klavaro                             recon-ng
byobu                               knot                                redex
byteman                             kobalt                              redis
bzip2                               kompose                             redo
bzt                                 kops                                redpen
c-blosc                             kore                                redshift
cabal-install                       kotlin                              redsocks
cadaver                             kpcli                               remarshal
caddy                               krakend                             remctl
caf                                 krb5                                rename
caffe                               ktlint                              reop
cairo                               kube-aws                            repo
cairomm                             kubeaudit                           reposurgeon
cake                                kubecfg                             residualvm
calcurse                            kubectx                             restic
calicoctl                           kubeless                            restview
camlp4                              kubeprod                            rex
camlp5                              kubernetes-cli                      rhino
cargo-completion                    kubernetes-helm                     riemann
carrot2                             kubernetes-service-catalog-client   riff
cash-cli                            kubeseal                            ripgrep
cataclysm                           kubespy                             rke
catimg                              kustomize                           rmlint
cattle                              kvazaar                             robot-framework
cayley                              lablgtk                             rocksdb
cc65                                lammps                              rom-tools
ccache                              landscaper                          root
ccextractor                         languagetool                        roswell
ccls                                lasi                                rpm2cpio
ccm                                 lasso                               rrdtool
center-im                           lastpass-cli                        rsyslog
ceres-solver                        latex2html                          rtags
cern-ndiff                          latexml                             rtv
certbot                             launchdns                           ruby
certstrap                           lazygit                             ruby-build
cf4ocl                              lcm                                 ruby@2.4
cfengine                            ldapvi                              ruby@2.5
cfn-lint                            ldc                                 rush
cfr-decompiler                      ldid                                rust
cfssl                               ldns                                rustup-init
cgal                                lean-cli                            s-lang
cgdb                                ledger                              s-nail
cgit                                legit                               s2geometry
cglm                                lego                                s3-backer
cgrep                               lensfun                             s3ql
chafa                               lf                                  s6
chakra                              lftp                                sagittarius-scheme
chamber                             lgogdownloader                      saldl
chapel                              libbi                               salt
charm                               libbitcoin                          sane-backends
charm-tools                         libbitcoin-blockchain               sassc
cheat                               libbitcoin-client                   saxon
check                               libbitcoin-consensus                sbcl
checkbashisms                       libbitcoin-database                 sbjson
checkstyle                          libbitcoin-explorer                 sblim-sfcc
chicken                             libbitcoin-network                  sbt
chipmunk                            libbitcoin-node                     scala
chrome-export                       libbitcoin-protocol                 scalaenv
chronograf                          libbitcoin-server                   scalapack
cimg                                libbluray                           scalariform
circleci                            libcaca                             scamper
citus                               libchamplain                        sccache
cjdns                               libcouchbase                        sceptre
ckan                                libcroco                            scipy
clamav                              libdap                              scmpuff
clang-format                        libdazzle                           scons
clhep                               libdvbpsi                           scrcpy
cli53                               libdvdnav                           screen
clib                                libdvdread                          screenfetch
click                               libebml                             scrollkeeper
clingo                              libedit                             scrypt
cloc                                liberasurecode                      scummvm
clojure                             libetpan                            scummvm-tools
closure-compiler                    libev                               scw
clozure-cl                          libevent                            sd
clutter                             libewf                              sdb
clutter-gst                         libexosip                           sdcv
clutter-gtk                         libfabric                           sdhash
cmark-gfm                           libfaketime                         sdl2
cmatrix                             libfixbuf                           sdl2_image
cmix                                libfreefare                         sdlpop
cmus                                libftdi                             sec
cnats                               libgcrypt                           ser2net
cockroach                           libgda                              serd
cocoapods                           libgdata                            serf
cogl                                libgee                              serverless
cointop                             libgig                              sf-pwgen
collectd                            libgit2                             sfcgal
collector-sidecar                   libglade                            sfk
commandbox                          libglademm                          sflowtool
compcert                            libgnomecanvas                      
composer                            libgnomecanvasmm                    shairport
conan                               libgphoto2                          shairport-sync
configen                            libgsf                              shared-mime-info
conjure-up                          libgtop                             shc
conserver                           libgweather                         shellcheck
consul                              libhdhomerun                        shellharden
consul-template                     libheif                             shellinabox
convox                              libhttpseverywhere                  shibboleth-sp
coq                                 libical                             ship
corectl                             libidl                              shogun
corsixth                            libidn2                             siege
coturn                              libimagequant                       signal-cli
cpansearch                          libimobiledevice                    sile
cppad                               libinfinity                         silk
cppcheck                            libiodbc                            simgrid
cpprestsdk                          libiptcdata                         simh
cql                                 libiscsi                            simple-scan
cracklib                            libjson-rpc-cpp                     simple-tiles
crc32c                              libjwt                              singular
credstash                           liblcf                              sip
creduce                             liblockfile                         sipp
cromwell                            liblqr                              sipsak
crosstool-ng                        liblunar                            siril
crowdin                             libmaa                              sispmctl
cryfs                               libmatio                            sk
cryptol                             libmatroska                         skaffold
crystal                             libmaxminddb                        skafos
crystal-icr                         libmodbus                           ski
csound                              libmowgli                           skinny
cubelib                             libmp3splt                          skktools
cucumber-cpp                        libmpd                              skopeo
curl                                libmpdclient                        sleepwatcher
curl-openssl                        libmxml                             sleuthkit
curlftpfs                           libmypaint                          slowhttptest
cutter                              libnice                             slrn
cypher-shell                        libnids                             smali
cython                              libnotify                           sn0int
dark-mode                           liboauth                            snakemake
dartsim                             libomp                              snapcraft
dasm                                libopendkim                         sngrep
datamash                            libopenmpt                          snort
datetime-fortran                    libosinfo                           snownews
dav1d                               libosip                             socat
davix                               libosmium                           sofia-sip
davmail                             libp11                              softhsm
dbhash                              libpcap                             solarus
dbus                                libpeas                             solr
dbus-glib                           libphonenumber                      solr@7.7
dc3dd                               libpq                               sonar-scanner
dcd                                 libpqxx                             sonarqube
dcm2niix                            libpsl                              sonarqube-lts
dcmtk                               libpst                              sonobuoy
dcos-cli                            libpulsar                           sops
ddgr                                libqalculate                        source-highlight
deark                               libquicktime                        source-to-image
debianutils                         libraw                              sourcedocs
dehydrated                          librdkafka                          sourcekitten
dep                                 libre                               sourcery
dependency-check                    librealsense                        spatialindex
desktop-file-utils                  librem                              spdlog
dfc                                 libressl                            spdylay
dhall                               librest                             speedtest-cli
dhall-json                          librsvg                             sphinx
di                                  librsync                            spice-protocol
dialog                              libsass                             spigot
diamond                             libsbol                             spim
dieharder                           libsecret                           spin
diff-pdf                            libshout                            spiped
diff-so-fancy                       libsigc++                           spirv-cross
diffoscope                          libsignal-protocol-c                sqlcipher
digdag                              libslax                             sqldiff
direvent                            libsmf                              sqlite-analyzer
diskus                              libsodium                           sqlmap
distcc                              libsoup                             squashfs
dita-ot                             libspectre                          squid
django-completion                   libspectrum                         src
dmd                                 libssh                              srt
dmg2img                             libssh2                             ssh-audit
dmtx-utils                          libstatgrab                         ssh-permit-a38
dnscontrol                          libstrophe                          sshfs
dnscrypt-proxy                      libsvm                              sshguard
dnscrypt-wrapper                    libswiften                          sshtrix
dnsperf                             libtasn1                            ssldump
dnstwist                            libtensorflow                       sslh
dnsviz                              libtins                             sslsplit
docfx                               libtommath                          sstp-client
docker                              libtorrent-rasterbar                stanford-ner
docker-completion                   libtrace                            stanford-parser
docker-compose                      libu2f-host                         stella
docker-compose-completion           libu2f-server                       stellar-core
docker-credential-helper            libuninameslist                     step
docker-credential-helper-ecr        libusb                              stern
docker-machine                      libuv                               stgit
docker-machine-completion           libvirt                             stolon
docker-machine-nfs                  libvirt-glib                        stone-soup
docker-squash                       libvisio                            storm
doctl                               libvmaf                             stormssh
docutils                            libvoikko                           stow
doitlive                            libvterm                            streamlink
dopewars                            libwebsockets                       streamripper
dos2unix                            libxkbcommon                        stress-ng
dosbox                              libxlsxwriter                       strongswan
dosbox-x                            libxml++                            stunnel
double-conversion                   libxml++3                           stuntman
dovecot                             libxmlsec1                          subnetcalc
dpkg                                libzdb                              subversion
drafter                             lightning                           subversion@1.8
dscanner                            lighttpd                            suil
dspdfviewer                         link-grammar                        suite-sparse
dtc                                 linkerd                             sundials
dub                                 links                               supervisor
duc                                 liquibase                           suricata
duck                                liquid-dsp                          svgo
duo_unix                            lldpd                               svtplay-dl
duplicity                           llvm                                swagger-codegen
dvdauthor                           llvm@6                              swagger-codegen@2
dvdbackup                           llvm@7                              swaks
dwdiff                              lmdb                                swi-prolog
dxpy                                lmod                                swift-protobuf
dyld-headers                        lnav                                swiftformat
dylibbundler                        log4cplus                           swiftlint
dynamips                            log4shib                            swig
dynare                              logcheck                            swimat
e2fsprogs                           logrotate                           sylpheed
easy-tag                            logstash                            sync_gateway
ecasound                            logtalk                             syncthing
eccodes                             lolcat                              synfig
efl                                 loudmouth                           sysbench
eiffelstudio                        lsd                                 sysdig
ejabberd                            lsdvd                               tag
ekg2                                lsof                                talloc
elasticsearch                       luarocks                            tarantool
elektra                             luvit                               tarsnap
eless                               lwtools                             taskell
elinks                              lxc                                 tbb
elixir                              lynis                               tcl-tk
elm-format                          lynx                                tcpdump
emacs                               lz4                                 tcpflow
embree                              mackup                              tdlib
embulk                              macvim                              tealdeer
emscripten                          mafft                               tectonic
encfs                               mage                                teleconsole
enchant                             magic-wormhole                      telegraf
enigma                              mailutils                           telegram-cli
enscript                            makensis                            teleport
entr                                makepkg                             template-glib
envconsul                           mame                                tenyr
epic5                               mariadb                             tepl
eprover                             mariadb-connector-c                 termius
epubcheck                           mariadb-connector-odbc              termtosvg
eralchemy                           mariadb@10.1                        terraform
erlang                              mariadb@10.2                        terraform-inventory
erlang@20                           mat2                                terragrunt
eslint                              math-comp                           terrahub
esptool                             maven                               tesseract
etcd                                mawk                                testdisk
ethereum                            maxima                              testssl
ettercap                            maxwell                             texinfo
evince                              mbedtls                             tfenv
exa                                 mcabber                             thefuck
exempi                              md5sha1sum                          theharvester
exercism                            mdbook                              thors-serializer
exiftool                            mdbtools                            thrift
exim                                mdds                                tiger-vnc
exiv2                               mdk                                 tika
expat                               media-info                          tile38
exploitdb                           mediaconch                          tinc
eye-d3                              mednafen                            tintin
f3                                  megacmd                             tiny-fugue
faas-cli                            megatools                           tinyxml2
fabio                               memcached                           tmate
fabric                              memcacheq                           tmpreaper
fastjar                             menhir                              tmux
fasttext                            mercurial                           tmux-xpanes
faudio                              mesa                                tmuxinator-completion
fauna-shell                         meson                               todoman
fb-client                           mesos                               tokei
fceux                               metabase                            tomcat
fd                                  metaproxy                           tomcat-native
fdroidserver                        metricbeat                          tomcat@7
feedgnuplot                         mfterm                              tomcat@8
feh                                 mg                                  tomee-plus
fetchmail                           mgba                                tomee-webprofile
ffmpeg@2.8                          micronaut                           topgit
ffmpegthumbnailer                   micropython                         topgrade
ffsend                              midgard2                            tor
fibjs                               midnight-commander                  tox
fig2dev                             mighttpd2                           traefik
file-roller                         mikutter                            trafficserver
findutils                           mill                                transcrypt
fio                                 miller                              translate-shell
firebase-cli                        minbif                              translate-toolkit
flac                                mingw-w64                           treefrog
flake8                              minimal-racket                      trezor-agent
flashrom                            minio                               triton
flatcc                              minio-mc                            ttyd
flawfinder                          miniserve                           tundra
flex                                minizinc                            tunnel
flintrock                           mint                                tvnamer
flow                                mit-scheme                          twarc
flowgrind                           mitmproxy                           twemcache
fluid-synth                         mk-configure                        twine-pypi
fluxctl                             mkcert                              two-lame
flyway                              mkl-dnn                             txr
fmt                                 mksh                                typescript
fn                                  mktorrent                           u-boot-tools
fobis                               mkvtoolnix                          ucloud
folly                               mlkit                               udunits
fontforge                           mlt                                 ufraw
fonttools                           mm-common                           uftp
fork-cleaner                        mmark                               uhd
fossil                              mmseqs2                             unbound
fourstore                           moarvm                              uncrustify
fpp                                 mockserver                          ungit
fq                                  moco                                unoconv
fragroute                           modgit                              unrar
freeciv                             modules                             unrtf
freediameter                        moe                                 unshield
freedink                            molecule                            unzip
freeipmi                            monero                              upscaledb
freeradius-server                   monetdb                             uptimed
freetds                             mongo-c-driver                      urdfdom_headers
frpc                                mongoose                            urh
frps                                monit                               uriparser
frugal                              monitoring-plugins                  urweb
fs-uae                              monkeysphere                        userspace-rcu
fselect                             mono                                util-linux
fstrm                               mono-libgdiplus                     utimer
fuse-emulator                       mosh                                uwsgi
fuse-zip                            mosquitto                           
fuseki                              mp3cat                              v8
futhark                             mp3splt                             vagrant-completion
fwup                                mpd                                 vala
fx                                  mpdscribble                         valabind
gabedit                             mpg123                              valgrind
gambit-scheme                       mpich                               vamp-plugin-sdk
gammaray                            mpop                                vapoursynth
gammu                               mpv                                 vapoursynth-imwri
gauche                              mrboom                              vapoursynth-ocr
gauge                               msgpack                             vapoursynth-sub
gawk                                msitools                            varnish
gbdfed                              msktutil                            vault
gcab                                msmtp                               vault-cli
gcc                                 mtr                                 vaulted
gcsfuse                             mu                                  vegeta
gdal                                mujs                                velero
gdcm                                mupdf                               verilator
gdk-pixbuf                          mutt                                vert.x
gdl                                 mvnvm                               vfuse
gdmap                               mycli                               vgmstream
gdub                                mydumper                            vice
geant4                              mypy                                viewvc
gearman                             mysql++                             vifm
gearsystem                          mysql-client                        vim
geckodriver                         mysql-connector-c++                 vim@7.4
gecode                              mysql@5.6                           vimpc
gedit                               mysql@5.7                           vips
gegl                                mysqltuner                          visp
gengetopt                           mytop                               vit
genometools                         n                                   vitetris
geographiclib                       nagios                              vmtouch
geoipupdate                         nagios-plugins                      vnstat
geos                                nano                                volatility
geoserver                           nanopb-generator                    volt
gerbil-scheme                       nativefier                          vowpal-wabbit
gerbv                               nats-streaming-server               vte
get_iplayer                         nave                                vte3
getdns                              ncdc                                vtk
getmail                             ncdu                                vttest
getxbook                            ncmpc                               vulkan-headers
ghc                                 ncmpcpp                             vultr
ghex                                nco                                 wabt
ghostscript                         ncrack                              wandio
ghq                                 ncview                              wartremover
ghr                                 ne                                  watchexec
gibo                                neatvi                              watchman
gifski                              needle                              watson
ginac                               neko                                wcslib
git                                 neo4j                               wdc
git-absorb                          neofetch                            wdfs
git-annex                           neomutt                             wdiff
git-cinnabar                        neon                                webdis
git-cola                            neovim                              webp
git-crypt                           net-snmp                            webpack
git-extras                          netdata                             websocat
git-flow-avh                        nethack                             websocketd
git-fresh                           newsboat                            webtorrent-cli
git-ftp                             newt                                weechat
git-lfs                             nfdump                              wesnoth
git-quick-stats                     nghttp2                             wgetpaste
git-recent                          nginx                               whois
git-remote-hg                       ngircd                              widelands
git-review                          nickle                              wildfly-as
git-secret                          nifi                                wimlib
git-series                          nifi-registry                       wine
git-town                            nim                                 winetricks
gitbucket                           nlohmann-json                       wiredtiger
gitfs                               nlopt                               wireguard-go
gitg                                nmap                                wireguard-tools
gitlab-gem                          nmh                                 wiremock-standalone
gitlab-runner                       nnn                                 wireshark
gitleaks                            node-build                          wla-dx
gitless                             node@10                             wmctrl
gitmoji                             node_exporter                       wolfssl
gitup                               nodenv                              wp-cli
gitversion                          nomad                               wp-cli-completion
gjs                                 nopoll                              wsk
gkrellm                             noti                                wskdeploy
glade                               notmuch                             wtf
glances                             nqp                                 wv
glib                                nrpe                                wxmac
glib-networking                     nsd                                 wxmaxima
glib-openssl                        nspr                                wxpython
glibmm                              nsq                                 x11vnc
glide                               nss                                 x265
globus-toolkit                      ntfs-3g                             x3270
glooctl                             ntl                                 xa
gloox                               ntp                                 xapian
glslang                             nu                                  xboard
glyr                                nuget                               xcodegen
gmic                                numpy                               xctool
gmime                               nvm                                 xdot
gmsh                                nwchem                              xmake
gmt                                 nylon                               xml-security-c
gnome-autoar                        nyx                                 xml-tooling-c
gnome-builder                       nzbget                              xmount
gnome-latex                         oath-toolkit                        xmrig
gnome-recipes                       ocaml                               xonsh
gnome-themes-standard               ocaml-findlib                       xorriso
gnu-apl                             ocaml-num                           xpdf
gnu-getopt                          ocamlbuild                          xrootd
gnu-indent                          ocamlsdl                            xsane
gnu-typist                          ocproxy                             xsimd
gnu-units                           ocrad                               xtensor
gnumeric                            ocrmypdf                            xxhash
gnunet                              octave                              yacas
gnupg                               ode                                 yaf
gnupg-pkcs11-scd                    odpi                                yafc
gnuplot                             offlineimap                         yaml-cpp
gnuradio                            ola                                 yamllint
gnutls                              omega                               yank
go-bindata                          omniorb                             yara
go-jira                             oniguruma                           yash
go@1.11                             onscripter                          yaws
goaccess                            ooniprobe                           yaz
gobby                               opa                                 ydcv
gobject-introspection               opam                                yelp-tools
gobuster                            open-babel                          ykman
gocryptfs                           open-jtalk                          ykpers
godep                               open-mesh                           yle-dl
goffice                             open-mpi                            yosys
golang-migrate                      open-zwave                          you-get
gom                                 openapi-generator                   youtube-dl
gomplate                            openblas                            yq
goocanvas                           opencascade                         yubico-piv-tool
goofys                              opencoarrays                        z3
google-authenticator-libpam         opencolorio                         zabbix
googler                             openconnect                         zabbix-cli
gopass                              opencv                              zbackup
goreleaser                          opencv@2                            zbar
goreman                             opencv@3                            zboy
gosu                                openfortivpn                        zelda-roth-se
gpa                                 openh264                            zenity
gpac                                openhmd                             zig
gpgme                               openimageio                         zim
gphoto2                             openjazz                            zimg
gpredict                            openldap                            zint
gpsbabel                            openrct2                            zita-convolver
gpsim                               opensaml                            zlog
gqview                              opensc                              znc
gr-osmosdr                          openshift-cli                       zola
gradio                              openslide                           zookeeper
grafana                             openssh                             zsdx
grails                              openssl@1.1                         zsh-autosuggestions
grakn                               opensubdiv                          zsh-completions
graph-tool                          opentracing-cpp                     zsh-history-substring-search
graphene                            openttd                             zshdb
graphviz                            openvdb                             zsxd
grok                                openvpn                             zurl
gromacs                             operator-sdk                        zydis
==> Renamed Formulae
confluent-oss -> confluent-platform                   presto -> prestodb
gnatsd -> nats-server                                 transmission -> transmission-cli
jupyter -> jupyterlab
==> Deleted Formulae
aiccu                      gmt@4                      mariadb@10.0               protobuf@3.1
bdsup2sub                  gmtl                       mongodb                    scala@2.10
cclive                     guile@2.0                  mongodb@3.0                skipfish
cherokee                   httest                     mongodb@3.2                smlnj
compose2kube               irods                      mongodb@3.4                supersonic
csup                       konoha                     mongodb@3.6                swig@3.04
ctunnel                    kontena                    mysql-cluster              taisei
dcal                       libggz                     mysql@5.5                  thc-pptp-bruter
dsd                        libguess                   nordugrid-arc              tlsdate
engine_pkcs11              liblacewing                packetbeat                 tn5250
erlang@18                  libopkele                  pbrt                       varnish@4
frag_find                  llvm@3.9                   percona-server-mongodb     voms
freetds@0.91               llvm@5                     pincaster                  whirr
ftimes                     lysp                       postgres-xc                xar-mackyle

Warning: pkg-config 0.29.2 is already installed and up-to-date
To reinstall 0.29.2, run `brew reinstall pkg-config`
localhost:~ $

View Code

6、安装GTK+3.0

localhost:~ $ brew install gtk+3
Mac OS安装GTK+3.0
Mac OS安装GTK+3.0

localhost:~  $ brew install gtk+3
==> Installing dependencies for gtk+3: gettext, libffi, pcre, openssl@1.1, readline, sqlite, python, glib, atk, jpeg, libpng, libtiff, gdk-pixbuf, gsettings-desktop-schemas, hicolor-icon-theme, libepoxy, freetype, fontconfig, lzo, pixman, cairo, fribidi, graphite2, icu4c, harfbuzz and pango
==> Installing gtk+3 dependency: gettext
==> Downloading https://homebrew.bintray.com/bottles/gettext-0.20.1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/fa/fa2096f80238b8f4d9f3724d526626ab4db5c0586f3746ee13fc66e
######################################################################## 100.0%
==> Pouring gettext-0.20.1.mojave.bottle.tar.gz
==> Caveats
gettext is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD gettext library & some software gets confused if both are in the library path.

If you need to have gettext first in your PATH run:
  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile

For compilers to find gettext you may need to set:
  export LDFLAGS="-L/usr/local/opt/gettext/lib"
  export CPPFLAGS="-I/usr/local/opt/gettext/include"

==> Summary
????  /usr/local/Cellar/gettext/0.20.1: 1,899 files, 18.5MB
==> Installing gtk+3 dependency: libffi
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.2.1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libffi-3.2.1.mojave.bottle.tar.gz
==> Caveats
libffi is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.

For compilers to find libffi you may need to set:
  export LDFLAGS="-L/usr/local/opt/libffi/lib"

For pkg-config to find libffi you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"

==> Summary
????  /usr/local/Cellar/libffi/3.2.1: 16 files, 296.8KB
==> Installing gtk+3 dependency: pcre
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.43.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/08/08e7414a7641d1e184c936537ff67f72f52649374d2308b896d4146
######################################################################## 100.0%
==> Pouring pcre-8.43.mojave.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/pcre-config
Target /usr/local/bin/pcre-config
already exists. You may want to remove it:
  rm '/usr/local/bin/pcre-config'

To force the link and overwrite all conflicting files:
  brew link --overwrite pcre

To list all files that would be deleted:
  brew link --overwrite --dry-run pcre

Possible conflicting files are:
/usr/local/bin/pcre-config
/usr/local/bin/pcregrep
/usr/local/bin/pcretest
/usr/local/include/pcre.h
/usr/local/include/pcre_scanner.h
/usr/local/include/pcre_stringpiece.h
/usr/local/include/pcrecpp.h
/usr/local/include/pcrecpparg.h
/usr/local/include/pcreposix.h
/usr/local/share/man/man1/pcre-config.1
/usr/local/share/man/man1/pcregrep.1
/usr/local/share/man/man1/pcretest.1
/usr/local/share/man/man3/pcre.3
/usr/local/share/man/man3/pcre16.3
/usr/local/share/man/man3/pcre16_assign_jit_stack.3 -> /usr/local/share/man/man3/pcre_assign_jit_stack.3
/usr/local/share/man/man3/pcre16_compile.3 -> /usr/local/share/man/man3/pcre_compile.3
/usr/local/share/man/man3/pcre16_compile2.3 -> /usr/local/share/man/man3/pcre_compile2.3
/usr/local/share/man/man3/pcre16_config.3 -> /usr/local/share/man/man3/pcre_config.3
/usr/local/share/man/man3/pcre16_copy_named_substring.3 -> /usr/local/share/man/man3/pcre_copy_named_substring.3
/usr/local/share/man/man3/pcre16_copy_substring.3 -> /usr/local/share/man/man3/pcre_copy_substring.3
/usr/local/share/man/man3/pcre16_dfa_exec.3 -> /usr/local/share/man/man3/pcre_dfa_exec.3
/usr/local/share/man/man3/pcre16_exec.3 -> /usr/local/share/man/man3/pcre_exec.3
/usr/local/share/man/man3/pcre16_free_study.3 -> /usr/local/share/man/man3/pcre_free_study.3
/usr/local/share/man/man3/pcre16_free_substring.3 -> /usr/local/share/man/man3/pcre_free_substring.3
/usr/local/share/man/man3/pcre16_free_substring_list.3 -> /usr/local/share/man/man3/pcre_free_substring_list.3
/usr/local/share/man/man3/pcre16_fullinfo.3 -> /usr/local/share/man/man3/pcre_fullinfo.3
/usr/local/share/man/man3/pcre16_get_named_substring.3 -> /usr/local/share/man/man3/pcre_get_named_substring.3
/usr/local/share/man/man3/pcre16_get_stringnumber.3 -> /usr/local/share/man/man3/pcre_get_stringnumber.3
/usr/local/share/man/man3/pcre16_get_stringtable_entries.3 -> /usr/local/share/man/man3/pcre_get_stringtable_entries.3
/usr/local/share/man/man3/pcre16_get_substring.3 -> /usr/local/share/man/man3/pcre_get_substring.3
/usr/local/share/man/man3/pcre16_get_substring_list.3 -> /usr/local/share/man/man3/pcre_get_substring_list.3
/usr/local/share/man/man3/pcre16_jit_exec.3 -> /usr/local/share/man/man3/pcre_jit_exec.3
/usr/local/share/man/man3/pcre16_jit_stack_alloc.3 -> /usr/local/share/man/man3/pcre_jit_stack_alloc.3
/usr/local/share/man/man3/pcre16_jit_stack_free.3 -> /usr/local/share/man/man3/pcre_jit_stack_free.3
/usr/local/share/man/man3/pcre16_maketables.3 -> /usr/local/share/man/man3/pcre_maketables.3
/usr/local/share/man/man3/pcre16_pattern_to_host_byte_order.3 -> /usr/local/share/man/man3/pcre_pattern_to_host_byte_order.3
/usr/local/share/man/man3/pcre16_refcount.3 -> /usr/local/share/man/man3/pcre_refcount.3
/usr/local/share/man/man3/pcre16_study.3 -> /usr/local/share/man/man3/pcre_study.3
/usr/local/share/man/man3/pcre16_utf16_to_host_byte_order.3 -> /usr/local/share/man/man3/pcre_utf16_to_host_byte_order.3
/usr/local/share/man/man3/pcre16_version.3 -> /usr/local/share/man/man3/pcre_version.3
/usr/local/share/man/man3/pcre32.3
/usr/local/share/man/man3/pcre32_assign_jit_stack.3 -> /usr/local/share/man/man3/pcre_assign_jit_stack.3
/usr/local/share/man/man3/pcre32_compile.3 -> /usr/local/share/man/man3/pcre_compile.3
/usr/local/share/man/man3/pcre32_compile2.3 -> /usr/local/share/man/man3/pcre_compile2.3
/usr/local/share/man/man3/pcre32_config.3 -> /usr/local/share/man/man3/pcre_config.3
/usr/local/share/man/man3/pcre32_copy_named_substring.3 -> /usr/local/share/man/man3/pcre_copy_named_substring.3
/usr/local/share/man/man3/pcre32_copy_substring.3 -> /usr/local/share/man/man3/pcre_copy_substring.3
/usr/local/share/man/man3/pcre32_dfa_exec.3 -> /usr/local/share/man/man3/pcre_dfa_exec.3
/usr/local/share/man/man3/pcre32_exec.3 -> /usr/local/share/man/man3/pcre_exec.3
/usr/local/share/man/man3/pcre32_free_study.3 -> /usr/local/share/man/man3/pcre_free_study.3
/usr/local/share/man/man3/pcre32_free_substring.3 -> /usr/local/share/man/man3/pcre_free_substring.3
/usr/local/share/man/man3/pcre32_free_substring_list.3 -> /usr/local/share/man/man3/pcre_free_substring_list.3
/usr/local/share/man/man3/pcre32_fullinfo.3 -> /usr/local/share/man/man3/pcre_fullinfo.3
/usr/local/share/man/man3/pcre32_get_named_substring.3 -> /usr/local/share/man/man3/pcre_get_named_substring.3
/usr/local/share/man/man3/pcre32_get_stringnumber.3 -> /usr/local/share/man/man3/pcre_get_stringnumber.3
/usr/local/share/man/man3/pcre32_get_stringtable_entries.3 -> /usr/local/share/man/man3/pcre_get_stringtable_entries.3
/usr/local/share/man/man3/pcre32_get_substring.3 -> /usr/local/share/man/man3/pcre_get_substring.3
/usr/local/share/man/man3/pcre32_get_substring_list.3 -> /usr/local/share/man/man3/pcre_get_substring_list.3
/usr/local/share/man/man3/pcre32_jit_exec.3 -> /usr/local/share/man/man3/pcre_jit_exec.3
/usr/local/share/man/man3/pcre32_jit_stack_alloc.3 -> /usr/local/share/man/man3/pcre_jit_stack_alloc.3
/usr/local/share/man/man3/pcre32_jit_stack_free.3 -> /usr/local/share/man/man3/pcre_jit_stack_free.3
/usr/local/share/man/man3/pcre32_maketables.3 -> /usr/local/share/man/man3/pcre_maketables.3
/usr/local/share/man/man3/pcre32_pattern_to_host_byte_order.3 -> /usr/local/share/man/man3/pcre_pattern_to_host_byte_order.3
/usr/local/share/man/man3/pcre32_refcount.3 -> /usr/local/share/man/man3/pcre_refcount.3
/usr/local/share/man/man3/pcre32_study.3 -> /usr/local/share/man/man3/pcre_study.3
/usr/local/share/man/man3/pcre32_utf32_to_host_byte_order.3 -> /usr/local/share/man/man3/pcre_utf32_to_host_byte_order.3
/usr/local/share/man/man3/pcre32_version.3 -> /usr/local/share/man/man3/pcre_version.3
/usr/local/share/man/man3/pcre_assign_jit_stack.3
/usr/local/share/man/man3/pcre_compile.3
/usr/local/share/man/man3/pcre_compile2.3
/usr/local/share/man/man3/pcre_config.3
/usr/local/share/man/man3/pcre_copy_named_substring.3
/usr/local/share/man/man3/pcre_copy_substring.3
/usr/local/share/man/man3/pcre_dfa_exec.3
/usr/local/share/man/man3/pcre_exec.3
/usr/local/share/man/man3/pcre_free_study.3
/usr/local/share/man/man3/pcre_free_substring.3
/usr/local/share/man/man3/pcre_free_substring_list.3
/usr/local/share/man/man3/pcre_fullinfo.3
/usr/local/share/man/man3/pcre_get_named_substring.3
/usr/local/share/man/man3/pcre_get_stringnumber.3
/usr/local/share/man/man3/pcre_get_stringtable_entries.3
/usr/local/share/man/man3/pcre_get_substring.3
/usr/local/share/man/man3/pcre_get_substring_list.3
/usr/local/share/man/man3/pcre_jit_exec.3
/usr/local/share/man/man3/pcre_jit_stack_alloc.3
/usr/local/share/man/man3/pcre_jit_stack_free.3
/usr/local/share/man/man3/pcre_maketables.3
/usr/local/share/man/man3/pcre_pattern_to_host_byte_order.3
/usr/local/share/man/man3/pcre_refcount.3
/usr/local/share/man/man3/pcre_study.3
/usr/local/share/man/man3/pcre_utf16_to_host_byte_order.3
/usr/local/share/man/man3/pcre_utf32_to_host_byte_order.3
/usr/local/share/man/man3/pcre_version.3
/usr/local/share/man/man3/pcreapi.3
/usr/local/share/man/man3/pcrebuild.3
/usr/local/share/man/man3/pcrecallout.3
/usr/local/share/man/man3/pcrecompat.3
/usr/local/share/man/man3/pcrecpp.3
/usr/local/share/man/man3/pcredemo.3
/usr/local/share/man/man3/pcrejit.3
/usr/local/share/man/man3/pcrelimits.3
/usr/local/share/man/man3/pcrematching.3
/usr/local/share/man/man3/pcrepartial.3
/usr/local/share/man/man3/pcrepattern.3
/usr/local/share/man/man3/pcreperform.3
/usr/local/share/man/man3/pcreposix.3
/usr/local/share/man/man3/pcreprecompile.3
/usr/local/share/man/man3/pcresample.3
/usr/local/share/man/man3/pcrestack.3
/usr/local/share/man/man3/pcresyntax.3
/usr/local/share/man/man3/pcreunicode.3
/usr/local/lib/libpcre.1.dylib
/usr/local/lib/libpcre.a
/usr/local/lib/libpcre.dylib -> /usr/local/lib/libpcre.1.dylib
/usr/local/lib/libpcrecpp.0.dylib
/usr/local/lib/libpcrecpp.a
/usr/local/lib/libpcrecpp.dylib -> /usr/local/lib/libpcrecpp.0.dylib
/usr/local/lib/libpcreposix.0.dylib
/usr/local/lib/libpcreposix.a
/usr/local/lib/libpcreposix.dylib -> /usr/local/lib/libpcreposix.0.dylib
/usr/local/lib/pkgconfig/libpcre.pc
/usr/local/lib/pkgconfig/libpcrecpp.pc
/usr/local/lib/pkgconfig/libpcreposix.pc
==> Summary
????  /usr/local/Cellar/pcre/8.43: 204 files, 5.5MB
==> Installing gtk+3 dependency: openssl@1.1
==> Downloading https://homebrew.bintray.com/bottles/openssl@1.1-1.1.1d.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/10/104ef018b7bb8fcc49f57e5a60359a28a02d480d85a959e6141394b
######################################################################## 100.0%
==> Pouring openssl@1.1-1.1.1d.mojave.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl@1.1/certs

and run
  /usr/local/opt/openssl@1.1/bin/c_rehash

openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because openssl/libressl is provided by macOS so don't link an incompatible version.

If you need to have openssl@1.1 first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl@1.1 you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"

For pkg-config to find openssl@1.1 you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"

==> Summary
????  /usr/local/Cellar/openssl@1.1/1.1.1d: 7,983 files, 17.9MB
==> Installing gtk+3 dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-8.0.1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/3c/3c754391e9d243835811d128771ca0f1a565024100fd2c287153435
######################################################################## 100.0%
==> Pouring readline-8.0.1.mojave.bottle.tar.gz
==> Caveats
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

For compilers to find readline you may need to set:
  export LDFLAGS="-L/usr/local/opt/readline/lib"
  export CPPFLAGS="-I/usr/local/opt/readline/include"

For pkg-config to find readline you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"

==> Summary
????  /usr/local/Cellar/readline/8.0.1: 48 files, 1.5MB
==> Installing gtk+3 dependency: sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.30.1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/5e/5e6fef2d754e0e4009d502c40ad1846ac46937886b5f3fe89378cb8
######################################################################## 100.0%
==> Pouring sqlite-3.30.1.mojave.bottle.tar.gz
==> Caveats
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have sqlite first in your PATH run:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find sqlite you may need to set:
  export LDFLAGS="-L/usr/local/opt/sqlite/lib"
  export CPPFLAGS="-I/usr/local/opt/sqlite/include"

For pkg-config to find sqlite you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/sqlite/lib/pkgconfig"

==> Summary
????  /usr/local/Cellar/sqlite/3.30.1: 11 files, 3.9MB
==> Installing gtk+3 dependency: python
==> Downloading https://homebrew.bintray.com/bottles/python-3.7.5.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/bc/bcbdc3612a10d06facca7ec9499265731d530c8273b1a2dc28f1625
######################################################################## 100.0%
==> Pouring python-3.7.5.mojave.bottle.tar.gz
==> /usr/local/Cellar/python/3.7.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --insta
==> /usr/local/Cellar/python/3.7.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --insta
==> /usr/local/Cellar/python/3.7.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --insta
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python/libexec/bin

If you need Homebrew's Python 2.7 run
  brew install python@2

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /usr/local/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
????  /usr/local/Cellar/python/3.7.5: 3,972 files, 60.7MB
==> Installing gtk+3 dependency: glib
==> Downloading https://homebrew.bintray.com/bottles/glib-2.62.2.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/76/76dd1095c8376fe635b517055f5f82e34838f1cdf05cd8440dea071
######################################################################## 100.0%
==> Pouring glib-2.62.2.mojave.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
????  /usr/local/Cellar/glib/2.62.2: 435 files, 15.4MB
==> Installing gtk+3 dependency: atk
==> Downloading https://homebrew.bintray.com/bottles/atk-2.34.1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/48/481a81e57b58fd84251bd10a364433c5558802084f2dc4e459515b2
######################################################################## 100.0%
==> Pouring atk-2.34.1.mojave.bottle.tar.gz
????  /usr/local/Cellar/atk/2.34.1: 144 files, 2.5MB
==> Installing gtk+3 dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-9c.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/1d/1daa0fc0c197d96dd4e1afddb9ad576951a15aafd6b85138b8a6081
######################################################################## 100.0%
==> Pouring jpeg-9c.mojave.bottle.tar.gz
????  /usr/local/Cellar/jpeg/9c: 21 files, 733.4KB
==> Installing gtk+3 dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.37.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/53/53bbd14cc27c86c16605e256e7646a1b5656c253abca084958c5d80
######################################################################## 100.0%
==> Pouring libpng-1.6.37.mojave.bottle.tar.gz
????  /usr/local/Cellar/libpng/1.6.37: 27 files, 1.2MB
==> Installing gtk+3 dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.1.0.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/dd/dd060521aa30fb2f4678c9ebab6362104a9a705d098a90eac405974
######################################################################## 100.0%
==> Pouring libtiff-4.1.0.mojave.bottle.tar.gz
????  /usr/local/Cellar/libtiff/4.1.0: 247 files, 3.6MB
==> Installing gtk+3 dependency: gdk-pixbuf
==> Downloading https://homebrew.bintray.com/bottles/gdk-pixbuf-2.40.0.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/9d/9d9602f291e4023873a0f76cbff3e6c0de7456567ade57a178fad49
######################################################################## 100.0%
==> Pouring gdk-pixbuf-2.40.0.mojave.bottle.tar.gz
==> /usr/local/Cellar/gdk-pixbuf/2.40.0/bin/gdk-pixbuf-query-loaders --update-cache
????  /usr/local/Cellar/gdk-pixbuf/2.40.0: 149 files, 3.3MB
==> Installing gtk+3 dependency: gsettings-desktop-schemas
==> Downloading https://homebrew.bintray.com/bottles/gsettings-desktop-schemas-3.34.0.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/b4/b4ee2623616015199defc0693af6a1b5ca5e33db176057f0c45c831
######################################################################## 100.0%
==> Pouring gsettings-desktop-schemas-3.34.0.mojave.bottle.tar.gz
==> /usr/local/opt/glib/bin/glib-compile-schemas /usr/local/share/glib-2.0/schemas
????  /usr/local/Cellar/gsettings-desktop-schemas/3.34.0: 96 files, 4.2MB
==> Installing gtk+3 dependency: hicolor-icon-theme
==> Downloading https://homebrew.bintray.com/bottles/hicolor-icon-theme-0.17.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring hicolor-icon-theme-0.17.mojave.bottle.tar.gz
????  /usr/local/Cellar/hicolor-icon-theme/0.17: 7 files, 77.1KB
==> Installing gtk+3 dependency: libepoxy
==> Downloading https://homebrew.bintray.com/bottles/libepoxy-1.5.3.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/2e/2effda8b89a49b5dbd3860061666757e58ba982534e42507e29ea36
######################################################################## 100.0%
==> Pouring libepoxy-1.5.3.mojave.bottle.tar.gz
????  /usr/local/Cellar/libepoxy/1.5.3: 10 files, 3.1MB
==> Installing gtk+3 dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.10.1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/2f/2f5716f987df6f45a9d66e5f9af935bbb4202fe0b9850b6b0660fd6
######################################################################## 100.0%
==> Pouring freetype-2.10.1.mojave.bottle.tar.gz
????  /usr/local/Cellar/freetype/2.10.1: 61 files, 2.2MB
==> Installing gtk+3 dependency: fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.13.1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/1c/1c704a5a4249252bf42dc4f2a458f911a7858a931858ad257d9ec39
######################################################################## 100.0%
==> Pouring fontconfig-2.13.1.mojave.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /usr/local/Cellar/fontconfig/2.13.1/bin/fc-cache -frv
????  /usr/local/Cellar/fontconfig/2.13.1: 531 files, 3.3MB
==> Installing gtk+3 dependency: lzo
==> Downloading https://homebrew.bintray.com/bottles/lzo-2.10.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring lzo-2.10.mojave.bottle.tar.gz
????  /usr/local/Cellar/lzo/2.10: 31 files, 549.7KB
==> Installing gtk+3 dependency: pixman
==> Downloading https://homebrew.bintray.com/bottles/pixman-0.38.4.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/39/3990b771ee29451c8a9bcb6cb077205ae08adc0d5af2faebf29197d
######################################################################## 100.0%
==> Pouring pixman-0.38.4.mojave.bottle.tar.gz
????  /usr/local/Cellar/pixman/0.38.4: 13 files, 1.3MB
==> Installing gtk+3 dependency: cairo
==> Downloading https://homebrew.bintray.com/bottles/cairo-1.16.0_2.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/fc/fcda779381271541f623470a74b8b0164f1e83c9154b7b7f4ed2303
######################################################################## 100.0%
==> Pouring cairo-1.16.0_2.mojave.bottle.tar.gz
????  /usr/local/Cellar/cairo/1.16.0_2: 117 files, 5.5MB
==> Installing gtk+3 dependency: fribidi
==> Downloading https://homebrew.bintray.com/bottles/fribidi-1.0.7.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring fribidi-1.0.7.mojave.bottle.tar.gz
????  /usr/local/Cellar/fribidi/1.0.7: 66 files, 589.7KB
==> Installing gtk+3 dependency: graphite2
==> Downloading https://homebrew.bintray.com/bottles/graphite2-1.3.13.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring graphite2-1.3.13.mojave.bottle.tar.gz
????  /usr/local/Cellar/graphite2/1.3.13: 18 files, 232KB
==> Installing gtk+3 dependency: icu4c
==> Downloading https://homebrew.bintray.com/bottles/icu4c-64.2.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/e8/e858556120acc0c2d52b8fb572b677856724cc28d24a7e1b2762d45
######################################################################## 100.0%
==> Pouring icu4c-64.2.mojave.bottle.tar.gz
==> Caveats
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

==> Summary
????  /usr/local/Cellar/icu4c/64.2: 257 files, 69.2MB
==> Installing gtk+3 dependency: harfbuzz
==> Downloading https://homebrew.bintray.com/bottles/harfbuzz-2.6.4.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/b3/b3fb0c92dcc1bf0917903ce0adca5d4beffde1fe500e3c12098a48a
######################################################################## 100.0%
==> Pouring harfbuzz-2.6.4.mojave.bottle.tar.gz
????  /usr/local/Cellar/harfbuzz/2.6.4: 158 files, 10.8MB
==> Installing gtk+3 dependency: pango
==> Downloading https://homebrew.bintray.com/bottles/pango-1.44.7.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/64/643284e68fcb4699572e7ab327a16ae3eb1c242527a96cb404cd98f
######################################################################## 100.0%
==> Pouring pango-1.44.7.mojave.bottle.tar.gz
????  /usr/local/Cellar/pango/1.44.7: 62 files, 4.3MB
==> Installing gtk+3
==> Downloading https://homebrew.bintray.com/bottles/gtk+3-3.24.12_1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/51/5198ebdb8d360fbc1d70b980f99b189348db793aa7a694c79cd7445
######################################################################## 100.0%
==> Pouring gtk+3-3.24.12_1.mojave.bottle.tar.gz
==> /usr/local/opt/glib/bin/glib-compile-schemas /usr/local/share/glib-2.0/schemas
==> /usr/local/Cellar/gtk+3/3.24.12_1/bin/gtk3-update-icon-cache -f -t /usr/local/share/icons/hicolor
==> /usr/local/Cellar/gtk+3/3.24.12_1/bin/gtk-query-immodules-3.0 > /usr/local/lib/gtk-3.0/3.0.0/immodules
????  /usr/local/Cellar/gtk+3/3.24.12_1: 711 files, 52.2MB
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /usr/local/Cellar/fontconfig/2.11.1... (449 files, 2.6MB)
Removing: /usr/local/Cellar/freetype/2.6_1... (61 files, 2.5MB)
Removing: /usr/local/Cellar/freetype/2.7... (61 files, 2.4MB)
Removing: /usr/local/Cellar/fribidi/0.19.7... (61 files, 373.2KB)
Removing: /usr/local/Cellar/gettext/0.19.8.1... (1,935 files, 16.9MB)
Removing: /usr/local/Cellar/icu4c/63.1... (254 files, 68.4MB)
Removing: /usr/local/Cellar/jpeg/8d... (19 files, 730.8KB)
Removing: /usr/local/Cellar/libpng/1.6.18... (25 files, 1.2MB)
Removing: /usr/local/Cellar/libpng/1.6.26... (26 files, 1.2MB)
Removing: /usr/local/Cellar/libtiff/4.0.6... (261 files, 3.5MB)
Removing: /usr/local/Cellar/libtiff/4.0.6_3... (262 files, 3.4MB)
Removing: /usr/local/Cellar/pcre/8.39... (203 files, 5.4MB)
Removing: /usr/local/Cellar/python/3.7.3... (8,466 files, 118.8MB)
Removing: /usr/local/Cellar/readline/7.0.5... (46 files, 1.5MB)
Removing: /usr/local/Cellar/readline/8.0.0... (48 files, 1.5MB)
Removing: /usr/local/Cellar/sqlite/3.26.0... (11 files, 3.7MB)
Removing: /usr/local/Cellar/sqlite/3.27.2... (11 files, 3.7MB)
Pruned 0 symbolic links and 4 directories from /usr/local
==> Caveats
==> gettext
gettext is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD gettext library & some software gets confused if both are in the library path.

If you need to have gettext first in your PATH run:
  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile

For compilers to find gettext you may need to set:
  export LDFLAGS="-L/usr/local/opt/gettext/lib"
  export CPPFLAGS="-I/usr/local/opt/gettext/include"

==> libffi
libffi is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.

For compilers to find libffi you may need to set:
  export LDFLAGS="-L/usr/local/opt/libffi/lib"

For pkg-config to find libffi you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"

==> openssl@1.1
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl@1.1/certs

and run
  /usr/local/opt/openssl@1.1/bin/c_rehash

openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because openssl/libressl is provided by macOS so don't link an incompatible version.

If you need to have openssl@1.1 first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl@1.1 you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"

For pkg-config to find openssl@1.1 you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"

==> readline
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

For compilers to find readline you may need to set:
  export LDFLAGS="-L/usr/local/opt/readline/lib"
  export CPPFLAGS="-I/usr/local/opt/readline/include"

For pkg-config to find readline you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"

==> sqlite
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have sqlite first in your PATH run:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find sqlite you may need to set:
  export LDFLAGS="-L/usr/local/opt/sqlite/lib"
  export CPPFLAGS="-I/usr/local/opt/sqlite/include"

For pkg-config to find sqlite you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/sqlite/lib/pkgconfig"

==> python
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python/libexec/bin

If you need Homebrew's Python 2.7 run
  brew install python@2

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /usr/local/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> glib
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> icu4c
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

localhost:~ $ 

View Code

7、配置pkg-config

vim~/.bash_profile
export PKG_CONFIG_PATH="/usr/X11/lib/pkgconfig:/usr/local/Cellar/cairo/1.16.0_2/lib/pkgconfig/"
source ~/.bash_profile

 

版权声明:程序员胖胖胖虎阿 发表于 2022年9月23日 下午6:16。
转载请注明:Mac OS安装GTK+3.0 | 胖虎的工具箱-编程导航

相关文章

暂无评论

暂无评论...