美文网首页
学习笔记--------libimobiledevice

学习笔记--------libimobiledevice

作者: 吉林天师 | 来源:发表于2019-01-17 15:38 被阅读0次

libimobiledevice

XXXXXXXXXXXXXX$ brew install --HEAD libimobiledevice

Updating Homebrew...

==>Installing dependencies for libimobiledevice: readline, sqlite, xz, python, libxml2 and libtasn1


readline

==>Installing libimobiledevice dependency: readline

==>Downloading https://homebrew.bintray.com/bottles/readline-8.0.0.high_sierra.

######################################################################## 100.0%

==>Pouring readline-8.0.0.high_sierra.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.0: 48 files, 1.5MB


sqlite

==>Installing libimobiledevice dependency: sqlite

==>Downloading https://homebrew.bintray.com/bottles/sqlite-3.26.0_1.high_sierra

######################################################################## 100.0%

==>Pouring sqlite-3.26.0_1.high_sierra.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.26.0_1: 11 files, 3.7MB


xz

==>Installing libimobiledevice dependency: xz

==>Downloading https://homebrew.bintray.com/bottles/xz-5.2.4.high_sierra.bottle

######################################################################## 100.0%

==>Pouring xz-5.2.4.high_sierra.bottle.tar.gz

🍺  /usr/local/Cellar/xz/5.2.4: 92 files, 1MB


python

==>Installing libimobiledevice dependency: python

==>Downloading https://homebrew.bintray.com/bottles/python-3.7.2_1.high_sierra.

######################################################################## 100.0%

==>Pouring python-3.7.2_1.high_sierra.bottle.1.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/2to3

Target /usr/local/bin/2to3

already exists. You may want to remove it:

  rm '/usr/local/bin/2to3'

To force the link and overwrite all conflicting files:

  brew link --overwrite python

To list all files that would be deleted:

  brew link --overwrite --dry-run python

Possible conflicting files are:

/usr/local/bin/2to3 -> /Library/Frameworks/Python.framework/Versions/2.7/bin/2to3

==>/usr/local/Cellar/python/3.7.2_1/bin/python3 -s setup.py --no-user-cfg insta

==>/usr/local/Cellar/python/3.7.2_1/bin/python3 -s setup.py --no-user-cfg insta

==>/usr/local/Cellar/python/3.7.2_1/bin/python3 -s setup.py --no-user-cfg 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

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.2_1: 3,833 files, 59.4MB


libxml2

==>Installing libimobiledevice dependency: libxml2

==>Downloading https://homebrew.bintray.com/bottles/libxml2-2.9.8_1.high_sierra

######################################################################## 100.0%

==>Pouring libxml2-2.9.8_1.high_sierra.bottle.tar.gz

==>Caveats

libxml2 is keg-only, which means it was not symlinked into /usr/local,

because macOS already provides this software and installing another version in

parallel can cause all kinds of trouble.

If you need to have libxml2 first in your PATH run:

  echo 'export PATH="/usr/local/opt/libxml2/bin:$PATH"' >> ~/.bash_profile

For compilers to find libxml2 you may need to set:

  export LDFLAGS="-L/usr/local/opt/libxml2/lib"

  export CPPFLAGS="-I/usr/local/opt/libxml2/include"

For pkg-config to find libxml2 you may need to set:

  export PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"

==>Summary

🍺  /usr/local/Cellar/libxml2/2.9.8_1: 281 files, 10.5MB



libtasn1

==>Installing libimobiledevice dependency: libtasn1

==>Downloading https://homebrew.bintray.com/bottles/libtasn1-4.13.high_sierra.b

######################################################################## 100.0%

==>Pouring libtasn1-4.13.high_sierra.bottle.tar.gz

🍺  /usr/local/Cellar/libtasn1/4.13: 59 files, 435.2KB


libimobiledevice 

==>Installing libimobiledevice --HEAD

==>Cloning https://git.libimobiledevice.org/libimobiledevice.git

Cloning into '/Users/lilei/Library/Caches/Homebrew/libimobiledevice--git'...

==>Checking out branch master

Already on 'master'

Your branch is up to date with 'origin/master'.

==>./autogen.sh

==>./configure --disable-silent-rules --prefix=/usr/local/Cellar/libimobiledevi

==>make install

🍺  /usr/local/Cellar/libimobiledevice/HEAD-92c5462_3: 67 files, 1MB, built in 6 minutes 39 seconds

==>Caveats

==>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

They will install into the site-package directory

  /usr/local/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python

==>libxml2

libxml2 is keg-only, which means it was not symlinked into /usr/local,

because macOS already provides this software and installing another version in

parallel can cause all kinds of trouble.

If you need to have libxml2 first in your PATH run:

  echo 'export PATH="/usr/local/opt/libxml2/bin:$PATH"' >> ~/.bash_profile

For compilers to find libxml2 you may need to set:

  export LDFLAGS="-L/usr/local/opt/libxml2/lib"

  export CPPFLAGS="-I/usr/local/opt/libxml2/include"

For pkg-config to find libxml2 you may need to set:

  export PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"

相关文章

网友评论

      本文标题:学习笔记--------libimobiledevice

      本文链接:https://www.haomeiwen.com/subject/mbuidqtx.html