#4881: [with spkgs, needs work] Experimental spkg for ETS-3.1.1 (including Chaco
and Mayavi2)
----------------------------------+-----------------------------------------
Reporter: jsp | Owner: mabshoff
Type: enhancement | Status: new
Priority: minor | Milestone: sage-3.4.1
Component: experimental package | Resolution:
Keywords: 2D and 3D plotting |
----------------------------------+-----------------------------------------
Comment (by jsp):
Replying to [comment:20 cwitty]:
> I ran into some very annoying problems with this package, where it
appeared to build successfully but then failed to work. I can't recommend
this spkg (even for experimental) until something is done.
>
I added some tests.
> There were two separate issues. Both allowed an apparently successful
build which then failed to run. The first is that some X libraries were
not installed on my machine; when I tried to run mayavi2, I got the
> {{{
> pkg_resources.DistributionNotFound: EnthoughtBase>=3.0.2.dev
> }}}
> error described above.
>
> Once that was fixed, mayavi2 still would not run; this time I got this
error:
> {{{
> ImportError: cannot import name cached_property
> }}}
> This time the problem was that I had installs of previous versions of
these spkgs in site-python. Once I removed those, I was able to
successfully install and run this spkg.
>
spkg-install now removes mayavi_2.x.y installs.
> IMHO, the current status is not acceptable even for experimental. At
least, the package should detect at build time that it did not build
successfully (that mayavi2 cannot be run successfully), and fail the build
in this case; and also print out some useful text (Something along the
lines of "Try installing xorg-dev and removing old versions of this
package from site-python", but a bit more detailed and acknowledging the
existence of systems other than Debian/Ubuntu).
The first installs were on Fedora 9 and 10! Ubuntu/Debian came along
recently.
I put in some more tests in spkg-install. Maybe this helps. I could build
this package on sage.math (there are some runtime problems).
At the end I give some advice how to check the install.
See sage.math.washington.edu/home/jsp/sage/sage-3.2.3/
Try ./sage -sh
mayavi2
there
Cheers,
Jaap
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4881#comment:21>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---