SigmaGmbH / swisstronik-chain

Swisstronik is an identity-based hybrid layer-1 blockchain ecosystem. It lets Web 3.0 and traditional companies build KYC, AML and DPR compliant applications with enhanced data privacy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There was a problem when I was going to do the "make install" command in the terminal

OneNov0209 opened this issue · comments

Screenshot_2023-07-28-14-25-12-553-edit_com server auditor ssh client

Bug Report Template

Please use this template to report bugs or vulnerabilities. Please fill out all the sections below:

1. Bug/Vulnerability Description

Clearly state and describe the identified bug or vulnerability.

2. Hardware and Software Specifications

  • OS Name & version
  • CPU Name & Brand
  • Go version
  • Rust version
  • SGX version (optional)
  • Docker environment

3. Steps to Reproduce

Provide clear and concise instructions to reproduce the reported bug or vulnerability.

4. Impact Analysis

Analyze the potential consequences of the bug or vulnerability on users, developers, and the organization.

5. Code Fix Submission

(Optional) If you have a suggestion for fixing the bug or vulnerability, provide a code fix or a proposed solution.

6. Choose the Right Label

Choose the suitable label/s that represents the nature of the issue being resolved, indicating its specific category and severity of the vulnerability

7. Additional Context

(Optional)Share any relevant context, screenshots, logs, or error messages that can facilitate problem-solving and comprehensive understanding.


Thank you for contributing to the improvement of our project!👨‍💻👩‍💻


Swisstronik internal use only

  • Not duplicate issue
  • Appropriate labels applied

Hello, thanks for submitting your issue. Could you provide all steps that you did from git clone to make install?

commented

You have to clone recursively, with submodules
git clone --recursive https://github.com/SigmaGmbH/swisstronik-chain

i did this step: git clone https://github.com/SigmaGmbH/swisstronik-chain swisstronik
cd swisstronik
git checkout v0.1.0
make install

what I'm asking is, when I do git clone swisstronik-chain, then "cd swisstronik" won't go into that file, because the git clone command is swisstronik-chain, so after I command git clone, then I command cd swisstronik the chains work

Screenshot_2023-07-28-18-55-30-517-edit_com server auditor ssh client
And this not work

can you provide a solution? because I followed the tutorial in this doc
https://swisstronik.gitbook.io/swisstronik-docs/swisstronik-testnet/node-installation-guide

commented

The docs have been updated.
As stated previously, you have clone recursively with submodules:
git clone --recursive https://github.com/SigmaGmbH/swisstronik-chain swisstronik

Alternatively, you can do make init

commented

It seems like this is the same problem happening with me, what version of rustc did you install?
i think you need install SGX, your vps have CPU intell?

commented

you can see my issue: #10

Ok I will try

Dokumen telah diperbarui. Seperti yang dinyatakan sebelumnya, Anda memiliki klon secara rekursif dengan submodul: git clone --recursive https://github.com/SigmaGmbH/swisstronik-chain swisstronik

Alternatifnya, Anda bisa melakukannyamake init

I have tried to do what you suggested, but the result is still an error, sir, like this
Screenshot_2023-07-30-19-01-31-860-edit_com server auditor ssh client
Screenshot_2023-07-30-19-01-53-472-edit_com server auditor ssh client

commented

Dokumen telah diperbarui. Seperti yang dinyatakan sebelumnya, Anda memiliki klon secara rekursif dengan submodul: git clone --recursive https://github.com/SigmaGmbH/swisstronik-chain swisstronik
Alternatifnya, Anda bisa melakukannyamake init

Saya sudah mencoba melakukan apa yang Anda sarankan, tetapi hasilnya masih kesalahan, Pak, seperti ini Screenshot_2023-07-30-19-01-31-860-edit_com Server Auditor SSH Client Screenshot_2023-07-30-19-01-53-472-edit_com Server Auditor SSH Client

SGX already install?
try to sudo $(which sgx-detect) and screenshot again send here, I want to see it
image
should come up with output like this

Dokumen telah diperbarui. Seperti yang dinyatakan sebelumnya, Anda memiliki klon secara rekursif dengan submodul: git clone --recursive https://github.com/SigmaGmbH/swisstronik-chain swisstronik
Alternatifnya, Anda bisa melakukannyamake init

Saya sudah mencoba melakukan apa yang Anda sarankan, tetapi hasilnya masih kesalahan, Pak, seperti ini Screenshot_2023-07-30-19-01-31-860-edit_com Server Auditor SSH Client Screenshot_2023-07-30-19-01-53-472-edit_com Server Auditor SSH Client

SGX already install? try to sudo $(which sgx-detect) and screenshot again send here, I want to see it image should come up with output like this

Screenshot_2023-07-30-19-23-58-305-edit_com server auditor ssh client
Like this

Screenshot_2023-07-30-19-29-26-314-edit_com server auditor ssh client
I try install this

Screenshot_2023-07-30-21-01-24-487-edit_com server auditor ssh client
How to fix?

Try sudo sgx-detect

Try sudo sgx-detect

Screenshot_2023-07-31-22-45-27-812-edit_com server auditor ssh client
Screenshot_2023-07-31-22-45-00-465-edit_com server auditor ssh client
I've installed the sgx, but the results are still the same

commented

Try sudo ./root/.cargo/bin/sgx-detect

Try sudo ./root/.cargo/bin/sgx-detect

Uploading Screenshot_2023-07-31-22-49-55-125-edit_com.server.auditor.ssh.client.jpg…

Could you upload again your screenshots?

Could you upload again your screenshots?

Uploading Screenshot_2023-08-02-19-59-21-710-edit_com.server.auditor.ssh.client.jpg…

Could you check if sgx-detect installed correctly by running:

whereis sgx-detect

Uploading Screenshot_2023-08-02-22-42-33-581-edit_com.server.auditor.ssh.client.jpg…

I run inside the root

I cannot see your screenshots, could you send text response?

root@vmi1031685:~# whereis sgx-detect
sgx-detect:

Just this sir

Seems like sgx-detect was not installed or not added to PATH. Could you reinstall it by running

cargo install sgxs-tools

and provide the output

Screenshot_2023-08-03-09-01-55-603-edit_com server auditor ssh client
How about this?

Did you add /root/.cargo/bin to PATH?

You can check it by running echo $PATH

commented

check your vps specification sir, you need intel cpu for install SGX

commented

#10

read pls

Is it related to this issue?

You have to use Intel CPUs with SGX only if you want to run swisstronikd in production mode. If you want to use it for test purposes, you can build swisstronikd in simulation mode

Screenshot_2023-08-03-22-29-40-641-edit_com server auditor ssh client

Like this sir

So sgx-detect is not included in PATH. Please update your PATH env variable with /root/.cargo/bin directory. You can find comprehensive guide how to do it here: https://linuxize.com/post/how-to-add-directory-to-path-in-linux/

So sgx-detect is not included in PATH. Please update your PATH env variable with /root/.cargo/bin directory. You can find comprehensive guide how to do it here: https://linuxize.com/post/how-to-add-directory-to-path-in-linux/

Ok thanks sir,, i will try again

commented

yes, he uses contabo which is obviously clear from the start he does not own or use intel CPU

But it should be possible to build swisstronikd in simulation mode. This mode does not require SGX-compatible hardware, but cannot be used in production

ok sir, I understand, thanks for the support