Dear All please help me to solve this installation error
while installing a small util https://sourceforge.net/projects/drmtools/ Build instructions: Use cmake. Inspect the CMakeLists.txt and verify that it will install to the directory you want. Then do: mkdir build cd build cmake .. make make install
PC:~/drm_tools-1.1.30$ cd build
PC:~/drm_tools-1.1.30/build$ cmake ..
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bilal/drm_tools-1.1.30/build
PC:~/drm_tools-1.1.30/build$ make
2Scanning dependencies of target pockmark
[ 2%] Building C object CMakeFiles/pockmark.dir/pockmark.c.o
[ 5%] Linking C executable /tmp/testinstall/bin/pockmark
[ 5%] Built target pockmark
Scanning dependencies of target msgqueue
[ 7%] Building C object CMakeFiles/msgqueue.dir/msgqueue.c.o
[ 10%] Linking C executable /tmp/testinstall/bin/msgqueue
[ 10%] Built target msgqueue
Scanning dependencies of target dmath
[ 12%] Building C object CMakeFiles/dmath.dir/test_math.c.o
[ 15%] Building C object CMakeFiles/dmath.dir/math_funcs.c.o
[ 17%] Linking C executable /tmp/testinstall/bin/dmath
[ 17%] Built target dmath
Scanning dependencies of target datasniffer
[ 20%] Building C object CMakeFiles/datasniffer.dir/datasniffer.c.o
[ 22%] Linking C executable /tmp/testinstall/bin/datasniffer
[ 22%] Built target datasniffer
Scanning dependencies of target binreplace
[ 25%] Building C object CMakeFiles/binreplace.dir/binreplace.c.o
[ 27%] Linking C executable /tmp/testinstall/bin/binreplace
[ 27%] Built target binreplace
Scanning dependencies of target tarsieve
[ 30%] Building C object CMakeFiles/tarsieve.dir/tarsieve.c.o
/home/bilal/drm_tools-1.1.30/tarsieve.c:69:10: fatal error: pcre.h: No such file or directory
#include <pcre.h>
^~~~~~~~
compilation terminated.
CMakeFiles/tarsieve.dir/build.make:62: recipe for target 'CMakeFiles/tarsieve.dir/tarsieve.c.o' failed
make[2]: *** [CMakeFiles/tarsieve.dir/tarsieve.c.o] Error 1
CMakeFiles/Makefile2:252: recipe for target 'CMakeFiles/tarsieve.dir/all' failed
make[1]: *** [CMakeFiles/tarsieve.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
(base) bilal@BIlalPC:~/drm_tools-1.1.30/build$ make
2[ 5%] Built target pockmark
[ 10%] Built target msgqueue
[ 17%] Built target dmath
[ 22%] Built target datasniffer
[ 27%] Built target binreplace
[ 30%] Building C object CMakeFiles/tarsieve.dir/tarsieve.c.o
/home/bilal/drm_tools-1.1.30/tarsieve.c:69:10: fatal error: pcre.h: No such file or directory
#include <pcre.h>
^~~~~~~~
compilation terminated.
CMakeFiles/tarsieve.dir/build.make:62: recipe for target 'CMakeFiles/tarsieve.dir/tarsieve.c.o' failed
make[2]: *** [CMakeFiles/tarsieve.dir/tarsieve.c.o] Error 1
CMakeFiles/Makefile2:252: recipe for target 'CMakeFiles/tarsieve.dir/all' failed
make[1]: *** [CMakeFiles/tarsieve.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
while cheking if the file is present
PC:~/drm_tools-1.1.30$ ./
build/ test_chardiff.sh
build_linux.sh test_dmath_mingw.sh
build_mingw.sh test_dmath.sh
build_solaris.sh test_extract_features2.sh
test_binformat.sh test_extract_features_mingw.sh
test_binload.sh test_extract_features.sh
test_binorder.sh test_extract_increment.sh
test_binsplit.sh test_tarsieve.sh
Hi Shahzad
Please use the formatting bar (especially the
code
option) to present your post better. I've done it for you this time.Thank you!