Skip Menu |
 

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

Report information
The Basics
Id: 52678
Status: resolved
Priority: 0/
Queue: Cache-Memcached-Managed

People
Owner: ELIZABETH [...] cpan.org
Requestors: jjnapiork [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.20
Fixed in: (no value)



Subject: Can't install when memcached is not also installed
Download (untitled) / with headers
text/plain 576b
Right now the Makefile.PL is hardcoded to die if the memcached executable is not installed. However, in my case (and I guess for others), memcache is installed on a cluster of other servers, intended to be used remotely over IP. Perhaps some option to install this dist for people in my case would be appreciated. If you point out a repository (or move the source to github or similar) I'd be happy to give it a go. My admins are complaining about my request to install memcached on dev just so that this module will install. For now I have to force install :( Thanks!
Download (untitled) / with headers
text/plain 730b
Hey, I can't even force install it since the die is in the Makefile.PL :( On Fri Dec 11 12:32:06 2009, JJNAPIORK wrote: Show quoted text
> Right now the Makefile.PL is hardcoded to die if the memcached > executable is not installed. However, in my case (and I guess for > others), memcache is installed on a cluster of other servers, intended > to be used remotely over IP. Perhaps some option to install this dist > for people in my case would be appreciated. > > If you point out a repository (or move the source to github or similar) > I'd be happy to give it a go. > > My admins are complaining about my request to install memcached on dev > just so that this module will install. > > For now I have to force install :( > > Thanks!
Download (untitled) / with headers
text/plain 151b
Well, let me get this straight: you want the test-suite to use the production memcached servers in the test-suite? Isnt that a Really Bad Idea (TM) ?
Download (untitled) / with headers
text/plain 286b
(I've just hit this problem myself.) No. If a local memcached process can't be started please just skip tests that depend on it. See, for example, how libmemcached_test_create() behaves in http://cpansearch.perl.org/src/DMAKI/Memcached-libmemcached- 0.3102/t/lib/libmemcached_test.pm
Download (untitled) / with headers
text/plain 224b
Either way, memcached is only needed for tests so die()ing in Makefile.PL is very anti-social because, as John says, users can't even 'force install it'. Making a release that simply removed that die() would be a big help.
This should be fixed in 0.24, coming to CPAN later today.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.