On Mon, Dec 22, 2025 at 3:58 PM Enrique Artal <
enriqu...@gmail.com> wrote:
>
> I wanted to take a look to regina in sagemath, but I am not able to install it. I can install it outside sage with pip (version 7.3.1.1).
on 10.9.beta0 I have
$ ./sage --pip install regina
Collecting regina
Downloading regina-7.3.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
(3.9 kB)
Downloading regina-7.3.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
(17.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.9/17.9 MB 14.1 MB/s 0:00:01
Installing collected packages: regina
Successfully installed regina-7.3.1.1
So you must be on a non-manylinux platform?
./sage --pip install --no-binary regina regina
fails for me with
running build_clib
building 'tokyocabinet_regina' library
creating build/temp.linux-x86_64-cpython-313/tokyocabinet-1.4.48
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fPIC
-Itokyocabinet-1.4.48 -c tokyocabinet-1.4.48/md5.c -o
build/temp.linux-x86_64-cpython-313/tokyocabinet-1.4.48/md5.o
-std=gnu99
tokyocabinet-1.4.48/md5.c:132:13: error: unknown type name ‘md5_state_t’
132 | md5_process(md5_state_t *pms, const md5_byte_t *data /*[64]*/)
| ^~~~~~~~~~~
tokyocabinet-1.4.48/md5.c:132:37: error: unknown type name ‘md5_byte_t’
132 | md5_process(md5_state_t *pms, const md5_byte_t *data /*[64]*/)
| ^~~~~~~~~~
tokyocabinet-1.4.48/md5.c:313:10: error: unknown type name ‘md5_state_t’
313 | md5_init(md5_state_t *pms)
| ^~~~~~~~~~~
tokyocabinet-1.4.48/md5.c:323:12: error: unknown type name ‘md5_state_t’
323 | md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes)
| ^~~~~~~~~~~
tokyocabinet-1.4.48/md5.c:323:36: error: unknown type name ‘md5_byte_t’
323 | md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes)
| ^~~~~~~~~~
tokyocabinet-1.4.48/md5.c:361:12: error: unknown type name ‘md5_state_t’
361 | md5_finish(md5_state_t *pms, md5_byte_t digest[16])
| ^~~~~~~~~~~
tokyocabinet-1.4.48/md5.c:361:30: error: unknown type name ‘md5_byte_t’
361 | md5_finish(md5_state_t *pms, md5_byte_t digest[16])
| ^~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a
problem with pip.
ERROR: Failed building wheel for regina
Failed to build regina
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> regina
I'm not surprised that it doesn't build from source, as their build
system is very much outdated.
Dima
> --
> 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...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/sage-support/6044c30e-e1c1-4fdf-85d3-0107456a1f8an%40googlegroups.com.