Unable to MAKE nfqueue-bindings [closed]-Collection of common programming errors
I am trying to install nfqueue-bindings.
However, when I tried to run the MAKE file, I got this error:
[root@localhost nfqueue-bindings-0.3]# make
[ -d build ] || mkdir build; \
cd build && cmake -DDEBUG=1 -DCMAKE_VERBOSE_MAKEFILE=0 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local .. && make
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Found SWIG: /usr/bin/swig (found version "2.0.1")
-- checking for one of the modules 'libnetfilter_queue'
-- Found PythonInterp: /usr/bin/python2.7
-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
-- Found Perl: /usr/bin/perl
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PERL_INCLUDE_PATH (ADVANCED)
used as include directory in directory /home/student/Downloads/nfqueue-bindings-0.3/perl
PERL_LIBRARY (ADVANCED)
linked by target "nfqueue" in directory /home/student/Downloads/nfqueue-bindings-0.3/perl
PYTHON_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/student/Downloads/nfqueue-bindings-0.3/python
PYTHON_LIBRARY (ADVANCED)
linked by target "_nfqueue" in directory /home/student/Downloads/nfqueue-bindings-0.3/python
-- Configuring incomplete, errors occurred!
make: *** [all] Error 1
I tried reading the INSTALL file that comes with the module, seems like I might have been doing the installation wrongly as the MAKE file tries to find the perl and python libraries in /home/student/Downloads/nfqueue-bindings-0.3/perl and /home/student/Downloads/nfqueue-bindings-0.3/python. The current directory I am in is /home/student/Downloads/nfuque-bindings-0.3. I am not exactly sure where my development libraries for perl and python are… Can anybody help?
Thanks and regards.
Originally posted 2013-11-09 22:51:16.