I had the same errors, simply update the source.... The version is 2.8.7 current is 2.8.11
You find a new spkg on http://computational-sage.googlecode.com/files/wxPython-2.8.11.0.spkg On 17 Jan., 20:11, Sancho <sanc...@gmail.com> wrote: > I'll try to apply this fix:http://trac.wxwidgets.org/ticket/10883 > > On Jan 16, 1:16 am, Sancho <sanc...@gmail.com> wrote: > > > Sage Version 4.6, Release Date: 2010-10-30 > > openSUSE 11.3 (x86_64) > > g++ (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292] > > > On Dec 8 2010, 8:55 pm, Dima Pasechnik <dimp...@gmail.com> wrote: > > > > please report Sage version, OS version, compiler version... > > > > On Dec 9, 2:48 am,Sancho<sanc...@gmail.com> wrote: > > > > > I run: sage -i wxPython-2.8.7.1 > > > > > I get the following error. > > > > > /cs/public/lib/pkg/sage/sage-local/spkg/build/wxPython-2.8.7.1/ > > > > wxPython-src-2.8.7.1/bld/bk-deps g++ -c -o monodll_gsockgtk.o -I.pch/ > > > > wxprec_monodll -D__WXGTK__ -I../src/tiff -I../src/jpeg -I../src/ > > > > png -I../src/zlib -I../src/regex -DwxUSE_BASE=1 -DWXMAKINGDLL -fPIC - > > > > DPIC -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ - > > > > I/cs/public/lib/pkg/sage/sage-local/spkg/build/wxPython-2.8.7.1/ > > > > wxPython-src-2.8.7.1/bld/lib/wx/include/gtk2-unicode-debug-2.8 -I../ > > > > include -pthread -I/tmp/sage-4.6/local/include/freetype2 -I/tmp/ > > > > sage-4.6/local/include -I/tmp/sage-4.6/local/include/libpng12 -I/usr/ > > > > include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/ > > > > usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/ > > > > usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -pthread -DORBIT2=1 > > > > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/ > > > > glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/ > > > > include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/ > > > > include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict- > > > > aliasing -pthread -I/tmp/sage-4.6/local/include/freetype2 -I/tmp/ > > > > sage-4.6/local/include -I/tmp/sage-4.6/local/include/libpng12 -I/usr/ > > > > include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 -I/usr/ > > > > include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/ > > > > glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/ > > > > include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/gtk-2.0 -I/ > > > > usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo - > > > > I/usr/include/pixman-1 ../src/gtk/gsockgtk.cpp > > > > In file included from ../src/gtk/gsockgtk.cpp:21:0: > > > > ../include/wx/gsocket.h:40:7: error: using typedef-name ‘GSocket’ > > > > after ‘class’ > > > > /usr/include/glib-2.0/gio/giotypes.h:127:47: error: ‘GSocket’ has a > > > > previous declaration here > > > > In file included from ../include/wx/gsocket.h:179:0, > > > > from ../src/gtk/gsockgtk.cpp:21: > > > > ../include/wx/unix/gsockunx.h:40:7: error: using typedef-name > > > > ‘GSocket’ after ‘class’ > > > > /usr/include/glib-2.0/gio/giotypes.h:127:47: 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:13: error: ‘struct GSocket’ has no member > > > > named ‘Detected_Read’ > > > > ../src/gtk/gsockgtk.cpp:36:13: 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:11: error: ‘struct GSocket’ has no member > > > > named ‘m_gui_dependent’ > > > > ../src/gtk/gsockgtk.cpp:57:27: 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:16: 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:33: error: ‘struct GSocket’ has no member > > > > named ‘m_gui_dependent’ > > > > ../src/gtk/gsockgtk.cpp:75:15: error: ‘struct GSocket’ has no member > > > > named ‘m_fd’ > > > > ../src/gtk/gsockgtk.cpp:83:42: error: ‘struct GSocket’ has no member > > > > named ‘m_server’ > > > > ../src/gtk/gsockgtk.cpp:90:35: 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:33: error: ‘struct GSocket’ has no member > > > > named ‘m_gui_dependent’ > > > > ../src/gtk/gsockgtk.cpp:108:42: error: ‘struct GSocket’ has no member > > > > named ‘m_server’ > > > > make: *** [monodll_gsockgtk.o] Error 1 > > > > Error building wx widgets. > > > > > real 1m32.750s > > > > user 0m55.875s > > > > sys 0m8.957s > > > > sage: An error occurred while installing wxPython-2.8.7.1 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org