py25-libxml2 fails to build
Bryan Blackburn
0x62_0x6c_0x62 at pobox.com
Sat Aug 16 13:02:22 PDT 2008
On Aug 16, 2008, at 7:00 AM, Brad Allison wrote:
> ---> Building py25-libxml2 with target build
> Error: Target org.macports.build returned: shell command " cd "/opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync
> .macports.org_release_ports_python_py25-libxml2/work/libxml2-
> python-2.6.21" && /opt/local/bin/python2.5 setup.py build " returned
> error 1
> Command output: /opt/local/Library/Frameworks/Python.framework/
> Versions/2.5/lib/python2.5/distutils/dist.py:247: UserWarning:
> 'licence' distribution option is deprecated; use 'license'
> warnings.warn(msg)
> running build
> running build_py
> running build_ext
> building 'libxml2mod' extension
> -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_REENTRANT=1 -I/
> opt/local/include/libxml2 -I/opt/local/include -I/opt/local/Library/
> Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
> libxml2-py.c -o build/temp.macosx-10.3-i386-2.5/libxml2-py.o
> unable to execute -DNDEBUG: No such file or directory
> error: command '-DNDEBUG' failed with exit status 1
>
Looks like the Tcl env bug [1,2], run
sudo port clean --work py25-libxml2
After that completes you can run your original port install again. It
may crop up again, so if it does you'll need to do a clean on the
particular port that fails before continuing.
Bryan
[1] - <http://trac.macports.org/ticket/13930>
[2] - <http://trac.macports.org/wiki/LeopardProblems#environmentvariablesbecomeblankbetweenconfigureandbuildphases
>
> Error: The following dependencies failed to build: gnome-platform-
> suite gtk-doc gnome-doc-utils py25-libxml2 py25-numeric libart_lgpl
> libbonoboui libglade2 libgnome libgnomecanvas libgnomeui gnome-icon-
> theme hicolor-icon-theme icon-naming-utils p5-getopt-long p5-
> pathtools p5-xml-simple p5-xml-namespacesupport p5-xml-sax libsoup
> gnutls lzo opencdk readline nspr nss
> Error: Status 1 encountered during processing.
>
More information about the macports-users
mailing list