Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

./sage -i pyopenssl fails to compile

I've tried multiple times to get this to work. I've tried with a clean install of the latest version of sage and the latest version of ubuntu. I've run make install build essentials, make install m4. I've spent hours on google with no answers. This is the result ./sage -i pyopenssl (relevant output)

Using cached cffi-1.6.0.tar.gz Complete output from command python setup.py egg_info: /usr/SageMath/local/bin/pkg-config: line 16: /home/buildbot/slave/binary_pkg/build/tools/binary-pkg/bin/pkg-config: No such file or directory /usr/SageMath/local/bin/pkg-config: line 16: /home/buildbot/slave/binary_pkg/build/tools/binary-pkg/bin/pkg-config: No such file or directory /usr/SageMath/local/bin/pkg-config: line 16: /home/buildbot/slave/binary_pkg/build/tools/binary-pkg/bin/pkg-config: No such file or directory /usr/SageMath/local/bin/pkg-config: line 16: /home/buildbot/slave/binary_pkg/build/tools/binary-pkg/bin/pkg-config: No such file or directory /usr/SageMath/local/bin/pkg-config: line 16: /home/buildbot/slave/binary_pkg/build/tools/binary-pkg/bin/pkg-config: No such file or directory gcc: error: /usr/SageMath/local/lib/gcc/: Is a directory gcc: error: /usr/SageMath/local/lib/gcc/: Is a directory

    No working compiler found, or bogus compiler options
    passed to the compiler from Python's distutils module.
    See the error messages above.
    (If they are about -mno-fused-madd and you are on OS/X 10.8,
    see 

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-i0j969/cffi/ Makefile:2083: recipe for target 'pyopenssl' failed make[1]: * [pyopenssl] Error 1 make[1]: Leaving directory '/usr/SageMath/build/make'

real 0m10.091s user 0m7.088s sys 0m2.300s


Error building Sage.

The following package(s) may have failed to build (not necessarily during this run of 'make pyopenssl'):

  • package: openssl-1.0.2g log file: /usr/SageMath/logs/pkgs/openssl-1.0.2g.log build directory: /usr/SageMath/local/var/tmp/sage/build/openssl-1.0.2g

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.

Makefile:16: recipe for target 'pyopenssl' failed make: * [pyopenssl] Error 1

Does anyone have a clue how to fix this? I've run out of ideas, and have basically given up on making a secure sage server.