Created
August 2, 2019 12:13
-
-
Save membphis/e3e3e0866309e8cc2f57ad743bb09b54 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rain@MBPro ~/Downloads/lua-resty-libr3 master ✔ | |
$ make | |
git clone -b 2.0.2-iresty https://github.com/iresty/r3.git | |
Cloning into 'r3'... | |
remote: Enumerating objects: 29, done. | |
remote: Counting objects: 100% (29/29), done. | |
remote: Compressing objects: 100% (19/19), done. | |
remote: Total 4308 (delta 14), reused 18 (delta 10), pack-reused 4279 | |
Receiving objects: 100% (4308/4308), 1.42 MiB | 548.00 KiB/s, done. | |
Resolving deltas: 100% (3041/3041), done. | |
Note: checking out '1b9e007dfc13008cd0a6d0873047bf3613eafe1c'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by performing another checkout. | |
If you want to create a new branch to retain commits you create, you may | |
do so (now or later) by using -b with the checkout command again. Example: | |
git checkout -b <new-branch-name> | |
cd r3 && ./autogen.sh | |
+ rm -rf autom4te.cache Makefile.in aclocal.m4 | |
+ aclocal --force | |
+ set +ex | |
Looking for a version of libtoolize (which can have different names)... | |
Found glibtoolize | |
+ glibtoolize -c -f | |
glibtoolize: putting auxiliary files in '.'. | |
glibtoolize: copying file './ltmain.sh' | |
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. | |
glibtoolize: copying file 'm4/libtool.m4' | |
glibtoolize: copying file 'm4/ltoptions.m4' | |
glibtoolize: copying file 'm4/ltsugar.m4' | |
glibtoolize: copying file 'm4/ltversion.m4' | |
glibtoolize: copying file 'm4/lt~obsolete.m4' | |
+ autoconf -f -W all,no-obsolete | |
+ autoheader -f -W all | |
+ automake --add-missing --foreign --copy -c -W all | |
configure.ac:3: installing './compile' | |
configure.ac:8: installing './config.guess' | |
configure.ac:8: installing './config.sub' | |
configure.ac:7: installing './install-sh' | |
configure.ac:7: installing './missing' | |
examples/Makefile.am: installing './depcomp' | |
parallel-tests: installing './test-driver' | |
+ rm -rf autom4te.cache | |
+ exit 0 | |
cd r3 && ./configure && make | |
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 whether gcc understands -c and -o together... yes | |
checking how to run the C preprocessor... gcc -E | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -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 minix/config.h usability... no | |
checking minix/config.h presence... no | |
checking for minix/config.h... no | |
checking whether it is safe to define __EXTENSIONS__... yes | |
checking whether make supports nested variables... yes | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d | |
checking for gawk... no | |
checking for mawk... no | |
checking for nawk... no | |
checking for awk... awk | |
checking whether make sets $(MAKE)... yes | |
checking whether make supports the include directive... yes (GNU style) | |
checking dependency style of gcc... gcc3 | |
checking build system type... x86_64-apple-darwin18.6.0 | |
checking host system type... x86_64-apple-darwin18.6.0 | |
checking how to print strings... printf | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking for fgrep... /usr/bin/grep -F | |
checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld | |
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no | |
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... 196608 | |
checking how to convert x86_64-apple-darwin18.6.0 file names to x86_64-apple-darwin18.6.0 format... func_convert_file_noop | |
checking how to convert x86_64-apple-darwin18.6.0 file names to toolchain format... func_convert_file_noop | |
checking for /Library/Developer/CommandLineTools/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 ar... ar | |
checking for archiver @FILE support... no | |
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 a working dd... /bin/dd | |
checking how to truncate binary pipes... /bin/dd bs=4096 count=1 | |
checking for mt... no | |
checking if : is a manifest tool... no | |
checking for dsymutil... dsymutil | |
checking for nmedit... nmedit | |
checking for lipo... lipo | |
checking for otool... otool | |
checking for otool64... no | |
checking for -single_module linker flag... yes | |
checking for -exported_symbols_list linker flag... yes | |
checking for -force_load linker flag... yes | |
checking for dlfcn.h... yes | |
checking for objdir... .libs | |
checking if gcc supports -fno-rtti -fno-exceptions... yes | |
checking for gcc option to produce PIC... -fno-common -DPIC | |
checking if gcc PIC flag -fno-common -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 (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin18.6.0 dyld | |
checking how to hardcode library paths into programs... immediate | |
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 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 whether gcc understands -c and -o together... (cached) yes | |
checking for gcc option to accept ISO C99... none needed | |
checking for gcc option to accept ISO Standard C... (cached) none needed | |
checking for g++... g++ | |
checking whether we are using the GNU C++ compiler... yes | |
checking whether g++ accepts -g... yes | |
checking dependency style of g++... gcc3 | |
checking how to run the C++ preprocessor... g++ -E | |
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld | |
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no | |
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes | |
checking for g++ option to produce PIC... -fno-common -DPIC | |
checking if g++ PIC flag -fno-common -DPIC works... yes | |
checking if g++ static flag -static works... no | |
checking if g++ supports -c -o file.o... yes | |
checking if g++ supports -c -o file.o... (cached) yes | |
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin18.6.0 dyld | |
checking how to hardcode library paths into programs... immediate | |
checking for stdbool.h that conforms to C99... yes | |
checking for _Bool... yes | |
checking for stdlib.h... (cached) yes | |
checking for string.h... (cached) yes | |
checking sys/time.h usability... yes | |
checking sys/time.h presence... yes | |
checking for sys/time.h... yes | |
checking for inline... inline | |
checking for size_t... yes | |
checking for gettimeofday... yes | |
checking for memset... yes | |
checking for strchr... yes | |
checking for strdup... yes | |
checking for strndup... yes | |
checking for strstr... yes | |
checking for pkg-config... /usr/local/bin/pkg-config | |
checking pkg-config is at least version 0.9.0... yes | |
checking for libpcre... yes | |
checking that generated files are newer than configure... done | |
configure: creating ./config.status | |
config.status: creating r3.pc | |
config.status: creating Makefile | |
config.status: creating src/Makefile | |
config.status: creating tests/Makefile | |
config.status: creating examples/Makefile | |
config.status: creating config.h | |
config.status: executing depfiles commands | |
config.status: executing libtool commands | |
/Library/Developer/CommandLineTools/usr/bin/make all-recursive | |
Making all in src | |
CC node.lo | |
CC edge.lo | |
CC str.lo | |
CC token.lo | |
CC match_entry.lo | |
CC slug.lo | |
CC memory.lo | |
CCLD libr3core.la | |
Making all in . | |
CCLD libr3.la | |
Making all in examples | |
CC simple.o | |
CCLD simple | |
CXX simple_cpp.o | |
CXXLD simple_cpp | |
cc -O3 -g -Wall -fpic -DBUILDING_SO -c r3_resty.c | |
cc -bundle -undefined dynamic_lookup -fvisibility=hidden r3_resty.o r3/.libs/libr3.a -o libr3.dylib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment