Here's the error as reported during the compilation process:

checking for python... /opt/sage-6.2/local/bin/python
> checking for a version of Python >= '2.1.0'... sys:1: RuntimeWarning: not 
> adding directory '' to sys.path since it's writable by an untrusted group.
> Untrusted users could put files in this directory which might then be 
> imported by your Python code. As a general precaution from similar 
> exploits, you should not execute Python code from this directory
> yes
> checking for the distutils Python package... no
> configure: error: cannot import Python module "distutils".
> Please check your Python installation. The error was:
> sys:1: RuntimeWarning: not adding directory '' to sys.path since it's 
> writable by an untrusted group.
> Untrusted users could put files in this directory which might then be 
> imported by your Python code. As a general precaution from similar 
> exploits, you should not execute Python code from this directory
> make[3]: Entering directory 
> `/opt/sage-6.2/local/var/tmp/sage/build/pynac-0.3.2/src'
> make[3]: *** No targets specified and no makefile found.  Stop.
> make[3]: Leaving directory 
> `/opt/sage-6.2/local/var/tmp/sage/build/pynac-0.3.2/src'
> Error building pynac.
>
> real    0m0.869s
> user    0m0.528s
> sys     0m0.384s
> ************************************************************************
> Error installing package pynac-0.3.2
> ************************************************************************
> 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.2/logs/pkgs/pynac-0.3.2.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.2/local/var/tmp/sage/build/pynac-0.3.2 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.2/local/var/tmp/sage/build/pynac-0.3.2' && 
> '/opt/sage-6.2/sage' --sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> ************************************************************************
> make[2]: *** [/opt/sage-6.2/local/var/lib/sage/installed/pynac-0.3.2] 
> Error 1
> make[2]: Leaving directory `/opt/sage-6.2/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/sage-6.2/build'
>
> real    150m50.768s
> user    131m18.168s
> sys     17m8.948s
> ***************************************************************
> Error building Sage.
>
> The following package(s) may have failed to build:
>
> package: pynac-0.3.2
> log file: /opt/sage-6.2/logs/pkgs/pynac-0.3.2.log
> build directory: /opt/sage-6.2/local/var/tmp/sage/build/pynac-0.3.2
>
> The build directory may contain configuration files and other potentially
> helpful information. WARNING: if you now run 'make' again, the build
> directory will, by default, be deleted. Set the environment variable
> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
>
> make: *** [build] Error 1
>

I'm attempting this on a new installation of kubuntu 14.04 64-bit.  This is 
the first time, in maybe 20 Sage compilations over the years, that I've 
encountered an error.  I've aso checked that I do have distutils, it was 
installed when I installed Python initially (version 2.7); there is also 
distutils for Python 3.4; I imagine loaded as part of the Sage compile 
process.

Any advice?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to