Skip to content

Instantly share code, notes, and snippets.

@centminmod
Created August 21, 2016 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save centminmod/d0b02f472d3722d87396d16999a8fb12 to your computer and use it in GitHub Desktop.
Save centminmod/d0b02f472d3722d87396d16999a8fb12 to your computer and use it in GitHub Desktop.
sunka working libbrotli library install https://community.centminmod.com/posts/35018/
install libbrotli
Cloning into 'libbrotli'...
make: *** No rule to make target `clean'. Stop.
No local changes to save
Already up-to-date.
Submodule 'brotli' (https://github.com/google/brotli) registered for path 'brotli'
Cloning into 'brotli'...
Submodule path 'brotli': checked out '2e0d3214c2b6248a486822d2c5267d1c961a29d0'
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
configure.ac:7: installing './config.guess'
configure.ac:7: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
Makefile.am: installing './depcomp'
----------------------------------------------------------------
Initialized build system. For a common configuration please run:
----------------------------------------------------------------
./configure
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 gcc... ccache /usr/bin/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 ccache /usr/bin/gcc accepts -g... yes
checking for ccache /usr/bin/gcc option to accept ISO C89... none needed
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 ccache /usr/bin/gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
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 /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... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /bin/nm -B output from ccache /usr/bin/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... ccache /usr/bin/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 ccache /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for ccache /usr/bin/gcc option to produce PIC... -fPIC -DPIC
checking if ccache /usr/bin/gcc PIC flag -fPIC -DPIC works... yes
checking if ccache /usr/bin/gcc static flag -static works... no
checking if ccache /usr/bin/gcc supports -c -o file.o... yes
checking if ccache /usr/bin/gcc supports -c -o file.o... (cached) yes
checking whether the ccache /usr/bin/gcc linker (/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 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 a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of ccache /usr/bin/gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether we are using the GNU C++ compiler... yes
checking whether ccache /usr/bin/g++ accepts -g... yes
checking how to run the C++ preprocessor... ccache /usr/bin/g++ -E
checking for ld used by ccache /usr/bin/g++... /bin/ld -m elf_x86_64
checking if the linker (/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the ccache /usr/bin/g++ linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for ccache /usr/bin/g++ option to produce PIC... -fPIC -DPIC
checking if ccache /usr/bin/g++ PIC flag -fPIC -DPIC works... yes
checking if ccache /usr/bin/g++ static flag -static works... no
checking if ccache /usr/bin/g++ supports -c -o file.o... yes
checking if ccache /usr/bin/g++ supports -c -o file.o... (cached) yes
checking whether the ccache /usr/bin/g++ linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of ccache /usr/bin/g++... gcc3
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libbrotlienc.pc
config.status: creating libbrotlidec.pc
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
make all-am
make[1]: Entering directory `/svr-setup/libbrotli'
CC brotli/common/libbrotlienc_la-dictionary.lo
CC brotli/dec/libbrotlidec_la-bit_reader.lo
CC brotli/dec/libbrotlidec_la-decode.lo
CC brotli/dec/libbrotlidec_la-huffman.lo
CC brotli/dec/libbrotlidec_la-state.lo
CC brotli/common/libbrotlidec_la-dictionary.lo
CC brotli/enc/libbrotlienc_la-backward_references.lo
CC brotli/enc/libbrotlienc_la-histogram.lo
CC brotli/enc/libbrotlienc_la-block_splitter.lo
CC brotli/enc/libbrotlienc_la-literal_cost.lo
CC brotli/enc/libbrotlienc_la-brotli_bit_stream.lo
CC brotli/enc/libbrotlienc_la-metablock.lo
CC brotli/enc/libbrotlienc_la-encode.lo
CC brotli/enc/libbrotlienc_la-static_dict.lo
CXX brotli/enc/libbrotlienc_la-encode_parallel.lo
CXX brotli/enc/libbrotlienc_la-streams.lo
CC brotli/enc/libbrotlienc_la-entropy_encode.lo
CC brotli/enc/libbrotlienc_la-utf8_util.lo
CC brotli/enc/libbrotlienc_la-compress_fragment.lo
CC brotli/enc/libbrotlienc_la-compress_fragment_two_pass.lo
CXX brotli/enc/libbrotlienc_la-compressor.lo
CC brotli/enc/libbrotlienc_la-cluster.lo
CC brotli/enc/libbrotlienc_la-memory.lo
CC brotli/enc/libbrotlienc_la-bit_cost.lo
CCLD libbrotlidec.la
CXXLD libbrotlienc.la
make[1]: Leaving directory `/svr-setup/libbrotli'
make[1]: Entering directory `/svr-setup/libbrotli'
/bin/mkdir -p '/usr/local/lib'
/bin/sh ./libtool --mode=install /bin/install -c libbrotlidec.la libbrotlienc.la '/usr/local/lib'
libtool: install: /bin/install -c .libs/libbrotlidec.so.1.0.0 /usr/local/lib/libbrotlidec.so.1.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libbrotlidec.so.1.0.0 libbrotlidec.so.1 || { rm -f libbrotlidec.so.1 && ln -s libbrotlidec.so.1.0.0 libbrotlidec.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libbrotlidec.so.1.0.0 libbrotlidec.so || { rm -f libbrotlidec.so && ln -s libbrotlidec.so.1.0.0 libbrotlidec.so; }; })
libtool: install: /bin/install -c .libs/libbrotlidec.lai /usr/local/lib/libbrotlidec.la
libtool: install: /bin/install -c .libs/libbrotlienc.so.1.0.0 /usr/local/lib/libbrotlienc.so.1.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libbrotlienc.so.1.0.0 libbrotlienc.so.1 || { rm -f libbrotlienc.so.1 && ln -s libbrotlienc.so.1.0.0 libbrotlienc.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libbrotlienc.so.1.0.0 libbrotlienc.so || { rm -f libbrotlienc.so && ln -s libbrotlienc.so.1.0.0 libbrotlienc.so; }; })
libtool: install: /bin/install -c .libs/libbrotlienc.lai /usr/local/lib/libbrotlienc.la
libtool: install: /bin/install -c .libs/libbrotlidec.a /usr/local/lib/libbrotlidec.a
libtool: install: chmod 644 /usr/local/lib/libbrotlidec.a
libtool: install: ranlib /usr/local/lib/libbrotlidec.a
libtool: install: /bin/install -c .libs/libbrotlienc.a /usr/local/lib/libbrotlienc.a
libtool: install: chmod 644 /usr/local/lib/libbrotlienc.a
libtool: install: ranlib /usr/local/lib/libbrotlienc.a
libtool: finish: PATH="/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/include'
/bin/mkdir -p '/usr/local/include/brotli/enc'
/bin/install -c -m 644 brotli/enc/encode.h brotli/enc/command.h brotli/enc/hash.h brotli/enc/ringbuffer.h brotli/enc/static_dict.h brotli/enc/streams.h brotli/enc/fast_log.h brotli/enc/prefix.h brotli/enc/dictionary_hash.h brotli/enc/find_match_length.h brotli/enc/port.h brotli/enc/backward_references.h brotli/enc/histogram.h brotli/enc/block_splitter.h brotli/enc/metablock.h brotli/enc/context.h brotli/enc/literal_cost.h brotli/enc/cluster.h brotli/enc/bit_cost.h brotli/enc/entropy_encode.h brotli/enc/brotli_bit_stream.h brotli/enc/write_bits.h brotli/enc/static_dict_lut.h brotli/enc/encode_parallel.h brotli/enc/utf8_util.h brotli/enc/compress_fragment.h brotli/enc/compress_fragment_two_pass.h brotli/enc/entropy_encode_static.h brotli/enc/compressor.h brotli/enc/bit_cost_inc.h brotli/enc/block_splitter_inc.h brotli/enc/backward_references_inc.h brotli/enc/quality.h brotli/enc/metablock_inc.h brotli/enc/block_encoder_inc.h brotli/enc/hash_longest_match_quickly_inc.h brotli/enc/hash_forgetful_chain_inc.h brotli/enc/hash_longest_match_inc.h brotli/enc/memory.h brotli/enc/cluster_inc.h '/usr/local/include/brotli/enc'
/bin/mkdir -p '/usr/local/include/brotli/common'
/bin/install -c -m 644 brotli/common/constants.h brotli/common/dictionary.h brotli/common/port.h brotli/common/types.h '/usr/local/include/brotli/common'
/bin/mkdir -p '/usr/local/include/brotli/dec'
/bin/install -c -m 644 brotli/dec/decode.h brotli/dec/state.h brotli/dec/bit_reader.h brotli/dec/huffman.h brotli/dec/port.h brotli/dec/context.h brotli/dec/transform.h brotli/dec/prefix.h '/usr/local/include/brotli/dec'
/bin/mkdir -p '/usr/local/include/brotli/enc'
/bin/install -c -m 644 brotli/enc/histogram_inc.h '/usr/local/include/brotli/enc'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/bin/install -c -m 644 libbrotlienc.pc libbrotlidec.pc '/usr/local/lib/pkgconfig'
make[1]: Leaving directory `/svr-setup/libbrotli'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment