Has anyone ever got memcached compiled and installed properly for SUSE Linux Enterprise? I currently am running memcached 1.2.8 (the latest version in the old branch), and it compiles/builds/installs just fine... But trying to compile 1.4.1 ultimately ends with: test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1" /usr/bin/install -c -m 644 'memcached.1' '/usr/local/share/man/man1/memcached.1' make[4]: Leaving directory `/root/software_source/memcached-1.4.1/doc' make[3]: Leaving directory `/root/software_source/memcached-1.4.1/doc' make[2]: Leaving directory `/root/software_source/memcached-1.4.1/doc' make[2]: Entering directory `/root/software_source/memcached-1.4.1' gcc -std=gnu99 -fprofile-arcs -ftest-coverage -g -O2 -pthread -Wall -Werror -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -o memcached-debug memcached_debug-memcached.o memcached_debug-hash.o memcached_debug-slabs.o memcached_debug-items.o memcached_debug-assoc.o memcached_debug-thread.o memcached_debug-daemon.o memcached_debug-stats.o memcached_debug-util.o memcached_debug-cache.o -lgcov -levent /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lgcov collect2: ld returned 1 exit status make[2]: *** [memcached-debug] Error 1 make[2]: Leaving directory `/root/software_source/memcached-1.4.1' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/root/software_source/memcached-1.4.1' make: *** [install] Error 2 Code (markup):
In case anyone stumbles upon this thread with the same problem... SUSE Linux Enterprise Server 9 has gcc 3.3.3. memcached 1.4.x uses gcov by default which doesn't come with gcc until version 3.4. So you can get memcached 1.4.1 compiled with gcc < 3.4 by disabling gcov like so: ./configure --enable-coverage=no Code (markup):