includeos / IncludeOS

A minimal, resource efficient unikernel for cloud services
https://www.includeos.org
Apache License 2.0
4.89k stars 360 forks source link

install IncludeOS on openSUSE Leap 42.3 #1740

Closed jbarraca closed 6 years ago

jbarraca commented 6 years ago

is there a way to install IncludeOS on this OS ?

I tried to use the script install_from_bundle.sh but i get this error

`/usr/bin/clang /usr/bin/clang++

Best guess for compatible compilers: clang++ / clang

Building IncludeOS ~/IncludeOS/build_aarch64 ~/IncludeOS -- Target CPU aarch64 -- Target triple aarch64-pc-linux-elf -- Using vanilla CPU features: SSE3. CAPABS = -msse3 -mfpmath=sse -- Init git submodule: mod/GSL -- Init git submodule: mod/http-parser -- Init git submodule: mod/uzlib -- Init git submodule: mod/rapidjson -- Init git submodule: NaCl CMake Error at src/CMakeLists.txt:76 (add_subdirectory): add_subdirectory given source "arch/aarch64" which is not an existing directory.

-- Init git submodule: lib/protobuf -- Configuring incomplete, errors occurred! See also "/root/IncludeOS/build_aarch64/CMakeFiles/CMakeOutput.log". See also "/root/IncludeOS/build_aarch64/CMakeFiles/CMakeError.log". `

fwsGonzo commented 6 years ago

Perhaps you have an environment variable called ARCH set to aarch64? You can try unset ARCH and see what happens.

jbarraca commented 6 years ago

well i changed the file to use ARCH = aarch64 in the beginning of the script install_from_bundle.sh because that is my cpu architecture: image

It cant be installed with this architecture?

jbarraca commented 6 years ago

i tried to do everything again and now i got this error: image

fwsGonzo commented 6 years ago

Unfortunately, we only support i686 and x86_64 (amd64) as arches. We have prebuilt bundles for many dependencies, such as the C/C++ standard libraries. Building all the bundles correctly and verifying everything for a new arch is a big task.

That said, since you likely will be running the OS in a VM (which is what it's primarily for), you should be good just building for x86_64.

jbarraca commented 6 years ago

My OS is running directly on a Raspberry Pi 3. My goal was to deploy IncludeOS unikernels on top of the ukvm (solo5) which was already installed. Thank you for the support anyway