Beef icon indicating copy to clipboard operation
Beef copied to clipboard

Does not compile on FreeBSD13.0

Open devosalain opened this issue 4 years ago • 0 comments

`

What i did,

git clone ln -s ./bin/build.sh cp CMakeList.txt .. changed build.sh bash path to /usr/local/bin/bash removed in this file the libffi and llvm depencies as freebsd13.0 has : libffi version 3.3._1 , installed in /usr/local/include & /usr/local/lib and llvm12 installed in /usr/local/llvm12/bin

Error log, launching build.sh below bin directory,

Starting build.sh Building from from /usr/home/x/Dirs/Src/languages/Beef_langauge CMake Error at CMakeLists.txt:9 (add_subdirectory): add_subdirectory given source "extern/hunspell" which is not an existing directory. CMake Error at CMakeLists.txt:10 (add_subdirectory): add_subdirectory given source "BeefySysLib" which is not an existing directory. CMake Error at CMakeLists.txt:11 (add_subdirectory): add_subdirectory given source "IDEHelper" which is not an existing directory. CMake Error at CMakeLists.txt:12 (add_subdirectory): add_subdirectory given source "BeefBoot" which is not an existing directory. CMake Error at CMakeLists.txt:13 (add_subdirectory): add_subdirectory given source "BeefRT" which is not an existing directory. Configuring incomplete, errors occurred!

Launching build.sh from the bin directory produces,

HOSTx /home/x/languages/Beef_langauge/bin >./build.sh 0 Starting build.sh Building from from /usr/home/x/Dirs/Src/languages/Beef_langauge/bin The C compiler identification is Clang 11.0.1 The CXX compiler identification is Clang 11.0.1 Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working C compiler: /usr/bin/cc - skipped Detecting C compile features Detecting C compile features - done Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check for working CXX compiler: /usr/bin/c++ - skipped Detecting CXX compile features Detecting CXX compile features - done Looking for C++ include backtrace.h Looking for C++ include backtrace.h - not found Configuring done CMake Error at IDEHelper/CMakeLists.txt:190 (add_library): Target "IDEHelper" links to item " /usr/home/x/Dirs/Src/languages/Beef_langauge/IDEHelper/../extern/llvm_linux_11_0_0/lib/libLLVMCore.a

My configuration :

uname -a
FreeBSD mail.ala 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #0 releng/13.0-n244760-940681634ee: Thu Oct 28 22:04:17 CEST 2021 [email protected]:/usr/obj/usr/src/amd64.amd64/sys/BSD_2021_10_28 amd64

cc -v
FreeBSD clang version 11.0.1 ([email protected]:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin

pkg info | grep libffi
libffi-3.3_1 Foreign Function Interface `

devosalain avatar Oct 30 '21 21:10 devosalain