Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Memcached-libmemcached CPAN distribution.

Report information
The Basics
Id: 68923
Status: resolved
Priority: 0/
Queue: Memcached-libmemcached

People
Owner: Nobody in particular
Requestors: RIZEN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.4406
Fixed in: (no value)



Subject: no longer compiles on RHEL
I'm not sure what the difference is, but 0.4406 no longer compiles on RHEL5, but 0.4405 works perfectly without any effort. Here's the error it crashes with: cc -fstack-protector -L/usr/local/lib src/libmemcached/clients/memslap.c -o src/libmemcached/clients/memslap src/libmemcached/clients/memslap.c:16:20: error: config.h: No such file or directory In file included from src/libmemcached/clients/ms_thread.h:31, from src/libmemcached/clients/memslap.c:35: src/libmemcached/clients/ms_conn.h:16:19: error: event.h: No such file or directory src/libmemcached/clients/ms_conn.h:20:52: error: libmemcached/memcached/protocol_binary.h: No such file or directory In file included from src/libmemcached/clients/ms_thread.h:31, from src/libmemcached/clients/memslap.c:35: src/libmemcached/clients/ms_conn.h:124: error: field ‘event’ has incomplete type src/libmemcached/clients/ms_conn.h:197: error: expected specifier-qualifier-list before ‘protocol_binary_response_header’ In file included from src/libmemcached/clients/memslap.c:35: src/libmemcached/clients/ms_thread.h:60: error: field ‘clock_event’ has incomplete type src/libmemcached/clients/memslap.c: In function ‘ms_help_command’: src/libmemcached/clients/memslap.c:317: error: ‘for’ loop initial declarations are only allowed in C99 mode src/libmemcached/clients/memslap.c:317: note: use option -std=c99 or -std=gnu99 to compile your code make: *** [src/libmemcached/clients/memslap] Error 1 Just thought you'd like to know.
Try building the latest https://launchpad.net/libmemcached If that doesn't work then file a bug report there. If that does work then we could upgrade the embedded libmemcached source and make a new release of Memcached-libmemcached. If you'd like to help with that then fork on github and follow the instructions in src/README. Thanks.
Done. Works like a charm. On Sun Jun 19 06:15:24 2011, TIMB wrote: Show quoted text
> Try building the latest https://launchpad.net/libmemcached > If that doesn't work then file a bug report there. > If that does work then we could upgrade the embedded libmemcached > source and make a new > release of Memcached-libmemcached. > If you'd like to help with that then fork on github and follow the > instructions in src/README. > Thanks.