Repository navigation
|
This was quite the journey this morning. I'm upgrading to php 8.5.10, and with that, upgraded pecl. I then learned that pecl is deprecated and I should switch to pie. No bigge. I need to reinstall memcached for php 8.5. Ok. Got it. Let's redo that (via https://github.com/awesomized/libmemcached). Followed the build from source steps. No issues. Installed into /usr/local (default) Great! Try again. Interesting error, since I can literally find it above. Try again with more specific path: What is wrong? The file is literally right there. Let's try this without new pie. Tried same paths again, as with pie. Same errors. Let's look at configure script: line 4722: Ok. So I need to pass one level up. That's a poorly named flag. Sheesh. Now what? At least it found the memcached.h file. Back to configure. Seems this is failing. Why? What's the value of $PKG_CONFIG. Added echo line to configure, and re-ran: Why is it looking in lib/ when this is a lib64 OS? Back in configure: So, the php-memcached configure defaults to lib without checking the OS. Fantastic (/frustrated sarcasm) Holy Hera! Finally. Let's try pie again: Sheesh. Now what? Grasping at straws here... Looks good. Nope. Forget pie, back to manual install: Finally. Please fix support for pie and memcached so that others don't need to struggle as I did for 3 hours this morning. |
Replies: 5 comments 3 replies
|
Ouch 🤕 It sounds like they need to add the |
|
@utdrmac Thanks for this, this is great and detailed feedback - would you be able to get me your |
|
(formatted output) PHP is installed on this system via the REMI repo. |
|
Fixed in #741 - the
libdirhandling improvement will be released in 1.6.0 - thank you! Remi's solution still fits best for your specific use case though, but fixing the libdir handling was still worth uncovering.