codebutler / firesheep

A Firefox extension that demonstrates HTTP session hijacking attacks.
http://codebutler.github.com/firesheep
GNU General Public License v3.0
2.32k stars 634 forks source link

http_parser.h file missing #215

Open skanzariya opened 10 years ago

skanzariya commented 10 years ago

I am trying to build firesheep on Ubuntu 10.04 lts, while building I got http_parser.h file missing error.

Build Log Making all in backend make[1]: Entering directory /home/suresh/Testing/abc/firesheep-master/backend' /bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"Firesheep\" -DPACKAGE_TARNAME=\"firesheep\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"Firesheep\ 0.1\" -DPACKAGE_BUGREPORT=\"eric@codebutler.com\" -DPACKAGE_URL=\"http://codebutler.github.com/firesheep\" -DPACKAGE=\"firesheep\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_BOOST=1 -DHAVE_BOOST_FORMAT_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -I. -I deps/ -I deps/http-parser -I deps/json_spirit -Wall -g -O0 -DPLATFORM_LINUX -MT libfiresheep_la-http_sniffer.lo -MD -MP -MF .deps/libfiresheep_la-http_sniffer.Tpo -c -o libfiresheep_la-http_sniffer.lotest -f 'src/http_sniffer.cpp' || echo './'`src/http_sniffer.cpp libtool: compile: g++ -DPACKAGE_NAME=\"Firesheep\" -DPACKAGE_TARNAME=\"firesheep\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"Firesheep 0.1\"" -DPACKAGE_BUGREPORT=\"eric@codebutler.com\" -DPACKAGE_URL=\"http://codebutler.github.com/firesheep\" -DPACKAGE=\"firesheep\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_BOOST=1 -DHAVE_BOOST_FORMAT_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -I. -I deps/ -I deps/http-parser -I deps/json_spirit -Wall -g -O0 -DPLATFORM_LINUX -MT libfiresheep_la-http_sniffer.lo -MD -MP -MF .deps/libfiresheep_la-http_sniffer.Tpo -c src/http_sniffer.cpp -fPIC -DPIC -o .libs/libfiresheep_la-http_sniffer.o In file included from src/http_sniffer.hpp:29, from src/http_sniffer.cpp:29: src/http_packet.hpp:31:37: error: http-parser/http_parser.h: No such file or directory In file included from src/http_sniffer.hpp:29, from src/http_sniffer.cpp:29: src/http_packet.hpp:70: error: ‘http_parser’ does not name a type src/http_packet.hpp:71: error: ‘http_parser_settings’ does not name a type src/http_packet.hpp:82: error: ‘http_parser’ has not been declared src/http_packet.hpp:83: error: ‘http_parser’ has not been declared src/http_packet.hpp:84: error: ‘http_parser’ has not been declared src/http_packet.hpp:85: error: ‘http_parser’ has not been declared src/http_packet.hpp:86: error: ‘http_parser’ has not been declared src/http_packet.hpp:87: error: ‘http_parser’ has not been declared src/http_packet.hpp:88: error: ‘http_parser’ has not been declared

lesion commented 9 years ago

for future visitors, you forgot to checkout submodules: git submodule update --init