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

Unable to install in macOS #1448

Closed kspviswa closed 6 years ago

kspviswa commented 6 years ago

After setting the CC and CXX path and hacking the binutils, I'm finally hitting below error.

Note : I manually symlinked ar, ld, ranlib etc under .../includeos/bin/x86_64-elf-*

>>> Building IncludeOS
~/ws/IncludeOS/build_x86_64 ~/ws/IncludeOS
-- Target CPU x86_64
-- Target triple x86_64-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
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/kspviswa-vz/ws/IncludeOS/build_x86_64
[100%] Built target PrecompiledLibraries
[  2%] Performing build step for 'diskbuilder'
[  4%] Performing build step for 'vmbuild'
[  8%] Built target PrecompiledLibraries
[  8%] Built target botan
[  8%] Linking CXX static library libcrtn.a
[  8%] Linking CXX static library libcrti.a
Error running link command: No such file or directory
make[2]: *** [src/arch/x86_64/libcrtn.a] Error 2
make[1]: *** [src/arch/x86_64/CMakeFiles/crtn.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Error running link command: No such file or directory
make[2]: *** [src/arch/x86_64/libcrti.a] Error 2
make[1]: *** [src/arch/x86_64/CMakeFiles/crti.dir/all] Error 2
[100%] Built target vmbuild
[100%] Built target elf_syms
[  8%] Performing install step for 'vmbuild'
[100%] Built target diskbuilder
[  9%] Performing install step for 'diskbuilder'
[100%] Built target vmbuild
[100%] Built target elf_syms
Install the project...
-- Install configuration: ""
-- Up-to-date: /Users/kspviswa-vz/includeos/includeos/bin/vmbuild
-- Up-to-date: /Users/kspviswa-vz/includeos/includeos/bin/elf_syms
[100%] Built target diskbuilder
Install the project...
[ 10%] Completed 'vmbuild'
-- Install configuration: ""
-- Up-to-date: /Users/kspviswa-vz/includeos/includeos/bin/diskbuilder
[ 10%] Completed 'diskbuilder'
[ 12%] Built target vmbuild
[ 14%] Built target diskbuilder
make: *** [all] Error 2
>>> Sorry <<<
Could not install from bundle.
fwsGonzo commented 6 years ago

Did you ever get this resolved?

perbu commented 6 years ago

No feedback. I assume this is resolved. The installation docs have been reworked. Feel free to reopen if you cannot get it working.

kspviswa commented 6 years ago

Yeah Sorry for late reply. It is resolved.