I'm trying to make a vpython package for SAGE:
see http://www.vpython.org/index.html

With the correct prefix <path_to>sage-2.7.3/local all seems to go well, but
"make install" fails to make an executable vpython:
1) there is still a ${prefix} in the file vpython
2) IDLE points to the wrong place

This is a known issue.
You have to edit ../bin/vpython by hand or use a script like:

cd /usr/local/lib/python2.5/site-packages/visual/examples
/usr/local/bin/python2.5  /usr/local/lib/python2.5/idlelib/idle.pyw

adapted to the actual situation (see the download page)


But running vpython then fails on the examples:

 > > Python 2.5.1 (r251:54863, Aug 12 2007, 13:20:03)
 > > [GCC 4.1.2 20070502 (Red Hat 4.1.2-12)] on linux2
 > > Type "copyright", "credits" or "license()" for more information.
 > >
 > >     ****************************************************************
 > >     Personal firewall software may warn about the connection IDLE
 > >     makes to its subprocess using this computer's internal loopback
 > >     interface.  This connection is not visible on any external
 > >     interface and no data is sent to or received from the Internet.
 > >     ****************************************************************
 > >
 > > IDLE 1.2.1
 >>>> >>>> ================================ RESTART 
 >>>> >>>> ================================
 >>>> >>>>
 > >
 > > Traceback (most recent call last):
 > >   File 
 > > "/home/jaap/work/downloads/sage-2.7.3/local/lib/python2.5/site-packages/visual/examples/bounce.py",
 > >  line 1, in <module>
 > >     from visual import *
 > >   File 
 > > "/home/jaap/downloads/sage-2.7.3/local//lib/python2.5/site-packages/visual/__init__.py",
 > >  line 27, in <module>
 > >     import cvisual
 > > ImportError: /usr/lib/libboost_python.so.2: undefined symbol: 
 > > PyUnicodeUCS4_FromEncodedObject
 > >
 > >

No problems with libboost_python when I install visual-4.beta16 with my 
standard python2.5 (python-2.5)
Any suggestions?

Jaap


--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to