... | @@ -30,7 +30,7 @@ make && make install |
... | @@ -30,7 +30,7 @@ make && make install |
|
```
|
|
```
|
|
cd /usr/local/src/
|
|
cd /usr/local/src/
|
|
git clone https://github.com/happyfish100/fastdht.git --depth 1
|
|
git clone https://github.com/happyfish100/fastdht.git --depth 1
|
|
cd fastdht-master
|
|
cd fastdht
|
|
#编译之前需要先修改make.sh文件。在大约27行修改CFLAGS为:CFLAGS='-Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/local/db-6.2.32/include/ -L/usr/local/db-6.2.32/lib/'
|
|
#编译之前需要先修改make.sh文件。在大约27行修改CFLAGS为:CFLAGS='-Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/local/db-6.2.32/include/ -L/usr/local/db-6.2.32/lib/'
|
|
./make.sh && ./make.sh install
|
|
./make.sh && ./make.sh install
|
|
```
|
|
```
|
... | | ... | |