OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Web applications => Topic started by: Igor on March 11, 2026, 09:11:30 pm
-
Hi All!
First of all, I'd like to contact Paul Smedley.
I'd like to ask him to compile the memcached module for PHP7.
DLL required to operation:
git clone https://git.launchpad.net/~lwhay/libmemcached/+git/trunk
The module itself is in attache.
-
Hi Igor
Based on Pauls recent post - see https://www.os2world.com/forum/index.php/topic,4057.0.html - I suspect you may have to hope that Paul reads your post and feels up to looking into your request.
Maybe 1 of the (few) other porters/coders could help...
Regards
Pete
-
Hi Pete,
Too bad!
I could probably port it myself, but I ran into problems setting up environment.
I'm guessing Paul known how to make it compile.
It's a shame he declined.
-
Does it depend on having PHP installed? I'd guess so
-
I'll try look at this, once Igor confirms he's looking for a module for PHP 7.4. Modules aren't generally compatible between PHP versions...
You'd also stand a higher chance of gaining my interest if you provided a pre-built library for libmemcache.
-
Hi Paul!
I'll try look at this, once Igor confirms he's looking for a module for PHP 7.4. Modules aren't generally compatible between PHP versions...
You'd also stand a higher chance of gaining my interest if you provided a pre-built library for libmemcache.
I launched
git clone https://git.launchpad.net/~lwhay/libmemcached/+git/trunk
After I run
# ./bootstrap.sh autoreconf
I got the following response:
`C:\USR\BIN/libtoolize --copy --install --force'
./bootstrap.sh: строка 1125: C:USRBIN/libtoolize: No such file or directory
./bootstrap.sh:1106: Cannot execute C:\USR\BIN/libtoolize
I think there is a mistake in slashes, but I don't knownhow to fix it the script.
I use php 7.4.32
-
That error with the slashes is usually a shell problem. Is MAKESHELL set properly, set MAKESHELL=sh.exe.
I often just run autoreconf -sfi instead of bootstrap.sh, which here needed bash and couldn't find autoreconf.
Quickly trying to build it failed due to lack of spinx. I don't have php either
-
Hi Dave!
In my config.sys:
SET MAKESHELL=sh.exe
SET SHELL=C:/usr/bin/sh.exe
SET EMXSHELL=C:/usr/bin/sh.exe
SET CONFIG_SHELL=C:/usr/bin/sh.exe
SET EXECSHELL=C:/usr/bin/sh.exe
Thank you
autoreconf -sfi
It worked!
Add:
I also failed. Payton3-sphinx is required, but that library is missing.
I also don't known if it can be ported to os/2.
-
...
Add:
I also failed. Payton3-sphinx is required, but that library is missing.
I also don't known if it can be ported to os/2.
Tried installing it, get permission errors which I'm not sure how to fix.
H:\tmp\trunk>python -m pip install sphinx
ERROR: Could not install packages due to an OSError: ("Connection broken: PermissionError(13, 'Permission denied')", PermissionError(13, 'Permission denied'))
There are other ways to install such as wheel and best might be a virtenv (python jail) environment.
There looks like there might be other dependencies too. Run something like
sh configure --help > configure.hlp
and examine the configure.hlp file. Always a good idea when porting.
-
I've never had luck regenerating configure for PECL modules, I've been hand building them with a build.cmd script. Unfortunately, the examples I have are on a virtualbox drive, and virtualbox isn't running for me right now, as I'm running a beta Ubunut 26.04 with a lnux kernel 7, and seems virtualbox can't handle that yet.