edgelesssys / edgelessrt

Edgeless RT is an SDK and a runtime for Intel SGX. It combines top-notch Go support with simplicity, robustness and a small TCB. Developing confidential microservices has never been easier! C++17 and Rust (experimental) are also supported.
https://edgeless.systems
MIT License
131 stars 20 forks source link

Running "ninja" failed on ubuntu 22.04 failed message about can't find file to patch at input line xxx #158

Open Rax13 opened 11 months ago

Rax13 commented 11 months ago

Issue description The build completed successfully but when running ninja it failed

Steps :

1.I updated the source 2.All steps except the last one completed 3.I get errors and failed message when running ''ninja''

screenshot image i think build is completed but running "ninja" failed image image all most failed message about can't find file to fatch at input line xxx

Rax13 commented 11 months ago
thomasten commented 11 months ago

Hi, I'd suggest not to have the source in /opt/edgelessrt because this is the default installation path. Please try to do a clean clone and build without root and somewhere inside your home directory, e.g.:

cd ~
git clone https://github.com/edgelesssys/edgelessrt
cd edgelessrt
mkdir build
cd build
cmake -GNinja ..
ninja
Rax13 commented 11 months ago

thanks your advice I'll try again

aidenfoxivey commented 8 months ago

thanks your advice I'll try again

Did you have any luck with this change? I'm also running into this issue when trying to do a Nix flake build for EdgelessRT on Ubuntu 20.04.