おはようございます、
Pythonモジュールでlibxml2をインストールしようとしています。私は以下を試しました:
brew install --with-python libxml2
==> Downloading ftp://xmlsoft.org/libxml2/libxml2-2.8.0.tar.gz
Already downloaded: /Users/brandon/Library/Caches/Homebrew/libxml2-2.8.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libxml2/2.8.0 --without-python
ご覧のとおり...--with-pythonフラグを使用しても、Pythonを使用せずにソースを構成しています。
インストールの最後に、homebrewは次のように述べています。
Generally there are no consequences of this for you.
If you build your own software and it requires this formula, you'll need
to add its lib & include paths to your build variables:
LDFLAGS -L/usr/local/Cellar/libxml2/2.8.0/lib
CPPFLAGS -I/usr/local/Cellar/libxml2/2.8.0/include
gnome-doc-utilsパッケージをインストールしようとすると:
Gnome-doc-utils requires libxml2 to be compiled
with the python modules enabled, to do so:
$ brew install libxml2 --with-python
だから明らかに私は再試行しました...
╰─ brew install libxml2 --with-python
Error: libxml2-2.8.0 already installed
私はまだこれに不慣れです...だからどんな助けでも大歓迎です。