Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pycrypto is failing to install #15

Closed
bermudi opened this issue Nov 11, 2023 · 2 comments
Closed

pycrypto is failing to install #15

bermudi opened this issue Nov 11, 2023 · 2 comments

Comments

@bermudi
Copy link

bermudi commented Nov 11, 2023

Trying to run moggie but pycrypto is failing to install:

In file included from /usr/include/python3.11/Python.h:86,

                       from src/_fastmath.c:31:

      /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration

        208 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts);

            |                                                            ^~~~~~~~

      /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration

        213 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);

            |                                                        ^~~~~~~~

      /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration

        217 | PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts);

            |                                                               ^~~~~~~~

      src/_fastmath.c:33:10: fatal error: longintrepr.h: No such file or directory

         33 | #include <longintrepr.h>                                /* for conversions */

            |          ^~~~~~~~~~~~~~~

      compilation terminated.

      error: command '/usr/bin/gcc' failed with exit code 1

any alternatives so we can test moggie?

@h3artbl33d
Copy link

The root cause: fatal error: longintrepr.h: No such file or directory - because Python 3.11 requires some adjustments. It shouldn't be a problem with Python 3.10.

Keep in mind that Moggie is still a work in progress - it shouldn't be considered stable or production worthy just yet.

@BjarniRunar
Copy link
Member

I'm going to close this - requirements failing to install isn't something we are considering as our problem yet. Maybe we will when things have matured a bit! Thank you for reporting this though, I appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants