socket
socket copied to clipboard
Install Script Failure
1 error generated. not ok - /usr/lib/llvm-14/bin/clang++ (14.0.0) failed in feature check required for building Socket Runtime - please report (https://discord.gg/YPV32gKCsH)
Ubuntu 22.04.4 LTS 64 bit Intel i5
. <(curl -s -o- https://socketsupply.co/sh)
install fails, ssc - v fails
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
clang --version fails
sudo apt install clang-14
clang-14 is already the newest version (1:14.0.0-1ubuntu1.1)
may be related to issue #563
if you want to build the project so that you can contribute, you'll need clang >=15, (FYI you can also just npm install so you don't need to update your toolchain)
https://socketsupply.co/guides/
sudo apt install
...
clang-14
...
sudo apt remove clang-14 sudo apt install clang-15
. <(curl -s -o- https://socketsupply.co/sh)
... cp: cannot stat '/home/rlyman/socket/build/x86_64-desktop/pkgconfig/': No such file or directory ... cp: cannot stat '/home/rlyman/socket/build/x86_64-android/pkgconfig/': No such file or directory cp: cannot stat '/home/rlyman/socket/build/arm64-v8a-android/pkgconfig/': No such file or directory ... cp: cannot stat '/home/rlyman/socket/build/x86_64-desktop/bin/': No such file or directory not ok - unable to move binary into '/home/rlyman/.local/share/socket' - please report (https://discord.gg/YPV32gKCsH)
now you have a new problem, I think because it's in a bad state, what happens if you just delete any artifacts created by that script and do this...
git clone [email protected]:socketsupply/socket.git
cd socket
VERBOSE=1 ./bin/install.sh
...delete any artifacts ... ? removed socket directory
git clone [email protected]:socketsupply/socket.git fails
git clone https://github.com/socketsupply/socket.git succeeds
cd socket VERBOSE=1 ./bin/install.sh
...
/home/rlyman/socket/src/core/types.hh:4:10: fatal error: 'array' file not found
#include
...delete any artifacts ... ? removed socket directory
git clone [email protected]:socketsupply/socket.git fails
git clone https://github.com/socketsupply/socket.git succeeds
cd socket VERBOSE=1 ./bin/install.sh
... /home/rlyman/socket/src/core/types.hh:4:10: fatal error: 'array' file not found #include ... 1 error generated. not ok - /usr/lib/llvm-15/bin/clang++ (15.0.7) failed in feature check required for building Socket Runtime - please report (https://discord.gg/YPV32gKCsH)
Hi @ricklyman
Could you also install libstdc++ too?
jwerle: do you mean: sudo apt-get install libstdc++6 ? ... libstdc++6 is already the newest version (12.3.0-1ubuntu1~22.04) ... VERBOSE=1 ./bin/install.sh same result as above
How about libc++abi-dev?
sudo apt-get install libc++abi-dev ... libc++abi-dev 0 upgraded, 1 newly installed, ... ...
VERBOSE=1 ./bin/install.sh same result as above
/home/rlyman/socket/src/core/types.hh:4:10: fatal error: 'array' file not found
#include