On Jan 18, 2008 9:48 AM, Jaap Spies <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> The following is working on Fedora 7/8:
>
>  > Dependencies for Sage:
>  >
>
>  >   - http://www.wxpython.org wxPython-2.6.x or higher for the UI
>  >   - vtk-5.0.3
>  >   - setuptools-0.6b
>
> 1) Install wxPython-2.8.7.1:
>     
> http://sage.math.washington.edu/home/jsp/SPKGS/MayaVi/wxPython-2.8.7.1.spkg
>     or install the experimental spkg:
>     ./sage -i wxPython-linux-2.8.7.1
>
> 2) Install vtk-5.0.3:
>
>     Either grab the experimental vtk-meta-1.spkg from Joshua Kantor
>     (bonus mayavi1)
>     or
>
>     install cmake (also an experimental spkg):
>     http://sage.math.washington.edu/home/jsp/SPKGS/MayaVi/cmake-2.4.7.spkg
>     and
>     http://sage.math.washington.edu/home/jsp/SPKGS/MayaVi/vtk-5.0.3.spkg
>     This file is big because it includes all vtkdata.


I think all these installed fine with sage -i http:...
This last one I had to download and install for some reason.

>
> 3) Install setuptools:
>     http://sage.math.washington.edu/home/jsp/SPKGS/MayaVi/setuptools-0.6.spkg

Same with this one.

>
> 4) Install mayavi_2.0.20080117.spkg
>     
> http://sage.math.washington.edu/home/jsp/SPKGS/MayaVi/mayavi_2.0.20080117.spg
>     This package only includes mayavi2 and dependencies.


This has a typo. I downloaded the correct file and ran into an error:


creating build/bdist.linux-x86_64/egg/EGG-INFO
copying enthought.util.egg-info/PKG-INFO ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying enthought.util.egg-info/SOURCES.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying enthought.util.egg-info/dependency_links.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying enthought.util.egg-info/namespace_packages.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying enthought.util.egg-info/not-zip-safe ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying enthought.util.egg-info/requires.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying enthought.util.egg-info/top_level.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
creating 
'/mnt/drive_hda1/sagefiles/sage-2.9.alpha5/spkg/build/mayavi_2.0.20080117/mayavi_build/dist/enthought.util-2.0.1b2-py2.5.egg'
and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
elease build bdist_egg -d
/mnt/drive_hda1/sagefiles/sage-2.9.alpha5/spkg/build/mayavi_2.0.20080117/mayavi_build/dist

******************************************************************************
ERROR: Build error: exited with value = 1
******************************************************************************


==============================================================================
Building directory: enthought.type_manager_2.0.1b1

Executing: /mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/bin/python
setup.py release build bdist_egg -d
/mnt/drive_hda1/sagefiles/sage-2.9.alpha5/spkg/build/mayavi_2.0.20080117/mayavi_build/dist

==============================================================================
Building directory: enthought.util_2.0.1b2

Executing: /mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/bin/python
setup.py release build bdist_egg -d
/mnt/drive_hda1/sagefiles/sage-2.9.alpha5/spkg/build/mayavi_2.0.20080117/mayavi_build/dist

WARNING: Could not build egg.info files: No module named enstaller.egg
Processing enthought.mayavi_2.0.2a1
Running setup.py -q bdist_egg --dist-dir
/mnt/drive_hda1/sagefiles/sage-2.9.alpha5/spkg/build/mayavi_2.0.20080117/mayavi_build/enthought.mayavi_2.0.2a1/egg-dist-tmp-141u4i
Adding enthought.mayavi 2.0.2a1.dev-r16569 to easy-install.pth file
Installing mayavi2 script to /mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/bin

Installed 
/mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/lib/python2.5/site-packages/enthought.mayavi-2.0.2a1.dev_r16569-py2.5.egg
Processing dependencies for enthought.mayavi==2.0.2a1.dev-r16569
Searching for enthought.util>=2.0.1b2.dev,<3.0a
Best match: enthought.util 2.0.1b2
Processing enthought.util-2.0.1b2-py2.5.egg
creating 
/mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/lib/python2.5/site-packages/enthought.util-2.0.1b2-py2.5.egg
Extracting enthought.util-2.0.1b2-py2.5.egg to
/mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/lib/python2.5/site-packages
Adding enthought.util 2.0.1b2 to easy-install.pth file

Installed 
/mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/lib/python2.5/site-packages/enthought.util-2.0.1b2-py2.5.egg
Searching for enthought.tvtk[plugin,wx]>=2.0.0b2.dev,<3.0a

Link to http://code.enthought.com/enstaller/eggs/source ***BLOCKED***
by --allow-hosts


Link to http://pypi.python.org/simple/enthought.tvtk/ ***BLOCKED*** by
--allow-hosts

Couldn't find index page for 'enthought.tvtk' (maybe misspelled?)
Scanning index of all packages (this may take a while)

Link to http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts

No local packages or download links found for
enthought.tvtk[plugin,wx]>=2.0.0b2.dev,<3.0a
error: Could not find suitable distribution for
Requirement.parse('enthought.tvtk[plugin,wx]>=2.0.0b2.dev,<3.0a')

real    1m0.218s
user    0m27.586s
sys     0m4.676s
sage: An error occurred while installing mayavi_2.0.20080117
Please email sage-devel http://groups.google.com/group/sage-devel


This is on an amd64, feisty fawn machine.

Assuming I did get this to complie, are there easy examples somewhere I could
try testing?

>
> Someone should really try to make wxPython available on OSX. According to the
> Enthought people this feasible (they use it all the time!).
>
> Jaap
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to