ssf icon indicating copy to clipboard operation
ssf copied to clipboard

http-parser files not fetched

Open sabdsouza opened this issue 8 years ago • 1 comments

Hello,

I have tried to compile ssf on Ubuntu 14.04.

apt-get -y install wget unzip cmake git build-essential g++ build-essential openssl libssl-dev libkrb5-dev

Now the only issue is http-parser, when using

wget https://github.com/securesocketfunneling/ssf/archive/2.1.0.zip --no-check-certificate

or github clone command, the httpd-parser files are not being downloaded.

So I run

git clone https://github.com/nodejs/http-parser.git mv http-parser test1/third_party/http-parser

with this I have to change

set(HTTP_PARSER_FILES /root/test1/third_party/http-parser/http_parser.h /root/test1/third_party/http-parser/http_parser.c)

In /root/test1/src/framework/ssf/layer/proxy/http_response_builder.h

Also

git clone https://github.com/securesocketfunneling/cmake-build-system.git

mv cmake-build-system test1/third_party/cmake-build-system

Let me know how to fix this with apt-get install or similar.

Regards,

sabdsouza avatar Jan 07 '17 19:01 sabdsouza

Hello @sabdsouza ,

cmake-build-system and http-parser are declared as git submodules.

You can get them:

  • at the clone stage by adding --recursive option: git clone --recursive https://github.com/securesocketfunneling/ssf.git

  • after the clone stage by executing the following command in the project directory: git submodule update --init --recursive

Submodules are downloaded and set at a specific commit automatically.

Do not hesitate to give us feedback on your build!

Best regards

securesocketfunneling avatar Jan 20 '17 13:01 securesocketfunneling