problem about memcache-Record and share programming errors


  • andufo
    php memcached php-extensions pecl memcache
    yesterday i migrated to Rackspace (CentOS 5.5). Everything was already configured (apache, php, mysql, memcached) and working well.The only thing i forgot, and installed at last was the mail server (iRedMail). After that, for some reason, memcached got kind of screwed up:[root@mail php.d]# php -vPHP Warning: PHP Startup: memcache: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-

  • RULE101
    linux centos memcached memcache
    I get this while installing libmemcachedroot@server [/libmemcached]# make make all-am make[1]: Entering directory `/libmemcached’ if /bin/sh ./libtool –tag=CXX –mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -ggdb -DBUILDING_HASHKIT -MT libhashkit/libhashkit_libhashkit_la-aes.lo -MD -MP -MF “libhashkit/.deps/libhashkit_libhashkit_la-aes.Tpo” -c -o libhashkit/libhashkit_libhashkit_la-aes.lo `test -f ‘libhashkit/aes.cc’ || echo ‘./’`libhashkit/aes.cc; \then mv -f “libhashkit/.deps/libhashkit_libhashkit_la-aes.Tpo” “libhashkit/.deps/libhashkit_libhashkit_la-aes.Plo”; else rm -f “libhashkit/.deps/libhashkit_libhashkit_la-aes.Tpo”; exit 1; fi ./libtool: line 866: X–tag=CXX: command not found ./libtool: line 899: libtool: ignoring unknown tag : command not found ./libtool: line 866: X–mode=compile: command not found ./libtool: line 1032: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1033: *** Future versions of Libtool will require –mode=MODE be specified.: command not found ./libtool: line 1176: Xg++: command not found ./libtool: line 1176: X-DHAVE_CONFIG_H: command not found ./libtool: line 1176: X-I.: command not found ./libtool: line 1176: X-I.: command not found ./libtool: line 1176: X-I.: command not found ./libtool: line 1176: X-I.: command not found ./libtool: line 1176: X-I.: command not found ./libtool: line 1176: X-ggdb: command not found ./libtool: line 1176: X-DBUILDING_HASHKIT: command not found ./libtool: line 1176: X-MT: command not found ./libtool: line 1176: Xlibhashkit/libhashkit_libhashkit_la-aes.lo: No such file or directory ./libtool: line 1176: X-MD: command not found ./libtool: line 1176: X-MP: command not found ./libtool: line 1176: X-MF: command not found ./libtool: line 1176: Xlibhashkit/.deps/libhashkit_libhashkit_la-aes.Tpo: No such file or directory ./libtool: line 1176: X-c: command not found ./libtool: line 1228: Xlibhashkit/libhashkit_libhashkit_la-aes.lo: No such file or directory ./libtool: line 1233: libtool: compile: cannot determine name of library object from `’: command not found make[1]: *** [libhashkit/libhashkit_libhashkit_la-aes.lo] Error 1 make[1]: Leaving directory `/libmemcached’ make: *** [all] Error 2OUTPUT OF ./configurechecking build system type… x86_64-unknown-linux-gnu checking host system type… x86_64-unknown-linux-gnu checking target system type… x86_64-unknown-linux-gnu checking for a BSD-compatible install… /usr/bin/install -c checking whether build environment is sane… yes checking for gawk… gawk checking whether make sets $(MAKE)… yes checking for style of include used by make… GNU checking for gcc… gcc checking whether the C compiler works… yes checking for C compiler default output file name… a.out checking for suffix of executables… checking whether we are cross compiling… no checking for suffix of object files… o checking whether we are using the GNU C compiler… yes checking whether gcc accepts -g… yes checking for gcc option to accept ISO C89… none needed checking dependency style of gcc… gcc3 checking dependency style of gcc… (cached) gcc3 checking how to run the C preprocessor… gcc -E checking for grep that handles long lines and -e… /bin/grep checking for egrep… /bin/grep -E checking for ANSI C header files… yes checking for sys/types.h… yes checking for sys/stat.h… yes checking for stdlib.h… yes checking for string.h… yes checking for memory.h… yes checking for strings.h… yes checking for inttypes.h… yes checking for stdint.h… yes checking for unistd.h… yes checking minix/config.h usability… no checking minix/config.h presence… no checking for minix/config.h… no checking whether it is safe to define __EXTENSIONS__… yes checking for isainfo… no checking for g++… g++ checking whether we are using the GNU C++ compiler… yes chec

  • Petrus
    installation redhat pecl memcache
    I have installed memcached fine, and now I will need to install PECL extension memcache. Im running RedHat x86_64 es5. The installation gives me this:downloading memcache-2.2.6.tgz … Starting to download memcache-2.2.6.tgz (35,957 bytes) ……….done: 35,957 bytes 11 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 Enable memcache session handler support? [yes] : Notice: Use of undefined constant STDIN – assumed ‘STDIN’ in PEAR/Frontend/CLI.php on line 304Warning: fgets() expects parameter 1 to be resource, string given in PEAR/Frontend/CLI.php on line 304Warning: fgets() expects parameter 1 to be resource, string given in /usr/lib/php/PEAR/Frontend/CLI.php on line 304 building in /root/tmp/pear-build-root/memcache-2.2.6 running: /root/tmp/pear/memcache/configure –enable-memcache-session=yes checking for egrep… grep -E checking for a sed that does not truncate output… /bin/sed checking for cc… cc checking for C compiler default output file name… a.out checking whether the C compiler works… yes checking whether we are cross compiling… no checking for suffix of executables… checking for suffix of object files… o checking whether we are using the GNU C compiler… yes checking whether cc accepts -g… yes checking for cc option to accept ANSI C… none needed checking how to run the C preprocessor… cc -E checking for icc… no checking for suncc… no checking whether cc understands -c and -o together… yes checking for system library directory… lib checking if compiler supports -R… no checking if compiler supports -Wl,-rpath,… yes checking build system type… x86_64-unknown-linux-gnu checking host system type… x86_64-unknown-linux-gnu checking target system type… x86_64-unknown-linux-gnu checking for PHP prefix… /usr checking for PHP includes… -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory… /usr/lib/php/extensions/no-debug-non-zts-20090626 checking for PHP installed headers prefix… /usr/include/php checking if debug is enabled… no checking if zts is enabled… no checking for re2c… re2c checking for re2c version… invalid configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk… gawk checking whether to enable memcache support… yes, shared checking whether to enable memcache session handler support… yes checking for the location of ZLIB… no checking for the location of zlib… /usr checking for session includes… /usr/include/php checking for memcache session support… enabled checking for ld used by cc… /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld… yes checking for /usr/bin/ld option to reload object files… -r checking for BSD-compatible nm… /usr/bin/nm -B checking whether ln -s works… yes checking how to recognize dependent libraries… pass_all checking for ANSI C header files… yes checking for sys/types.h… yes checking for sys/stat.h… yes checking for stdlib.h… yes checking for string.h… yes checking for memory.h… yes checking for strings.h… yes checking for inttypes.h… yes checking for stdint.h… yes checking for unistd.h… yes checking dlfcn.h usability… yes checking dlfcn.h presence… yes checking for dlfcn.h… yes checking the maximum length of command line arguments… 98304 checking command to parse /usr/bin/nm -B output from cc object… ok checking for objdir… .libs checking for ar… ar checking for ranlib… ranlib checking for strip… strip checking if cc supports -fno-rtti -fno-exceptions… no checking for cc option to produce PIC… -fPIC checking if cc PIC flag -fPIC works… yes checking if cc static flag -static works… yes checking if cc supports -c -o file.o… yes checking whether the cc link

  • Luca Borrione
    lamp xampp memcache
    I need to use different versions of lampp (xampp for linux). I recently also need to use memcache with any version of lampp I might need to use. Everything is going right if I use the last lampp version 1.7.7 which contains PHP 5.3.8 I simply dosudo apt-get install php5-memcache sudo cp -av ‘/usr/lib/php5/20090626+lfs/memcache.so’ ‘/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/mem

Originally posted 2013-08-28 05:42:33.