Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cmake . -DMYSQL=ON -DMARIADB=ON
- -- The C compiler identification is GNU 4.9.2
- -- The CXX compiler identification is GNU 4.9.2
- -- 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
- -- 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
- -- Found Git: /usr/bin/git (found version "2.1.4")
- -- Performing Test COMPILER_SUPPORTS_CXX11
- -- Performing Test COMPILER_SUPPORTS_CXX11 - Success
- -- Architecture is x86_64
- -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.1t")
- -- Looking for include file pthread.h
- -- Looking for include file pthread.h - found
- -- Looking for pthread_create
- -- Looking for pthread_create - not found
- -- Looking for pthread_create in pthreads
- -- Looking for pthread_create in pthreads - not found
- -- Looking for pthread_create in pthread
- -- Looking for pthread_create in pthread - found
- -- Found Threads: TRUE
- -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
- -- * Found MariaDB library: /usr/lib/x86_64-linux-gnu/libmysqlclient.a
- -- * Found MariaDB include directory: /usr/include/mysql
- -- * PQuery revision is: 3800fd4
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /opt/pquery
- # make
- Scanning dependencies of target inih++
- [ 16%] Building C object src/third_party/inih++/lib/CMakeFiles/inih++.dir/ini.c.o
- <command-line>:0:0: error: "FORK" redefined
- <command-line>:0:0: note: this is the location of the previous definition
- src/third_party/inih++/lib/CMakeFiles/inih++.dir/build.make:54: recipe for target 'src/third_party/inih++/lib/CMakeFiles/inih++.dir/ini.c.o' failed
- make[2]: *** [src/third_party/inih++/lib/CMakeFiles/inih++.dir/ini.c.o] Error 1
- CMakeFiles/Makefile2:157: recipe for target 'src/third_party/inih++/lib/CMakeFiles/inih++.dir/all' failed
- make[1]: *** [src/third_party/inih++/lib/CMakeFiles/inih++.dir/all] Error 2
- Makefile:137: recipe for target 'all' failed
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment