Homebrew zainstaluj libxml2 z modułami Pythona

Dzień dobry,

Próbuję zainstalować libxml2 z modułami Pythona. Próbowałem:

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

Jak widzisz ... nawet z flagą --with-python nadal konfiguruje źródło bez Pythona!

Pod koniec instalacji homebrew mówi:

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

Kiedy próbuję zainstalować pakiet gnome-doc-utils:

Gnome-doc-utils requires libxml2 to be compiled
with the python modules enabled, to do so:
  $ brew install libxml2 --with-python

Więc oczywiście spróbowałem ponownie ...

╰─ brew install libxml2 --with-python
Error: libxml2-2.8.0 already installed

Nadal jestem w tym nowy ... więc każda pomoc byłaby bardzo mile widziana.

questionAnswers(3)

yourAnswerToTheQuestion