There was a problem when I was going to do the "make install" command in the terminal
OneNov0209 opened this issue · comments
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
?
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
can you provide a solution? because I followed the tutorial in this doc
https://swisstronik.gitbook.io/swisstronik-docs/swisstronik-testnet/node-installation-guide
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
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?
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 melakukannya
make init
I have tried to do what you suggested, but the result is still an error, sir, 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
![]()
SGX already install?
try to sudo $(which sgx-detect) and screenshot again send here, I want to see it
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
![]()
SGX already install? try to sudo $(which sgx-detect) and screenshot again send here, I want to see it
should come up with output like this
Try sudo sgx-detect
Try sudo ./root/.cargo/bin/sgx-detect
Could you upload again your screenshots?
Could you check if sgx-detect
installed correctly by running:
whereis sgx-detect
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
Did you add /root/.cargo/bin
to PATH?
You can check it by running echo $PATH
check your vps specification sir, you need intel cpu for install SGX
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
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
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