I have made a few months ago the upgrade of mayavi experimental spkg to version 3.5, I forgot the ticket info now (you can search it by the name ets-3.5.0-20101024.p0.spkg), to install it you have to follow the guidelines in Jaap's page: http://sage.math.washington.edu/home/jsp/SPKGS/ETS, just instead of the ets-3.2, I suggest you to use the one I mentioned before, besides mayavi it also includes also the Graph Canvas, Scimath, SetupDocs and Traits Enthought Python parafernalia, I have been since then working with it inside sage, without any problem.
Regards Jorge > Date: Thu, 5 May 2011 12:40:55 -0700 > Subject: [sage-support] Re: Plotting Functions of 3 variables > From: obsessivemathsfr...@gmail.com > To: sage-support@googlegroups.com > > _None_ of those experimental packages work on my system. The first > dependancy, wxPython-2.8.7.1.spkg give the following error (after > taking ages compiling) > > In file included from ../src/gtk/gsockgtk.cpp:21: > ../include/wx/gsocket.h:40: error: using typedef-name ‘GSocket’ after > ‘class’ > /usr/include/glib-2.0/gio/giotypes.h:132: error: ‘GSocket’ has a > previous declaration here > In file included from ../include/wx/gsocket.h:179, > from ../src/gtk/gsockgtk.cpp:21: > ../include/wx/unix/gsockunx.h:40: error: using typedef-name ‘GSocket’ > after ‘class’ > /usr/include/glib-2.0/gio/giotypes.h:132: error: ‘GSocket’ has a > previous declaration here > ../src/gtk/gsockgtk.cpp: In function ‘void _GSocket_GDK_Input(void*, > gint, GdkInputCondition)’: > ../src/gtk/gsockgtk.cpp:34: error: ‘struct _GSocket’ has no member > named ‘Detected_Read’ > ../src/gtk/gsockgtk.cpp:36: error: ‘struct _GSocket’ has no member > named ‘Detected_Write’ > ../src/gtk/gsockgtk.cpp: In member function ‘virtual bool > GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket*)’: > ../src/gtk/gsockgtk.cpp:56: error: ‘struct _GSocket’ has no member > named ‘m_gui_dependent’ > ../src/gtk/gsockgtk.cpp:57: error: ‘struct _GSocket’ has no member > named ‘m_gui_dependent’ > ../src/gtk/gsockgtk.cpp: In member function ‘virtual void > GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket*)’: > ../src/gtk/gsockgtk.cpp:67: error: ‘struct _GSocket’ has no member > named ‘m_gui_dependent’ > ../src/gtk/gsockgtk.cpp: In member function ‘virtual void > GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, > GSocketEvent)’: > ../src/gtk/gsockgtk.cpp:72: error: ‘struct _GSocket’ has no member > named ‘m_gui_dependent’ > ../src/gtk/gsockgtk.cpp:75: error: ‘struct _GSocket’ has no member > named ‘m_fd’ > ../src/gtk/gsockgtk.cpp:83: error: ‘struct _GSocket’ has no member > named ‘m_server’ > ../src/gtk/gsockgtk.cpp:90: error: ‘struct _GSocket’ has no member > named ‘m_fd’ > ../src/gtk/gsockgtk.cpp: In member function ‘virtual void > GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, > GSocketEvent)’: > ../src/gtk/gsockgtk.cpp:98: error: ‘struct _GSocket’ has no member > named ‘m_gui_dependent’ > ../src/gtk/gsockgtk.cpp:108: error: ‘struct _GSocket’ has no member > named ‘m_server’ > make: *** [monodll_gsockgtk.o] Error 1 > Error building wx widgets. > > real 1m54.899s > user 1m22.910s > sys 0m12.030s > sage: An error occurred while installing wxPython-2.8.7.1 > > > The others give various different errors. For instance, I'm > encountering the "allow-hosts" error seen in this thread > > http://groups.google.com/group/sage-support/browse_thread/thread/b6345c1fdebd43c4/6814b756af245381?lnk=gst&q=mayavi#6814b756af245381 > > But I don't even know if it was resolved in that thread or not. > > IS there a way of getting any of these packages installed? Should I > update my sage installation to a newer version(currently 4.6.2)? > > On May 5, 8:24 pm, kcrisman <kcris...@gmail.com> wrote: > > On May 5, 1:43 pm, ObsessiveMathsFreak <obsessivemathsfr...@gmail.com> > > wrote: > > > > > Thanks but, these methods are not wholly adequate for my purposes. > > > > > I have been investigating the mayavi python package and the examples > > > given > > > herehttp://code.enthought.com/projects/mayavi/docs/development/html/mayav... > > > > > Apparently sagemath has support for mayavi, but when I follow the > > > instructions > > > herehttp://www.sagemath.org/doc/numerical_sage/installation_osx.html > > > > > I get an error > > > > > sage: install_package("python-2.5.1-framework") > > > ValueError: There is no package name starting with 'python-2.5.1- > > > framework'. > > > > Looking at > > > > ./sage -optional > > > > I don't get these. I think they are all experimental. > > > > > And so on for the other commands in the page. > > > > > I'm wondering if mayavi has been removed from sage, or whether its > > > functionality is now part of the core packages? > > > > No, it's there, and not in Sage - > > seehttp://www.sagemath.org/packages/experimental/ > > But probably the steps to use it need updating. You may also want to > > search the lists - there are a fair number of threads about it. > > > > I can't find the python framework one - can someone else help with the > > status of that? > > > > - kcrisman > > -- > To post to this group, send email to sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org