Not sure if this qualifies as a bug, and may be more related to
libmemcached, but might be worth noting.
Building on some machines I've ended up with this error:
clients/ms_conn.o: In function `ms_get_udp_request_id':
/home/bill/.cpan/build/Memcached-libmemcached-0.4406-
87Pbfm/src/libmemcached/clients/ms_conn.c:194: undefined reference to
`__sync_fetch_and_add_4'
Of course, hunting for help I mostly found posts where I had asked the
same question almost a year ago:
http://www.serverphorums.com/read.php?9,176578
Here is the fix I used this time:
http://redbeardtechnologies.wordpress.com/2010/01/26/libmemcached-
undefined-reference-to-__sync_fetch_and_add_4/
So, I added this to Makefile.PL:
$configure_args .= ' CFLAGS=-pg LDFLAGS=-pg' if $opt_pg;
+ $configure_args .= ' --disable-64bit CFLAGS="-O3 -march=i686"';
Might be worth noting in the README file.
BTW -- any idea why Changes is not showing up on this page?
http://search.cpan.org/~timb/Memcached-libmemcached-0.4406/