Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Script Failure #963

Open
ricklyman opened this issue Mar 20, 2024 · 8 comments
Open

Install Script Failure #963

ricklyman opened this issue Mar 20, 2024 · 8 comments

Comments

@ricklyman
Copy link

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

@heapwolf
Copy link
Member

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)

@ricklyman
Copy link
Author

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)

@heapwolf
Copy link
Member

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 git@github.com:socketsupply/socket.git
cd socket
VERBOSE=1 ./bin/install.sh

@ricklyman
Copy link
Author

...delete any artifacts ...
?
removed socket directory

git clone git@github.com: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)

@jwerle
Copy link
Member

jwerle commented Mar 20, 2024

...delete any artifacts ... ? removed socket directory

git clone git@github.com: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?

@ricklyman
Copy link
Author

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

@jwerle
Copy link
Member

jwerle commented Mar 20, 2024

How about libc++abi-dev?

@ricklyman
Copy link
Author

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
^~~~~~~
...
1 error generated.
not ok - /usr/lib/llvm-15/bin/clang++ (15.0.7) failed in feature check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants