On Wed, 2005-01-12 at 21:49 -0500, Jonathan Brandmeyer wrote:
> On Tue, 2005-01-11 at 23:16 -0800, Eric Ayars wrote:
> > Anyone here successfully install VPython on Slackware 10? So far I'm
> > stuck at installing Numeric (23.7), which gives me an error about
> > "cannot find -llapack" at the "python setup.py install" step.
>
> First off, are you sure that there isn't a prebuilt binary package of
> Numeric in Slackware? If you are sure that you need to install Numeric
> from source, install lapack (in Debian, it is called lapack-dev), or
> edit setup.py to use its own simple blas/lapack subroutines.
>
> > I can install numarray fine, but visual-3.0.3/configure still wants
> > numeric... Is it possible to run vpython with numarray instead of
> > numeric? If so, how do I go about changing the configure file? Would
> > more changes be required? (probably!)
>
> If you really want to build with just Numarray, you can do this with
> version 3.1.0 of Visual, which was the first release to support
> Numarray. It can be found from the Sourceforge download page.
>
> > Or should I keep trying to get numeric installed? Any suggestions?
> > Here's where the numeric install fails:
>
> Other people have reported this issue to the Numeric developers, who
> should have this issue fixed in the next release. You should probably
> file a bug report with them anyway, just as a reminder that this still
> needs fixing.
I just realized that that wasn't a well-structured reply. The bug is
that the Numeric setup.py script assumes that you have LAPACK installed.
Numeric can be built without LAPACK, in which case it uses a built-in
set of functions that provide the same functionality, at the expense of
performance. You can therefore either install the lapack library
(easier if a prebuilt package for it is in Slackware), or edit setup.py
to use Numeric's own versions of those functions (easier than building
lapack from source).
HTH,
-Jonathan
|