Giter Site home page Giter Site logo

Install Script Failure about socket HOT 8 OPEN

ricklyman avatar ricklyman commented on July 21, 2024
Install Script Failure

from socket.

Comments (8)

heapwolf avatar heapwolf commented on July 21, 2024

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)

from socket.

ricklyman avatar ricklyman commented on July 21, 2024

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)

from socket.

heapwolf avatar heapwolf commented on July 21, 2024

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

from socket.

ricklyman avatar ricklyman commented on July 21, 2024

...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)

from socket.

jwerle avatar jwerle commented on July 21, 2024

...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?

from socket.

ricklyman avatar ricklyman commented on July 21, 2024

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

from socket.

jwerle avatar jwerle commented on July 21, 2024

How about libc++abi-dev?

from socket.

ricklyman avatar ricklyman commented on July 21, 2024

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

from socket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.