You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use box86 for a docker image to add Raspberry Pi support but unfortunately have not been able to compile the repo just yet. Is there anyone out there who already solved this issue?
Right now these are the steps I do:
# syntax=docker/dockerfile:1.3-labsFROM --platform="linux/arm64" alpine:3.15
RUN <<COMPILE_BOX86
apk --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main \
add coreutils git make python3 cmake nasm gcc gcc-arm-none-eabi libc6-compat
apk --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
add add libstdc++6
mdir -p /box86 /box86-src && cd /box86
git clone https://github.com/ptitSeb/box86.git /box86-src
cmake /box86-src -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo
make -j$(nproc)
make install
COMPILE_BOX86
The output:
Cloning into '/box86-src'...
-- Found Python3: /usr/bin/python3.10 (found version "3.10.1") found components: Interpreter
-- The C compiler identification is unknown
-- The ASM compiler identification is unknown
-- Didn't find assembler
CMake Error at CMakeLists.txt:60 (project):
The CMAKE_C_COMPILER:
arm-linux-gnueabihf-gcc
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:60 (project):
No CMAKE_ASM_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!
See also "/box86/CMakeFiles/CMakeOutput.log".
See also "/box86/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
I wanted to use box86 for a docker image to add Raspberry Pi support but unfortunately have not been able to compile the repo just yet. Is there anyone out there who already solved this issue?
Right now these are the steps I do:
The output:
Beta Was this translation helpful? Give feedback.
All reactions