티스토리 뷰

반응형

1. 사전 준비

# 필요한 설치 목록
brew install openssl zlib cmake wget git

 

2. boost 1.69

- 약 20분 소요. 가장 오래걸림!

# boost_1_69 설치
wget https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz -O /tmp/boost.tar.gz
tar xzvf /tmp/boost.tar.gz
cd boost_1_69_0
./bootstrap.sh --with-toolset=clang
./b2 install toolset=clang

 

3. protobuf 3.6.1

- 약 10분 소요

# protobuf 3.6.1 설치
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protobuf-all-3.6.1.tar.gz -O /tmp/protobuf-all-3.6.1.tar.gz
tar xzvf /tmp/protobuf-all-3.6.1.tar.gz
cd protobuf-3.6.1
mkdir build_make
cd build_make
cmake ../cmake
make
sudo make install

 

4. Catch2

- 약 5분 소요

# Catch2 설치
git clone --branch v2.13.2 https://github.com/catchorg/Catch2.git
cd Catch2
mkdir build
cd build
cmake ../
make
sudo make install

 

5. localproxy 빌드

- 약 5분 소요
- cmake 행의 1.1.1i는 다를 수 있음. 1.1.1h나, 1.1.1j나...

# localproxy 빌드
git clone https://github.com/aws-samples/aws-iot-securetunneling-localproxy
cd aws-iot-securetunneling-localproxy
mkdir build
cd build
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl@1.1/1.1.1i/ -DOPENSSL_LIBRARIES=/usr/local/Cellar/openssl@1.1/1.1.1i/lib/
make

 

맥에서 localproxy 빌드하기 (How to build aws iot localproxy with macOS)

댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함