On Thu, Aug 6, 2009 at 5:34 PM, William Stein<[email protected]> wrote:
>
>
> 2009/8/6 Jorge E. ´Sanchez Sanchez <[email protected]>
>>
>> Hi!
>>
>>    I'm sorry for bothering you with perhaps trivialities but I am
>> desperate trying to get my sage-ETS rebuilt again.
>>
>>    I was working happily with your ets-3.1.1.rev22704-py2.5.spkg
>> (specially mayavi). Almost each month I was doing my sage upgrade from
>> source (without problems) but in the last one I have some trouble to
>> accomplish it and my sage became useless. Then I try to re-install all sage
>> from source but it didn't work also, so I have to download the binary built
>> for my athlon64, ubuntu 9.04 system. Now I am trying to get my ETS working
>> again (the old one became corrupted), and tried to follow the directions
>> given in the
>>
>>
>> http://sage.math.washington.edu/home/jsp/SPKGS/ETS
>>
>>    page, but when trying to install the vtk-cvs-20090316 it fails to
>> finish it, sending the message:
>>
>>
>> ______________________________________________________________________________________________________
>>    -- Generating done
>>    -- Build files have been written to:
>> /opt/sage/spkg/build/vtk-cvs-20090316/src/VTK/vtk-build
>>    Scanning dependencies of target vtkWrapPython
>>    [  0%] Building C object
>> Wrapping/CMakeFiles/vtkWrapPython.dir/vtkWrapPython.o
>>    [  0%] Building C object
>> Wrapping/CMakeFiles/vtkWrapPython.dir/vtkParse.tab.o
>>    make[2]: *** No rule to make target
>> `/opt/sage/local/lib/python2.5/config/libpython2.5.a', needed by
>> `bin/vtkWrapPython'.  Stop.
>>    make[1]: *** [Wrapping/CMakeFiles/vtkWrapPython.dir/all] Error 2
>>    make: *** [all] Error 2
>>    Error building VTK
>>
>> _______________________________________________________________________________________________________
>>
>> I have seen the file /opt/sage/spkg/build/vtk-cvs-20090316/spkg-install
>> and understand that it is looking for the old libpyhon2.5a library which
>> does not exist because the sage's upgrade to python2.6. So I edit the
>> spkg-install file changing the path from 2.5 to 2.6 but now I do not know
>> how to proceed to continue the built, as I always have used the automated
>> "sage -i filename", I do not know how to do it manually, please could you
>> help me?
>
> Do
>
> /opt/sage/sage -sh
> cd /opt/sage/spkg/build/vtk-cvs-20090316/
> ./spkg-install
>
> and if that finishes without errors,
>
> touch /opt/sage/spkg/installed/vtk-cvs-20090316
>
> then continue as explained at
>    http://sage.math.washington.edu/home/jsp/SPKGS/ETS


The problem is that this particular spkg doesn't work with python2.6.
This one works for me:

http://femhub.googlecode.com/files/vtk-cvs-20090316-minimal.p4.spkg

Ondrej

--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to