Troubleshooting sageRegina

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

See here.

'cstddef' file not found (Mac OS X)

Try setting the environment variable MACOSX_DEPLOYMENT_TARGET to your Max OS X version before running pip install, e.g. (for bash),
    MACOSX_DEPLOYMENT_TARGET=10.14 sage -pip install sageRegina --log reginaInstall.log

Error: no such instruction: `...`

Example:
    /tmp/ccp6Wox5.s: Assembler messages:
    /tmp/ccp6Wox5.s:137: Error: no such instruction: `vfmadd312sd offset(%rip),%xmm0,%xmm3'
    /tmp/ccp6Wox5.s:713: Error: no such instruction: `vfmadd312sd .LC12(%rip),%xmm0,%xmm2'

sage is probably using the system's assembler as which is much older and incompatible with sage's own version of the compiler gcc. Also see "Platforms tested".
Use an older version of sage or switch to a newer assembler by, e.g., upgrading xcode or your Linux system. Your IT support might help get access to more recent versions of developer tools.

no "-std=c++11"

Example:
    cc1plus: error: unrecognized command line option "-std=c++11"

You have either a very old sage version or using a version of sage without its own version of a compiler gcc and the system's gcc is very old.
Get access to a more recent gcc. Your IT support might help you with this.

Out of disk space

If you use "-pip install", the build process puts intermediate files into the temporary directory which thus needs to have at least 2Gb of free space.

If you see an error indicating that files could not be written to the temporary directory because there was no free space left, try changing the temporary directory beforehand with:
    export TMPDIR=PATH_TO_DIR_WITH_MORE_FREE_SPACE