- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello yg1,
1. Install Prerequisites then download the Intel SGX for Linux source code:
$ sudo apt-get install build-essential ocaml ocamlbuild automake autoconf libtool wget python-is-python3 libssl-dev git cmake perl
$ sudo apt-get install libssl-dev libcurl4-openssl-dev protobuf-compiler libprotobuf-dev debhelper cmake reprepro unzip
$ git clone https://github.com/intel/linux-sgx.git
$ cd linux-sgx && make preparation
2. Build the debug versions of the SDK and SDK installer:
$ make sdk DEBUG=1
$ make sdk_install_pkg DEBUG=1
$ cd linux/installer/bin
$ ./sgx_linux_x64_sdk_${version}.bin
$ source ${sgx-sdk-install-path}/environment
4. Build the debug versions of the PSW and PSW installers:
$ make psw DEBUG=1
$ make deb_psw_pkg DEBUG=1
5. Install the PSW components and their symbol files.
The generated PSW installers are located under linux/installer/rpm/libsgx-urts, linux/installer/rpm/libsgx-enclave-common, linux/installer/rpm/libsgx-uae-service, linux/installer/rpm/libsgx-epid, linux/installer/rpm/libsgx-launch, linux/installer/rpm/libsgx-quote-ex and linux/installer/rpm/sgx-aesm-service
Execute the following commands in each PSW installer directory:
$ sudo dpkg -i *.deb
$ sudo dpkg -i *.ddeb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Jesus,
Thank you for the reply.
I followed the steps but still I'm facing the same issue while "make deb_psw_pkg DEBUG=1" even after building in debug version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello yg1,
I have not been able to reproduce your issue.
I noticed that your log says you are getting the 2.14 version of the software which is not the most current one.
Did you download a fresh copy of the package using git clone https://github.com/intel/linux-sgx.git? You should see version 2.15.101.1. I recommend starting fresh with a new download of the latest version of the software.
Use the same account privileges when running your make commands and sourcing the SDK environment file - all sudo or not sudo.
Run sudo apt-get update before going through the steps.
Sincerely,
Jesus G.
Intel Customer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hell yg1,
I realized I missed an important step in the instructions above.
After these commands:
$ git clone https://github.com/intel/linux-sgx.git
$ cd linux-sgx && make preparation
Run this:
Copy the mitigation tools corresponding to current OS distribution from external/toolset/{current_distr} to /usr/local/bin and make sure they have execute permission:
$ sudo cp external/toolset/{current_distr}/* /usr/local/bin
$ which ar as ld objcopy objdump ranlib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello yg1,
Do you still need help with this issue?
Regards,
Jesus G.
Intel Customer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Jesus,
I followed your steps. But I faced the same issue. So, I requested for OS reinstall. Hopefully I will not face the issue after that.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello yg1,
Can you install the PSW using Intel's apt repository rather than building from source?
1. Configure access to Intel's apt repository as detailed in page 11 of SGX Installation Guide for Linux :
$ echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list ; wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add - ; sudo apt-get update
2. Install all components of the SGX PSW:
$ sudo apt-get install libsgx-launch libsgx-urts libsgx-epid libsgx-quote-ex libsgx-uae-service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello yg1,
We have not heard from you in several days so we will no longer monitor this thread. We hope you were able to resolve your issue. Please start a new thread if you need further help.
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page