Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2012 01:02:17 +0100
From:      Norman Khine <norman@khine.net>
To:        freebsd-ports@freebsd.org
Subject:   install py-matplotlib fails
Message-ID:  <CAKgQ7U%2B7hovfRrW5n5OHFoaggwKtnp2zzFU_EDMbJfAbAm7WFQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello, I am trying to install the py-matplotlib but get this error:

BUILDING MATPLOTLIB
            matplotlib: 1.0.1
                python: 2.7.3 (default, May 12 2012, 17:36:49)  [GCC 4.2.1
                        20070831 patched [FreeBSD]]
              platform: freebsd9

REQUIRED DEPENDENCIES
                 numpy: no
                        * You must install numpy 1.1 or later to build
                        * matplotlib.

i have installed numpy

# pkg_version -v | grep py27-numpy
py27-numpy-1.6.1_1,1                =   up-to-date with port

but running python i get this traceback:

Python 2.7.3 (default, May 12 2012, 17:36:49)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py",
line 137, in <module>
    import add_newdocs
  File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py",
line 9, in <module>
    from numpy.lib import add_newdoc
  File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py",
line 13, in <module>
    from polynomial import *
  File "/usr/local/lib/python2.7/site-packages/numpy/lib/polynomial.py",
line 17, in <module>
    from numpy.linalg import eigvals, lstsq
  File "/usr/local/lib/python2.7/site-packages/numpy/linalg/__init__.py",
line 48, in <module>
    from linalg import *
  File "/usr/local/lib/python2.7/site-packages/numpy/linalg/linalg.py",
line 23, in <module>
    from numpy.linalg import lapack_lite
ImportError: /usr/local/lib/libalapack.so.2: Undefined symbol "cblas_zswap"

i followed this thread
http://forums.freebsd.org/showthread.php?t=29085 but still no luck.

what am i missing?

thanks
-- 
%>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or
chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKgQ7U%2B7hovfRrW5n5OHFoaggwKtnp2zzFU_EDMbJfAbAm7WFQ>