Hi, Nils! thank you for the suggestion! I tried to install the experimental package: (sage-sh) joao@Hades:~$ sage -i wxPython
but it stopped at: ... checking for GTK+ - version >= 2.0.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: The development files for GTK+ were not found. For GTK+ 2, please ensure that pkg-config is in the path and that gtk+-2.0.pc is installed. For GTK+ 1.2 please check that gtk-config is in the path, and that the version is 1.2.3 or above. Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config --libs' are in the LD_LIBRARY_PATH or equivalent. Error configure wx widgets. real 0m17.868s user 0m5.780s sys 0m2.412s ************************************************************************ Error installing package wxPython-2.8.7.1 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /opt/sage-6.3-i686-Linux/logs/pkgs/wxPython-2.8.7.1.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /opt/sage-6.3-i686-Linux/local/var/tmp/sage/build/wxPython-2.8.7.1 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/opt/sage-6.3-i686-Linux/local/var/tmp/sage/build/wxPython-2.8.7.1' && '/opt/sage-6.3-i686-Linux/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ I also tried to install from source: (sage-sh) joao@Hades:wxPython$ sage --python build-wxpython.py --install --build_dir=../bld but it stopped at the same point: ... checking for GTK+ - version >= 2.6.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occurred. This usually means GTK+ is incorrectly installed. checking for pkg-config... (cached) /opt/sage-6.3-i686-Linux/local/bin/pkg-config checking for GTK+ - version >= 3.0.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. checking for gtk-config... no checking for GTK - version >= 1.2.7... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. checking for gtk-config... (cached) no checking for GTK - version >= 1.2.3... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. configure: error: The development files for GTK+ were not found. For GTK+ 2, please ensure that pkg-config is in the path and that gtk+-2.0.pc is installed. For GTK+ 1.2 please check that gtk-config is in the path, and that the version is 1.2.3 or above. Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config --libs' are in the LD_LIBRARY_PATH or equivalent. Error running configure ERROR: failed building wxWidgets Traceback (most recent call last): File "build-wxpython.py", line 378, in <module> wxbuild.main(wxscript, build_options) File "/home/joao/Downloads/wxPython-src-3.0.1.1/build/tools/build-wxwidgets.py", line 364, in main "Error running configure") File "/home/joao/Downloads/wxPython-src-3.0.1.1/build/tools/build-wxwidgets.py", line 80, in exitIfError raise builder.BuildError(msg) BuildError I also tried without the "sage -sh" (outside subshell), but I obtained the same results. It seems that something is missing and needs to be installed, although I've already installed a lot of packages (in Ubuntu 14.04), like libgtk2.0-0, libgtk2.0-dev, libgtk-3-0, libgtk-3-dev. I will try to ask the wxPython people. Thanks for the help! On Thursday, October 30, 2014 12:05:21 AM UTC-2, Nils Bruin wrote: > > On Wednesday, October 29, 2014 5:09:55 PM UTC-7, João Alberto Ferreira > wrote: >> >> How can I install wxPython (wx module) in Sage? >> > Have you tried executing "sage -sh" and then following the build > instructions at http://wxpython.org/builddoc.php ? The fact that > wxPython posts such build instructions suggests to me that easyinstall from > source is not supported for this package. wxPython has many system > dependencies, but hopefully you can satisfies those via your normal system > package management. > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.