Guten Morgen,Homebrew installieren libxml2 mit Python-Modulen
Ich versuche, libxml2 mit Python-Module zu installieren. Ich habe folgendes versucht:
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
Wie Sie ... sogar mit der --with-python Flagge sehen können, ist es immer noch die Quelle ohne Python zu konfigurieren!
Am Ende der Installation von Homebrew sagt:
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
Wenn ich versuche, das gnome-doc-utils-Paket zu installieren:
Gnome-doc-utils requires libxml2 to be compiled
with the python modules enabled, to do so:
$ brew install libxml2 --with-python
So offensichtlich habe ich versucht, wieder ...
╰─ brew install libxml2 --with-python
Error: libxml2-2.8.0 already installed
Ich bin noch neu zu diesem ... also jede Hilfe würde sehr geschätzt werden.
Haben Sie einen Grund, [pip] (http://pypi.python.org/pypi/pip/) nicht zu verwenden (oder [easy_install] (http://packages.python.org/distribute/easy_install. html) als letzter Ausweg)? Sie verhalten sich viel besser als andere Packaging-Tools - und arbeiten mit [virtualenv] (http://pypi.python.org/pypi/virtualenv/)! – brandizzi