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

fail to install debian bookworm #1470

Open
RichNeese opened this issue Mar 15, 2024 · 7 comments
Open

fail to install debian bookworm #1470

RichNeese opened this issue Mar 15, 2024 · 7 comments

Comments

@RichNeese
Copy link

       arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.11 -c src/c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-311/src/c/_cffi_backend.o
        src/c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
           15 | #include <ffi.h>
              |          ^~~~~~~
        compilation terminated.
        error: command '/usr/bin/arm-linux-gnueabihf-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 cffi
  Failed to build cffi
  ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

@kiarn
Copy link
Member

kiarn commented Mar 18, 2024

Hello,

There's actually no support for arm installation. There's some thread here related to this problem, but I did not have the time to test it deeply. The main problem is to install cffi on this platform, which is not an issue related to Ajenti.

Arnaud

@RichNeese
Copy link
Author

RichNeese commented Apr 5, 2024

Then install cffi from source for arm64

pip3 install --no-cache cffi --no-binary :all:

link:

@RichNeese
Copy link
Author

also please fix your scripts to use pip3 now pip is for older systems

@kiarn
Copy link
Member

kiarn commented Apr 6, 2024

Thanks for your input to install cffi, I will give it a try when I find the time.

also please fix your scripts to use pip3 now pip is for older systems

I'm using python3 -m pip which is barely the same as pip3.

Copy link

stale bot commented May 10, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days unless you comment.
Thank you for your contributions.

@stale stale bot added the Stale label May 10, 2024
@szef1233
Copy link

       arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.11 -c src/c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-311/src/c/_cffi_backend.o
        src/c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
           15 | #include <ffi.h>
              |          ^~~~~~~
        compilation terminated.
        error: command '/usr/bin/arm-linux-gnueabihf-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 cffi
  Failed to build cffi
  ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

@stale stale bot removed the Stale label May 11, 2024
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