issue compiling websocket "Cant calculate SHA1 if gnutls is not compiled in! Aborting now"

9 views
Skip to first unread message

harsh P

unread,
Feb 3, 2017, 7:44:10 PM2/3/17
to onion-dev
I installed the libonion and followed the steps 
i.e unzip the files on linux 
sudo apt-get install gntls-dev 
mkdir build 
cd build 
cmake ..
make 
sudo make install 

I made change port # to 9999 in webSocket.c under src/examples/websocket.c
issued make. 

I get the following error on attempting to connect to server using chrome client running from 
ws:// I entered 127.0.0.1:9999  in the Location field. 


~/onion-master/build/examples/websockets$ ./websockets 
[E02DE700] [2017-02-03 19:35:42] [ERROR codecs.c:389] Cant calculate SHA1 if gnutls is not compiled in! Aborting now

Reply all
Reply to author
Forward
0 new messages