In bug 1182043 we're wanting to switch to pylibmc, since that's what it already being used on Heroku (since it supports username/password auth, unlike python-memcached). pylibmc requires the package libmemcached-dev by installed for the compile run during pip install to succeed. I'm not sure if libmemcached-dev is needed just for the initial compile (and relocating the virtualenv to somewhere without it installed will work fine), or whether it's also needed on the non-admin treeherder nodes too. The full packages requirements are at: http://sendapatch.se/projects/pylibmc/install.html Many thanks :-)
Component: Treeherder → Treeherder: Infrastructure
QA Contact: laura
Installed libmemcached-devel on stage/prod; the rest of the prereqs are already installed.
Assignee: nobody → klibby
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Thank you for doing that. I've just tried pip installing pylibmc into a temporary virtualenv under my user account, and get the same error as reported here: http://stackoverflow.com/questions/24437325/pip-unable-to-install-pylibmc The version of libmemcached and libmemcached-dev installed are unfortunately too old. The stackoverflow post mentions an EPEL repo with a newer version. Also it seems that yum is reporting a newer version is available from the mozilla repo? (test1)[firstname.lastname@example.org ~]$ sudo yum info libmemcached libmemcached-devel ... Installed Packages Name : libmemcached Arch : x86_64 Version : 0.31 Release : 1.1.el6 Size : 199 k Repo : installed From repo : rhel-x86_64-server-6 Summary : Client library and command line tools for memcached server ... Name : libmemcached-devel Arch : x86_64 Version : 0.31 Release : 1.1.el6 Size : 383 k Repo : installed From repo : rhel-x86_64-server-optional-6 Summary : Header files and development libraries for libmemcached ... Available Packages Name : libmemcached Arch : x86_64 Version : 1.0.18 Release : 5.el6 Size : 108 k Repo : mozilla Summary : Client library and command line tools for memcached server ... Name : libmemcached-devel Arch : x86_64 Version : 1.0.18 Release : 5.el6 Size : 227 k Repo : mozilla Summary : Header files and development libraries for libmemcached ...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Ed Morley [:emorley] from comment #2) > Also it seems that yum is reporting a newer version is available from the > mozilla repo? I misread the version/release on the mozilla version at least half a dozen times. Wow. Go go gadget cold meds. :-( Stage and prod are updated with the newer (mozilla) version, and I'm able to pip install pylibmc into a test venv.
Status: REOPENED → RESOLVED
Last Resolved: 3 years ago → 3 years ago
Resolution: --- → FIXED
Working great, thank you :-)
You need to log in before you can comment on or make changes to this bug.