{"id":220,"date":"2022-08-30T14:57:43","date_gmt":"2022-08-30T14:57:43","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/08\/28\/error-while-installing-the-libmemcached-record-and-share-programming-errors\/"},"modified":"2022-08-30T14:57:43","modified_gmt":"2022-08-30T14:57:43","slug":"error-while-installing-the-libmemcached-record-and-share-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/error-while-installing-the-libmemcached-record-and-share-programming-errors\/","title":{"rendered":"error while installing the libmemcached-Record and share programming errors"},"content":{"rendered":"<p>I get this while installing libmemcached<\/p>\n<pre><code>root@server [\/libmemcached]# make\nmake  all-am\nmake[1]: Entering directory `\/libmemcached'\nif \/bin\/sh .\/libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.  -I. -I. -ggdb   -DBUILDING_HASHKIT  -MT libhashkit\/libhashkit_libhashkit_la-aes.lo -MD -MP -MF \"libhashkit\/.deps\/libhashkit_libhashkit_la-aes.Tpo\" -c -o libhashkit\/libhashkit_libhashkit_la-aes.lo `test -f 'libhashkit\/aes.cc' || echo '.\/'`libhashkit\/aes.cc; \\\n        then mv -f \"libhashkit\/.deps\/libhashkit_libhashkit_la-aes.Tpo\" \"libhashkit\/.deps\/libhashkit_libhashkit_la-aes.Plo\"; else rm -f \"libhashkit\/.deps\/libhashkit_libhashkit_la-aes.Tpo\"; exit 1; fi\n.\/libtool: line 866: X--tag=CXX: command not found\n.\/libtool: line 899: libtool: ignoring unknown tag : command not found\n.\/libtool: line 866: X--mode=compile: command not found\n.\/libtool: line 1032: *** Warning: inferring the mode of operation is deprecated.: command not found\n.\/libtool: line 1033: *** Future versions of Libtool will require --mode=MODE be specified.: command not found\n.\/libtool: line 1176: Xg++: command not found\n.\/libtool: line 1176: X-DHAVE_CONFIG_H: command not found\n.\/libtool: line 1176: X-I.: command not found\n.\/libtool: line 1176: X-I.: command not found\n.\/libtool: line 1176: X-I.: command not found\n.\/libtool: line 1176: X-I.: command not found\n.\/libtool: line 1176: X-I.: command not found\n.\/libtool: line 1176: X-ggdb: command not found\n.\/libtool: line 1176: X-DBUILDING_HASHKIT: command not found\n.\/libtool: line 1176: X-MT: command not found\n.\/libtool: line 1176: Xlibhashkit\/libhashkit_libhashkit_la-aes.lo: No such file or directory\n.\/libtool: line 1176: X-MD: command not found\n.\/libtool: line 1176: X-MP: command not found\n.\/libtool: line 1176: X-MF: command not found\n.\/libtool: line 1176: Xlibhashkit\/.deps\/libhashkit_libhashkit_la-aes.Tpo: No such file or directory\n.\/libtool: line 1176: X-c: command not found\n.\/libtool: line 1228: Xlibhashkit\/libhashkit_libhashkit_la-aes.lo: No such file or directory\n.\/libtool: line 1233: libtool: compile: cannot determine name of library object from `': command not found\nmake[1]: *** [libhashkit\/libhashkit_libhashkit_la-aes.lo] Error 1\nmake[1]: Leaving directory `\/libmemcached'\nmake: *** [all] Error 2\n<\/code><\/pre>\n<p>OUTPUT OF .\/configure<\/p>\n<pre><code>checking build system type... x86_64-unknown-linux-gnu\nchecking host system type... x86_64-unknown-linux-gnu\nchecking target system type... x86_64-unknown-linux-gnu\nchecking for a BSD-compatible install... \/usr\/bin\/install -c\nchecking whether build environment is sane... yes\nchecking for gawk... gawk\nchecking whether make sets $(MAKE)... yes\nchecking for style of include used by make... GNU\nchecking for gcc... gcc\nchecking whether the C compiler works... yes\nchecking for C compiler default output file name... a.out\nchecking for suffix of executables... \nchecking whether we are cross compiling... no\nchecking for suffix of object files... o\nchecking whether we are using the GNU C compiler... yes\nchecking whether gcc accepts -g... yes\nchecking for gcc option to accept ISO C89... none needed\nchecking dependency style of gcc... gcc3\nchecking dependency style of gcc... (cached) gcc3\nchecking how to run the C preprocessor... gcc -E\nchecking for grep that handles long lines and -e... \/bin\/grep\nchecking for egrep... \/bin\/grep -E\nchecking for ANSI C header files... yes\nchecking for sys\/types.h... yes\nchecking for sys\/stat.h... yes\nchecking for stdlib.h... yes\nchecking for string.h... yes\nchecking for memory.h... yes\nchecking for strings.h... yes\nchecking for inttypes.h... yes\nchecking for stdint.h... yes\nchecking for unistd.h... yes\nchecking minix\/config.h usability... no\nchecking minix\/config.h presence... no\nchecking for minix\/config.h... no\nchecking whether it is safe to define __EXTENSIONS__... yes\nchecking for isainfo... no\nchecking for g++... g++\nchecking whether we are using the GNU C++ compiler... yes\nchecking whether g++ accepts -g... yes\nchecking dependency style of g++... gcc3\nchecking dependency style of g++... (cached) gcc3\nchecking whether gcc and cc understand -c and -o together... yes\nchecking how to create a ustar tar archive... gnutar\nchecking whether __SUNPRO_C is declared... no\nchecking whether __ICC is declared... no\nchecking \"C Compiler version--yes\"... \"gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52)\"\nchecking \"C++ Compiler version\"... \"g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52)\"\nchecking whether time.h and sys\/time.h may both be included... yes\nchecking whether struct tm is in sys\/time.h or time.h... time.h\nchecking for size_t... yes\nchecking for special C compiler options needed for large files... no\nchecking for _FILE_OFFSET_BITS value needed for large files... no\nchecking for library containing clock_gettime... -lrt\nchecking sys\/socket.h usability... yes\nchecking sys\/socket.h presence... yes\nchecking for sys\/socket.h... yes\nchecking size of off_t... 8\nchecking size of size_t... 8\nchecking size of long long... 8\nchecking if time_t is unsigned... no\nchecking for setsockopt... yes\nchecking for bind... yes\nchecking whether the compiler provides atomic builtins... yes\nchecking assert.h usability... yes\nchecking assert.h presence... yes\nchecking for assert.h... yes\nchecking whether to enable assertions... yes\nchecking whether it is safe to use -fdiagnostics-show-option... yes\nchecking whether it is safe to use -floop-parallelize-all... no\nchecking whether it is safe to use -Wextra... yes\nchecking whether it is safe to use -Wformat... yes\nchecking whether it is safe to use -Wconversion... no\nchecking whether it is safe to use -Wmissing-declarations from C++... no\nchecking whether it is safe to use -Wframe-larger-than... no\nchecking whether it is safe to use -Wlogical-op... no\nchecking whether it is safe to use -Wredundant-decls from C++... yes\nchecking whether it is safe to use -Wattributes from C++... no\nchecking whether it is safe to use -Wno-attributes... no\nchecking for perl... perl\nchecking for dpkg-gensymbols... no\nchecking for lcov... no\nchecking for genhtml... no\nchecking for sphinx-build... no\nchecking for working -pipe... yes\nchecking for bison... bison\nchecking for flex... flex\nchecking how to print strings... printf\nchecking for a sed that does not truncate output... \/bin\/sed\nchecking for fgrep... \/bin\/grep -F\nchecking for ld used by gcc... \/usr\/bin\/ld\nchecking if the linker (\/usr\/bin\/ld) is GNU ld... yes\nchecking for BSD- or MS-compatible name lister (nm)... \/usr\/bin\/nm -B\nchecking the name lister (\/usr\/bin\/nm -B) interface... BSD nm\nchecking whether ln -s works... yes\nchecking the maximum length of command line arguments... 98304\nchecking whether the shell understands some XSI constructs... yes\nchecking whether the shell understands \"+=\"... yes\nchecking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop\nchecking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop\nchecking for \/usr\/bin\/ld option to reload object files... -r\nchecking for objdump... objdump\nchecking how to recognize dependent libraries... pass_all\nchecking for dlltool... no\nchecking how to associate runtime and link libraries... printf %s\\n\nchecking for ar... ar\nchecking for archiver @FILE support... @\nchecking for strip... strip\nchecking for ranlib... ranlib\nchecking command to parse \/usr\/bin\/nm -B output from gcc object... ok\nchecking for sysroot... no\nchecking for mt... no\nchecking if : is a manifest tool... no\nchecking for dlfcn.h... yes\nchecking for objdir... .libs\nchecking if gcc supports -fno-rtti -fno-exceptions... no\nchecking for gcc option to produce PIC... -fPIC -DPIC\nchecking if gcc PIC flag -fPIC -DPIC works... yes\nchecking if gcc static flag -static works... yes\nchecking if gcc supports -c -o file.o... yes\nchecking if gcc supports -c -o file.o... (cached) yes\nchecking whether the gcc linker (\/usr\/bin\/ld -m elf_x86_64) supports shared libraries... yes\nchecking whether -lc should be explicitly linked in... no\nchecking dynamic linker characteristics... GNU\/Linux ld.so\nchecking how to hardcode library paths into programs... immediate\nchecking whether stripping libraries is possible... yes\nchecking if libtool supports shared libraries... yes\nchecking whether to build shared libraries... yes\nchecking whether to build static libraries... yes\nchecking how to run the C++ preprocessor... g++ -E\nchecking for ld used by g++... \/usr\/bin\/ld -m elf_x86_64\nchecking if the linker (\/usr\/bin\/ld -m elf_x86_64) is GNU ld... yes\nchecking whether the g++ linker (\/usr\/bin\/ld -m elf_x86_64) supports shared libraries... yes\nchecking for g++ option to produce PIC... -fPIC -DPIC\nchecking if g++ PIC flag -fPIC -DPIC works... yes\nchecking if g++ static flag -static works... yes\nchecking if g++ supports -c -o file.o... yes\nchecking if g++ supports -c -o file.o... (cached) yes\nchecking whether the g++ linker (\/usr\/bin\/ld -m elf_x86_64) supports shared libraries... yes\nchecking dynamic linker characteristics... (cached) GNU\/Linux ld.so\nchecking how to hardcode library paths into programs... immediate\nchecking whether the -Werror option is usable... yes\nchecking for simple visibility declarations... yes\nchecking for ISO C++ 98 include files... \nchecking whether memcached executable path has been provided... no\nchecking for memcached... \/usr\/local\/bin\/memcached\nchecking whether memcached_sasl executable path has been provided... no\nchecking for memcached_sasl... no\nchecking whether gearmand executable path has been provided... no\nchecking for gearmand... no\nchecking libgearman\/gearmand.h usability... no\nchecking libgearman\/gearmand.h presence... no\nchecking for libgearman\/gearmand.h... no\nchecking for library containing getopt_long... none required\nchecking for library containing gethostbyname... none required\nchecking for the pthreads library -lpthreads... no\nchecking whether pthreads work without any flags... yes\nchecking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE\nchecking if more special flags are required for pthreads... no\nchecking for PTHREAD_PRIO_INHERIT... yes\nchecking the location of cstdint... configure: WARNING: Could not find a cstdint header.\n\nchecking the location of cinttypes... configure: WARNING: Could not find a cinttypes header.\n\nchecking whether byte ordering is bigendian... no\nchecking for htonll... no\nchecking for working SO_SNDTIMEO... yes\nchecking for working SO_RCVTIMEO... yes\nchecking for supported struct padding... yes\nchecking for alarm... yes\nchecking for dup2... yes\nchecking for getline... yes\nchecking for gettimeofday... yes\nchecking for memchr... yes\nchecking for memmove... yes\nchecking for memset... yes\nchecking for pipe2... no\nchecking for select... yes\nchecking for setenv... yes\nchecking for socket... yes\nchecking for sqrt... yes\nchecking for strcasecmp... yes\nchecking for strchr... yes\nchecking for strdup... yes\nchecking for strerror... yes\nchecking for strtol... yes\nchecking for strtoul... yes\nchecking for strtoull... yes\nchecking arpa\/inet.h usability... yes\nchecking arpa\/inet.h presence... yes\nchecking for arpa\/inet.h... yes\nchecking fcntl.h usability... yes\nchecking fcntl.h presence... yes\nchecking for fcntl.h... yes\nchecking libintl.h usability... yes\nchecking libintl.h presence... yes\nchecking for libintl.h... yes\nchecking limits.h usability... yes\nchecking limits.h presence... yes\nchecking for limits.h... yes\nchecking malloc.h usability... yes\nchecking malloc.h presence... yes\nchecking for malloc.h... yes\nchecking netdb.h usability... yes\nchecking netdb.h presence... yes\nchecking for netdb.h... yes\nchecking netinet\/in.h usability... yes\nchecking netinet\/in.h presence... yes\nchecking for netinet\/in.h... yes\nchecking stddef.h usability... yes\nchecking stddef.h presence... yes\nchecking for stddef.h... yes\nchecking sys\/time.h usability... yes\nchecking sys\/time.h presence... yes\nchecking for sys\/time.h... yes\nchecking execinfo.h usability... yes\nchecking execinfo.h presence... yes\nchecking for execinfo.h... yes\nchecking cxxabi.h usability... yes\nchecking cxxabi.h presence... yes\nchecking for cxxabi.h... yes\nchecking sys\/sysctl.h usability... yes\nchecking sys\/sysctl.h presence... yes\nchecking for sys\/sysctl.h... yes\nchecking umem.h usability... no\nchecking umem.h presence... no\nchecking for umem.h... no\nchecking for C++ compiler vendor... gnu\nchecking for working alloca.h... yes\nchecking for alloca... yes\nchecking for error_at_line... yes\nchecking for pid_t... yes\nchecking vfork.h usability... no\nchecking vfork.h presence... no\nchecking for vfork.h... no\nchecking for fork... yes\nchecking for vfork... yes\nchecking for working fork... yes\nchecking for working vfork... (cached) yes\nchecking for stdlib.h... (cached) yes\nchecking for GNU libc compatible malloc... yes\nchecking for stdlib.h... (cached) yes\nchecking for GNU libc compatible realloc... yes\nchecking whether strerror_r is declared... yes\nchecking for strerror_r... yes\nchecking whether strerror_r returns char *... yes\nchecking for stdbool.h that conforms to C99... yes\nchecking for _Bool... no\nchecking for int16_t... yes\nchecking for int32_t... yes\nchecking for int64_t... yes\nchecking for int8_t... yes\nchecking for off_t... yes\nchecking for pid_t... (cached) yes\nchecking for ssize_t... yes\nchecking for uint16_t... yes\nchecking for uint32_t... yes\nchecking for uint64_t... yes\nchecking for uint8_t... yes\nchecking whether byte ordering is bigendian... (cached) no\nchecking for an ANSI C-conforming const... yes\nchecking for inline... inline\nchecking for working volatile... yes\nchecking for C\/C++ restrict keyword... __restrict\nchecking whether the compiler supports GCC C++ ABI name demangling... yes\nchecking sasl\/sasl.h usability... no\nchecking sasl\/sasl.h presence... no\nchecking for sasl\/sasl.h... no\nchecking uuid\/uuid.h usability... yes\nchecking uuid\/uuid.h presence... yes\nchecking for uuid\/uuid.h... yes\nchecking for main in -luuid... yes\nchecking for clock_gettime in -lrt... yes\nchecking for floor in -lm... yes\nchecking for sigignore... yes\nchecking atomic.h usability... no\nchecking atomic.h presence... no\nchecking for atomic.h... no\nchecking for setppriv... no\nchecking for winsock2.h... no\nchecking for poll.h... yes\nchecking for sys\/wait.h... yes\nchecking for fnmatch.h... yes\nchecking for MSG_NOSIGNAL... yes\nchecking for MSG_DONTWAIT... yes\nchecking for MSG_MORE... yes\nchecking event.h usability... yes\nchecking event.h presence... yes\nchecking for event.h... yes\nchecking for main in -levent... yes\nchecking for endianness... little\nconfigure: creating .\/config.status\nconfig.status: creating Makefile\nconfig.status: creating docs\/conf.py\nconfig.status: creating libhashkit-1.0\/configure.h\nconfig.status: creating libmemcached-1.0\/configure.h\nconfig.status: creating libmemcached-1.2\/configure.h\nconfig.status: creating libmemcached-2.0\/configure.h\nconfig.status: creating support\/libmemcached.pc\nconfig.status: creating support\/libmemcached.spec\nconfig.status: creating support\/libmemcached-fc.spec\nconfig.status: creating libtest\/version.h\nconfig.status: creating config.h\nconfig.status: config.h is unchanged\nconfig.status: executing depfiles commands\nconfig.status: executing libtool commands\n---\nConfiguration summary for libmemcached version 1.0.6\n\n   * Installation prefix:       \/usr\/local\n   * System type:               unknown-linux-gnu\n   * Host CPU:                  x86_64\n   * C Compiler:                gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52)\n   * Assertions enabled:        yes\n   * Debug enabled:             no\n   * Warnings as failure:       no\n   * SASL support:              \n\n---\n<\/code><\/pre>\n<p>anyone knows how to solve this ?<\/p>\n<p id=\"rop\"><small>Originally posted 2013-08-28 05:41:53. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I get this while installing libmemcached root@server [\/libmemcached]# make make all-am make[1]: Entering directory `\/libmemcached&#8217; if \/bin\/sh .\/libtool &#8211;tag=CXX &#8211;mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -ggdb -DBUILDING_HASHKIT -MT libhashkit\/libhashkit_libhashkit_la-aes.lo -MD -MP -MF &#8220;libhashkit\/.deps\/libhashkit_libhashkit_la-aes.Tpo&#8221; -c -o libhashkit\/libhashkit_libhashkit_la-aes.lo `test -f &#8216;libhashkit\/aes.cc&#8217; || echo &#8216;.\/&#8217;`libhashkit\/aes.cc; \\ then mv -f &#8220;libhashkit\/.deps\/libhashkit_libhashkit_la-aes.Tpo&#8221; &#8220;libhashkit\/.deps\/libhashkit_libhashkit_la-aes.Plo&#8221;; else rm -f &#8220;libhashkit\/.deps\/libhashkit_libhashkit_la-aes.Tpo&#8221;; exit [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-220","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=220"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/220\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}