I am trying to install the port math/py-matplotlib and the build fails with the following error:
I tried the following:
1) Checked dependencies
2) Checked whether py-numpy is installed
3) Reinstalled /usr/ports/x11-toolkits/py-gtk2 with 'numpy' support.
4) Tried to pin-point the problem in /usr/ports/math/py-matplotlib/work/matplotlib-1.0.1/setup.py script
Don't know how to proceed further. Please help! BTW the ports tree is up-to-date.
# make
Code:
===> py27-matplotlib-1.0.1_3 depends on file: /usr/local/lib/python2.7/site-packages/numpy/core/numeric.py - found
===> py27-matplotlib-1.0.1_3 depends on package: py27-dateutil>=1.4 - found
===> py27-matplotlib-1.0.1_3 depends on package: py27-pytz>0 - found
===> py27-matplotlib-1.0.1_3 depends on file: /usr/local/lib/python2.7/site-packages/_tkinter.so - found
===> py27-matplotlib-1.0.1_3 depends on file: /usr/local/bin/python2.7 - found
===> py27-matplotlib-1.0.1_3 depends on file: /usr/local/bin/intltool-extract - found
===> py27-matplotlib-1.0.1_3 depends on executable: pkg-config - found
===> py27-matplotlib-1.0.1_3 depends on executable: pygobject-codegen-2.0 - found
===> py27-matplotlib-1.0.1_3 depends on file: /usr/local/libdata/pkgconfig/pygtk-2.0.pc - found
===> py27-matplotlib-1.0.1_3 depends on shared library: freetype.9 - found
===> py27-matplotlib-1.0.1_3 depends on shared library: png.6 - found
===> py27-matplotlib-1.0.1_3 depends on shared library: atk-1.0.0 - found
===> py27-matplotlib-1.0.1_3 depends on shared library: glib-2.0.0 - found
===> py27-matplotlib-1.0.1_3 depends on shared library: gtk-x11-2.0.0 - found
===> py27-matplotlib-1.0.1_3 depends on shared library: glade-2.0.0 - found
===> py27-matplotlib-1.0.1_3 depends on shared library: xml2.5 - found
===> py27-matplotlib-1.0.1_3 depends on shared library: pango-1.0.0 - found
===> Configuring for py27-matplotlib-1.0.1_3
basedirlist is: ['/usr/local', '/usr']
============================================================================
BUILDING MATPLOTLIB
matplotlib: 1.0.1
python: 2.7.2 (default, Nov 13 2011, 04:06:00) [GCC 4.2.1
20070719 [FreeBSD]]
platform: freebsd8
REQUIRED DEPENDENCIES
numpy: no
* You must install numpy 1.1 or later to build
* matplotlib.
*** Error code 1
Stop in /usr/ports/math/py-matplotlib.
1) Checked dependencies
# make build-depends-list
Code:
/usr/ports/accessibility/atk
/usr/ports/devel/glib20
/usr/ports/devel/libglade2
/usr/ports/devel/pkg-config
/usr/ports/devel/py-dateutil
/usr/ports/devel/py-gobject
/usr/ports/devel/py-pytz
/usr/ports/graphics/png
/usr/ports/lang/python27
/usr/ports/math/py-numpy <-----
/usr/ports/print/freetype2
/usr/ports/textproc/intltool
/usr/ports/textproc/libxml2
/usr/ports/x11-toolkits/gtk20
/usr/ports/x11-toolkits/pango
/usr/ports/x11-toolkits/py-gtk2
/usr/ports/x11-toolkits/py-tkinter
# ls /var/db/pkg | grep py27-numpy
Code:
py27-numpy-1.6.1,1
4) Tried to pin-point the problem in /usr/ports/math/py-matplotlib/work/matplotlib-1.0.1/setup.py script
# cd /usr/ports/math/py-matplotlib/work/matplotlib-1.0.1
# python setup.py
Code:
basedirlist is: ['/usr/local', '/usr']
============================================================================
BUILDING MATPLOTLIB
matplotlib: 1.0.1
python: 2.7.2 (default, Nov 13 2011, 04:06:00) [GCC 4.2.1
20070719 [FreeBSD]]
platform: freebsd8
REQUIRED DEPENDENCIES
numpy: no
* You must install numpy 1.1 or later to build
* matplotlib.