make install give error

Bug #1341126 reported by Mimiko on 2014-07-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
Undecided
Unassigned

Bug Description

I compiled libmemcache/1.0 but when installing, I get this error:

PATH="/opt/valgrind/bin:/opt/sphinx/bin:$PATH" make V=1 J=1 -n install-strip

if test -z 'strip'; then \
   make -j4 INSTALL_PROGRAM="/bin/bash /home/mimiko/src/libmemcached/build-aux/install-sh -c -s" \
     install_sh_PROGRAM="/bin/bash /home/mimiko/src/libmemcached/build-aux/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
       install; \
 else \
   make -j4 INSTALL_PROGRAM="/bin/bash /home/mimiko/src/libmemcached/build-aux/install-sh -c -s" \
     install_sh_PROGRAM="/bin/bash /home/mimiko/src/libmemcached/build-aux/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
     "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \
 fi
make[1]: Entering directory `/home/mimiko/src/libmemcached'
make -j4 install-recursive
make[2]: Entering directory `/home/mimiko/src/libmemcached'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
fail= failcom='exit 1'; \
 for f in x $MAKEFLAGS; do \
   case $f in \
     *=* | --[!k]*);; \
     *k*) failcom='fail=yes';; \
   esac; \
 done; \
 dot_seen=no; \
 target=`echo install-recursive | sed s/-recursive//`; \
 list='docs'; for subdir in $list; do \
   echo "Making $target in $subdir"; \
   if test "$subdir" = "."; then \
     dot_seen=yes; \
     local_target="$target-am"; \
   else \
     local_target="$target"; \
   fi; \
   (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make -j4 $local_target) \
   || eval $failcom; \
 done; \
 if test "$dot_seen" = "no"; then \
   make -j4 "$target-am" || exit 1; \
 fi; test -z "$fail"
Making install in docs
make[3]: Entering directory `/home/mimiko/src/libmemcached/docs'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
make[3]: *** No rule to make target `install'. Stop.
make[3]: Leaving directory `/home/mimiko/src/libmemcached/docs'
make[3]: Entering directory `/home/mimiko/src/libmemcached'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
.......
/bin/bash ./libtool --tag=CXX --mode=link c++ -std=c++0x -DBUILDING_LIBMEMCACHED -pthread -g -O2 -fstack-check -Wpragmas -Wunknown-pragmas -Wall -Wextra -Wno-attributes -Waddress -Warray-bounds -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -Wfloat-equal -Wformat=2 -Wformat-y2k -Wmaybe-uninitialized -Wmissing-field-initializers -Wlogical-op -Wnon-virtual-dtor -Wnormalized=id -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wtrampolines -Wundef -Wunsafe-loop-optimizations -funsafe-loop-optimizations -Wc++11-compat -Wclobbered -Wunused -Wunused-result -Wunused-variable -Wunused-parameter -Wunused-local-typedefs -Wwrite-strings -Wformat-security -fwrapv -pipe -fPIE -pie -Wpacked -D_FORTIFY_SOURCE=2 -fstack-protector-all -Werror -version-info 0:0:0 -Wl,-R,ORIGIN/../lib/../lib/../lib/../lib../lib:ORIGIN/../lib/x86_64-linux-gnu -pie -L/opt/cyrus-sasl/lib -L/opt/zlib/lib -Werror -rdynamic -o libmemcached/libmemcachedprotocol.la -rpath /opt/libmemcached/lib libmemcached/libmemcached_libmemcachedprotocol_la-byteorder.lo libmemcachedprotocol/libmemcached_libmemcachedprotocol_la-ascii_handler.lo libmemcachedprotocol/libmemcached_libmemcachedprotocol_la-binary_handler.lo libmemcachedprotocol/libmemcached_libmemcachedprotocol_la-cache.lo libmemcachedprotocol/libmemcached_libmemcachedprotocol_la-handler.lo libmemcachedprotocol/libmemcached_libmemcachedprotocol_la-pedantic.lo -ldl -lz -lgcov
:
list=' libhashkit/libhashkit.la libmemcached/libmemcached.la libmemcached/libmemcachedutil.la libmemcached/libmemcachedprotocol.la'; test -n "/opt/libmemcached/lib" || list=; \
 list2=; for p in $list; do \
   if test -f $p; then \
     list2="$list2 $p"; \
   else :; fi; \
 done; \
 test -z "$list2" || { \
   echo " /bin/mkdir -p '/opt/libmemcached/lib'"; \
   /bin/mkdir -p "/opt/libmemcached/lib" || exit 1; \
   echo " /bin/bash ./libtool --mode=install /usr/bin/install -c -s $list2 '/opt/libmemcached/lib'"; \
   /bin/bash ./libtool --mode=install /usr/bin/install -c -s $list2 "/opt/libmemcached/lib"; \
 }
:
list='clients/memcapable clients/memcat clients/memcp clients/memdump clients/memerror clients/memexist clients/memtouch clients/memflush clients/memparse clients/memping clients/memrm clients/memslap clients/memstat '; test -n "/opt/libmemcached/bin" || list=; \
 if test -n "$list"; then \
   echo " /bin/mkdir -p '/opt/libmemcached/bin'"; \
   /bin/mkdir -p "/opt/libmemcached/bin" || exit 1; \
 fi; \
 for p in $list; do echo "$p $p"; done | \
 sed 's/$//' | \
 while read p p1; do if test -f $p || test -f $p1; \
   then echo "$p"; echo "$p"; else :; fi; \
 done | \
 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
     -e 'p;x;s,.*/,,;s/$//;s,x,x,;s/$//' | \
 sed 'N;N;N;s,\n, ,g' | \
 gawk 'BEGIN { files["."] = ""; dirs["."] = 1 } \
   { d=$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
     if ($2 == $4) files[d] = files[d] " " $1; \
     else { print "f", $3 "/" $4, $1; } } \
   END { for (d in files) print "f", d, files[d] }' | \
 while read type dir files; do \
     if test "$dir" = .; then dir=; else dir=/$dir; fi; \
     test -z "$files" || { \
     echo " STRIPPROG='strip' /bin/bash ./libtool --mode=install /bin/bash /home/mimiko/src/libmemcached/build-aux/install-sh -c -s $files '/opt/libmemcached/bin$dir'"; \
     STRIPPROG='strip' /bin/bash ./libtool --mode=install /bin/bash /home/mimiko/src/libmemcached/build-aux/install-sh -c -s $files "/opt/libmemcached/bin$dir" || exit $?; \
     } \
 ; done
make[4]: Leaving directory `/home/mimiko/src/libmemcached'
make[3]: Leaving directory `/home/mimiko/src/libmemcached'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/mimiko/src/libmemcached'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/mimiko/src/libmemcached'
make: *** [install-strip] Error 2

I don't understand why it fails? Looking in docs/Makefile I don't see any install target in it. Is is because of this?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers