Skip to content

Instantly share code, notes, and snippets.

@rpfilomeno
Created November 12, 2014 18:34
Show Gist options
  • Save rpfilomeno/360b9f485c54fd264638 to your computer and use it in GitHub Desktop.
Save rpfilomeno/360b9f485c54fd264638 to your computer and use it in GitHub Desktop.
Building modsecurity-2.8.0
$./configure --with-yajl=/usr/local/include/yajl
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for perl... /usr/bin/perl
checking for env... /bin/env
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for atexit... yes
checking for getcwd... yes
checking for memmove... yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for fchmod... yes
checking for strcasestr... yes
Checking plataform... Identified as Linux
configure: looking for Apache module support via DSO through APXS
configure: found apxs at /usr/sbin/apxs
configure: checking httpd version
configure: httpd is recent enough
checking for libpcre config script... /usr/bin/pcre-config
configure: using pcre v7.8
checking for libapr config script... /usr/bin/apr-1-config
configure: using apr v1.3.9
checking for libapu config script... /usr/bin/apu-1-config
configure: using apu v1.3.9
checking for libxml2 config script... /usr/bin/xml2-config
checking if libxml2 is at least v2.6.29... yes, 2.7.6
configure: using libxml2 v2.7.6
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for liblua config script... no
checking for lua install... no
configure: optional lua library not found
checking for libcurl config script... /usr/bin/curl-config
checking if libcurl is at least v... yes, 7.19.7
checking if libcurl is linked with gnutls... no
configure: using curl v7.19.7
checking for libyajl config script... no
checking for yajl install... no
configure: optional yajl library not found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tools/Makefile
config.status: creating apache2/Makefile
config.status: creating build/apxs-wrapper
config.status: creating mlogc/mlogc-batch-load.pl
config.status: creating tests/run-unit-tests.pl
config.status: creating tests/run-regression-tests.pl
config.status: creating tests/gen_rx-pm.pl
config.status: creating tests/csv_rx-pm.pl
config.status: creating tests/regression/server_root/conf/httpd.conf
config.status: creating tools/rules-updater.pl
config.status: creating mlogc/Makefile
config.status: creating tests/Makefile
config.status: creating apache2/modsecurity_config_auto.h
config.status: apache2/modsecurity_config_auto.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[2]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 36%] Built target yajl
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 72%] Built target yajl_s
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 76%] Built target yajl_test
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 80%] Built target gen-extra-close
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 84%] Built target json_reformat
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 88%] Built target json_verify
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 92%] Built target parse_config
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[100%] Built target perftest
make[2]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[1]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[1]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[2]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[4]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[4]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[4]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
<example/parse_config.c>:3: Warning: included file example/parse_config.c is not found. Check your EXAMPLE_PATH
<reformatter/json_reformat.c>:3: Warning: included file reformatter/json_reformat.c is not found. Check your EXAMPLE_PATH
/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/src/api/yajl_tree.h:25: Warning: included file example/parse_config.c is not found. Check your EXAMPLE_PATH
make[4]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
Built target doc
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[2]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[1]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[1]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[2]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 36%] Built target yajl
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 72%] Built target yajl_s
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 76%] Built target yajl_test
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 80%] Built target gen-extra-close
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 84%] Built target json_reformat
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 88%] Built target json_verify
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[ 92%] Built target parse_config
make[3]: Entering directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
make[3]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
[100%] Built target perftest
make[2]: Leaving directory `/home/psec_rundeck/mod_security/lloyd-yajl-66cb08c/build'
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/lib/libyajl.so.2.1.0
-- Up-to-date: /usr/local/lib/libyajl.so.2
-- Up-to-date: /usr/local/lib/libyajl.so
-- Up-to-date: /usr/local/lib/libyajl_s.a
-- Up-to-date: /usr/local/include/yajl/yajl_parse.h
-- Up-to-date: /usr/local/include/yajl/yajl_gen.h
-- Up-to-date: /usr/local/include/yajl/yajl_common.h
-- Up-to-date: /usr/local/include/yajl/yajl_tree.h
-- Up-to-date: /usr/local/include/yajl/yajl_version.h
-- Up-to-date: /usr/local/share/pkgconfig/yajl.pc
-- Up-to-date: /usr/local/bin/json_reformat
-- Up-to-date: /usr/local/bin/json_verify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment