mesos configuration error cannot find glog -
i have installed glog form source.
git clone https://github.com/google/glog.git -b v0.3.3 cd glog sudo ./configure --prefix=/usr --libdir=/usr/lib64 && sudo make && sudo make install
then configuring mesos options as:
../configure --with-protobuf=/usr --with-boost=/usr --with-glog=/usr
but cannot find glog , glog/logging.h.
configure output:
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking bsd-compatible install... /usr/bin/install -c checking whether build environment sane... yes checking thread-safe mkdir -p... /bin/mkdir -p checking gawk... gawk checking whether make sets $(make)... yes checking whether make supports nested variables... yes checking whether enable maintainer-specific portions of makefiles... yes checking style of include used make... gnu checking gcc... gcc checking whether c compiler works... yes checking c compiler default output file name... a.out checking suffix of executables... checking whether cross compiling... no checking suffix of object files... o checking whether using gnu c compiler... yes checking whether gcc accepts -g... yes checking gcc option accept iso c89... none needed checking whether gcc understands -c , -o together... yes checking dependency style of gcc... gcc3 checking ar... ar checking archiver (ar) interface... ar checking how print strings... printf checking sed not truncate output... /bin/sed checking grep handles long lines , -e... /bin/grep checking egrep... /bin/grep -e checking fgrep... /bin/grep -f checking ld used gcc... /usr/bin/ld checking if linker (/usr/bin/ld) gnu ld... yes checking bsd- or ms-compatible name lister (nm)... /usr/bin/nm -b checking name lister (/usr/bin/nm -b) interface... bsd nm checking whether ln -s works... yes checking maximum length of command line arguments... 1572864 checking whether shell understands xsi constructs... yes checking whether shell understands "+="... yes checking how convert x86_64-unknown-linux-gnu file names x86_64-unknown-linux-gnu format... func_convert_file_noop checking how convert x86_64-unknown-linux-gnu file names toolchain format... func_convert_file_noop checking /usr/bin/ld option reload object files... -r checking objdump... objdump checking how recognize dependent libraries... pass_all checking dlltool... no checking how associate runtime , link libraries... printf %s\n checking whether using gnu c++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking archiver @file support... @ checking strip... strip checking ranlib... ranlib checking command parse /usr/bin/nm -b output gcc object... ok checking sysroot... no checking mt... mt checking if mt manifest tool... no checking how run c preprocessor... gcc -e checking ansi c header files... yes checking sys/types.h... yes checking sys/stat.h... yes checking stdlib.h... yes checking string.h... yes checking memory.h... yes checking strings.h... yes checking inttypes.h... yes checking stdint.h... yes checking unistd.h... yes checking dlfcn.h... yes checking objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking gcc option produce pic... -fpic -dpic checking if gcc pic flag -fpic -dpic works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should explicitly linked in... no checking dynamic linker characteristics... gnu/linux ld.so checking how hardcode library paths programs... immediate checking whether stripping libraries possible... yes checking if libtool supports shared libraries... yes checking whether build shared libraries... yes checking whether build static libraries... no checking how run c++ preprocessor... g++ -e checking ld used g++... /usr/bin/ld -m elf_x86_64 checking if linker (/usr/bin/ld -m elf_x86_64) gnu ld... yes checking whether g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking g++ option produce pic... -fpic -dpic checking if g++ pic flag -fpic -dpic works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) gnu/linux ld.so checking how hardcode library paths programs... immediate configure: creating ./config.lt config.lt: creating libtool configure: setting build environment x86_64 linux-gnu checking whether using gnu c++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking whether using gnu c compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking gcc option accept iso c89... (cached) none needed checking whether gcc understands -c , -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking c++ compiler vendor... gnu checking c++ compiler version... 4.8.5 checking c++ compiler vendor... (cached) gnu checking glog/logging.h usability... no checking glog/logging.h presence... no checking glog/logging.h... no configure: error: cannot find glog ------------------------------------------------------------------- have requested use of non-bundled glog no suitable glog found. may want specify location of glog providing prefix path via --with-glog=dir, or check path provided correct if you're doing this. -------------------------------------------------------------------
glog/logging.h placed in /usr/include. why not able find it? missing here? note: have installed glog.
i think --with-glog=/usr/lib64
looking past error.
having said might have same --with-protobuf
, --with-boost
assuming using own installed source version similar glog
.
Comments
Post a Comment