Ah... SUSE Linux Enterprise 9 has gcc 3.3.3 by default, and I believe coverage started coming with gcc in 3.4... I suppose that's a good reason to start thinking about upgrading to SLES 11.
The "--enable-coverage=no" option worked as far as getting it compiled, but since it's not required, wouldn't it be a good idea to check for gcov and disable coverage automatically if it's not available? On a side note, is there any reason 1.4.1 would be marginally slower than 1.2.8? (maybe extra locking or something?) Our production memcached servers running 1.2.8 are able to write a key, read it back and delete it in ~0.5ms. These servers are in use doing a few thousand memcached reads/sec. The 1.4.1 server does the same write/ read/delete in ~0.8ms on identical hardware, OS, network, etc. The only difference is the 1.4.1 server is NOT in production, so it's sitting idle. On Sep 26, 12:29 am, Dustin <[email protected]> wrote: > It's failing to link in test mode due to some dev tools you're > missing. > > You should have a memcached binary ready to go as it is. If you > install coverage dev tools or disable coverage (configure option), you > should have better luck. > > On Sep 24, 5:36 pm, Shawn <[email protected]> wrote: > > > Has anyone had any success with building memcached on SUSE? The 1.2.x > > versions never had any issues and was going to upgrade from 1.2.8 to > > 1.4.1, and ultimately ends with: > > > 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 > > > An ideas?
