• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Error installing mencached plesk 12.5 CentOS 6.7

JuanjoSC

Basic Pleskian
I upgraded to plesk 12.5 in CentOS 6.7

When I try to install mencached following instructions: http://devblog.plesk.com/2015/08/adding-custom-php-modules-in-plesk/
I get this error:

configure: error: no, sasl.h is not available. Run configure with –disable-memcached-sasl to disable this check
ERROR: `/tmp/memcached/configure –with-libmemcached-dir=no’ failed

I’ve tried different solutions searching the web, but none has worked.

Any ideas?
 
Just install missing cyrus-sasl-devel package with

# yum install cyrus-sasl-devel
 
Just install missing cyrus-sasl-devel package with

# yum install cyrus-sasl-devel

Thanks for the reply.
I had already tried, but not working.

"El paquete cyrus-sasl-devel-2.1.23-15.el6_6.2.x86_64 ya se encuentra instalado con su versión más reciente"

I have a dedicated server and VPS and both give the same error.
 
Yes:

ll /usr/include/sasl/sasl.h
-rw-r--r-- 1 root root 49K mar 25 2015 /usr/include/sasl/sasl.h
 
Try to do following:

# cp /usr/include/sasl/sasl.h /usr/include/
 
Same error:

This is all:

Code:
/opt/plesk/php/5.6/bin/pecl install memcached
downloading memcached-2.2.0.tgz ...
Starting to download memcached-2.2.0.tgz (70,449 bytes)
.................done: 70,449 bytes
15 source files, building
WARNING: php_bin /opt/plesk/php/5.6/bin/php appears to have a suffix /5.6/bin/php, but config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
libmemcached directory [no] :
building in /tmp/pear-build-rootWauVO7/memcached-2.2.0
running: /tmp/memcached/configure --with-libmemcached-dir=no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 ISO C89... 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... /opt/plesk/php/5.6
checking for PHP includes... -I/opt/plesk/php/5.6/include/php -I/opt/plesk/php/5.6/include/php/main -I/opt/plesk/php/5.6/include/php/TSRM -I/opt/plesk/php/5.6/include/php/Zend -I/opt/plesk/php/5.6/include/php/ext -I/opt/plesk/php/5.6/include/php/ext/date/lib
checking for PHP extension directory... /opt/plesk/php/5.6/lib64/php/modules
checking for PHP installed headers prefix... /opt/plesk/php/5.6/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
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 memcached support... yes, shared
checking for libmemcached... yes, shared
checking whether to enable memcached session handler support... yes
checking whether to enable memcached igbinary serializer support... no
checking whether to enable memcached json serializer support... no
checking whether to enable memcached msgpack serializer support... no
checking whether to enable memcached sasl support... yes
checking whether to enable memcached protocol support... no
checking for ZLIB... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking for zlib location... /usr
checking for session includes... /opt/plesk/php/5.6/include/php
checking for memcached session support... enabled
checking for memcached igbinary support... disabled
checking for memcached msgpack support... disabled
checking for libmemcached location... found version 0.31, under /usr
checking whether to enable sasl support... yes
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 sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking whether libmemcached supports sasl... no
configure: error: no, libmemcached sasl support is not enabled. Run configure with --disable-memcached-sasl to disable this check
ERROR: `/tmp/memcached/configure --with-libmemcached-dir=no' failed
 
Instruction from devblog is for CentOS7. I think that there is should be something specific for compilation on CentOS6.
@mizar could you please help with it?
 
It seems too old libmemcache on CentOS 6 (0.31 version), but php recent version of php-memcached required at least 1.0. You may install it from other repos, or compile it from sources, i.e:
Code:
# yum install zlib-devel gcc-c++
# wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
# tar -zxf libmemcached-1.0.18.tar.gz
# cd libmemcached-1.0.18
# ./configure --disable-shared --with-pic && make && make install

and then /opt/plesk/php/5.6/bin/pecl install memcached
 
Last edited:
Thanks, but:

Code:
[root@vps197554 libmemcached-1.0.18]# /opt/plesk/php/5.6/bin/pecl install memcached
downloading memcached-2.2.0.tgz ...
Starting to download memcached-2.2.0.tgz (70,449 bytes)
.................done: 70,449 bytes
15 source files, building
WARNING: php_bin /opt/plesk/php/5.6/bin/php appears to have a suffix /5.6/bin/php, but config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
libmemcached directory [no] :
building in /tmp/pear-build-rootvz9Zev/memcached-2.2.0
running: /tmp/memcached/configure --with-libmemcached-dir=no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 ISO C89... 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... /opt/plesk/php/5.6
checking for PHP includes... -I/opt/plesk/php/5.6/include/php -I/opt/plesk/php/5.6/include/php/main -I/opt/plesk/php/5.6/include/php/TSRM -I/opt/plesk/php/5.6/include/php/Zend -I/opt/plesk/php/5.6/include/php/ext -I/opt/plesk/php/5.6/include/php/ext/date/lib
checking for PHP extension directory... /opt/plesk/php/5.6/lib64/php/modules
checking for PHP installed headers prefix... /opt/plesk/php/5.6/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking whether to enable memcached support... yes, shared
checking for libmemcached... yes, shared
checking whether to enable memcached session handler support... yes
checking whether to enable memcached igbinary serializer support... no
checking whether to enable memcached json serializer support... no
checking whether to enable memcached msgpack serializer support... no
checking whether to enable memcached sasl support... yes
checking whether to enable memcached protocol support... no
checking for ZLIB... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking for zlib location... /usr
checking for session includes... /opt/plesk/php/5.6/include/php
checking for memcached session support... enabled
checking for memcached igbinary support... disabled
checking for memcached msgpack support... disabled
checking for libmemcached location... found version 1.0.18, under /usr/local
checking whether to enable sasl support... yes
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 sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking whether libmemcached supports sasl... yes
checking for sasl_client_init in -lsasl2... yes
checking for memcached protocol support... disabled
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/sh /tmp/pear-build-rootvz9Zev/memcached-2.2.0/libtool --mode=compile cc -I/opt/plesk/php/5.6/include/php    -I. -I/tmp/memcached -DPHP_ATOM_INC -I/tmp/pear-build-rootvz9Zev/memcached-2.2.0/include -I/tmp/pear-build-rootvz9Zev/memcached-2.2.0/main -I/tmp/memcached -I/opt/plesk/php/5.6/include/php -I/opt/plesk/php/5.6/include/php/main -I/opt/plesk/php/5.6/include/php/TSRM -I/opt/plesk/php/5.6/include/php/Zend -I/opt/plesk/php/5.6/include/php/ext -I/opt/plesk/php/5.6/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/memcached/php_memcached.c -o php_memcached.lo
libtool: compile:  cc -I/opt/plesk/php/5.6/include/php -I. -I/tmp/memcached -DPHP_ATOM_INC -I/tmp/pear-build-rootvz9Zev/memcached-2.2.0/include -I/tmp/pear-build-rootvz9Zev/memcached-2.2.0/main -I/tmp/memcached -I/opt/plesk/php/5.6/include/php -I/opt/plesk/php/5.6/include/php/main -I/opt/plesk/php/5.6/include/php/TSRM -I/opt/plesk/php/5.6/include/php/Zend -I/opt/plesk/php/5.6/include/php/ext -I/opt/plesk/php/5.6/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /tmp/memcached/php_memcached.c  -fPIC -DPIC -o .libs/php_memcached.o
/tmp/memcached/php_memcached.c: En la función ‘zim_Memcached_fetch’:
/tmp/memcached/php_memcached.c:1067: aviso: el paso del argumento 4 de ‘add_assoc_stringl_ex’ descarta los calificadores del tipo del destino del puntero
/opt/plesk/php/5.6/include/php/Zend/zend_API.h:385: nota: se esperaba ‘char *’ pero el argumento es de tipo ‘const char *’
/tmp/memcached/php_memcached.c: En la función ‘zim_Memcached_fetchAll’:
/tmp/memcached/php_memcached.c:1126: aviso: el paso del argumento 4 de ‘add_assoc_stringl_ex’ descarta los calificadores del tipo del destino del puntero
/opt/plesk/php/5.6/include/php/Zend/zend_API.h:385: nota: se esperaba ‘char *’ pero el argumento es de tipo ‘const char *’
/tmp/memcached/php_memcached.c: En la función ‘php_memc_do_result_callback’:
/tmp/memcached/php_memcached.c:3675: aviso: el paso del argumento 4 de ‘add_assoc_stringl_ex’ descarta los calificadores del tipo del destino del puntero
/opt/plesk/php/5.6/include/php/Zend/zend_API.h:385: nota: se esperaba ‘char *’ pero el argumento es de tipo ‘const char *’
.
.
.
libtool: link: cc -shared  .libs/php_memcached.o .libs/php_libmemcached_compat.o fastlz/.libs/fastlz.o .libs/g_fmt.o .libs/php_memcached_session.o   -L/usr/local/lib -lz /usr/local/lib/libmemcachedutil.a /usr/local/lib/libmemcached.a -ldl -lsasl2  -Wl,-rpath -Wl,/usr/local/lib   -pthread -Wl,-soname -Wl,memcached.so -o .libs/memcached.so
/usr/bin/ld: /usr/local/lib/libmemcached.a(libmemcached_libmemcached_la-auto.o): relocation R_X86_64_PC32 against symbol `memcached_decrement_by_key' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [memcached.la] Error 1
ERROR: `make' failed
 
You need to add --with-pic to configure of libmemcached. I edit my previous post.
 
It seems too old libmemcache on CentOS 6 (0.31 version), but php recent version of php-memcached required at least 1.0. You may install it from other repos, or compile it from sources, i.e:
Code:
# yum install zlib-devel gcc-c++
# wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
# tar -zxf libmemcached-1.0.18.tar.gz
# cd libmemcached-1.0.18
# ./configure --disable-shared --with-pic && make && make install

and then /opt/plesk/php/5.6/bin/pecl install memcached

Hi, i use this answer and many others in this post, but this (the last one) outputs this for me:

Code:
Configuration summary for libmemcached version 1.0.18

   * Installation prefix:       /usr/local
   * System type:               unknown-linux-gnu
   * Host CPU:                  x86_64
   * C Compiler:                cc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
   * C Flags:                   -g -O2  -Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra -Wno-attributes -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wformat-y2k -Wlogical-op -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -funsafe-loop-optimizations -Wclobbered -Wunused -Wunused-variable -Wunused-parameter -Wwrite-strings -fwrapv -pipe -fPIE -pie -Wpacked
   * C++ Compiler:              c++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
   * C++ Flags:                 -g -O2 -Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra -Wno-attributes -Waddress -Warray-bounds -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -Wfloat-equal -Wformat=2 -Wformat-y2k -Wmissing-field-initializers -Wlogical-op -Wnon-virtual-dtor -Wnormalized=id -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -funsafe-loop-optimizations -Wclobbered -Wunused -Wunused-variable -Wunused-parameter -Wwrite-strings -Wformat-security -fwrapv -pipe -fPIE -pie -Wpacked
   * CPP Flags:                  -fvisibility=hidden
   * LIB Flags:
   * Assertions enabled:        no
   * Debug enabled:             no
   * Shared:                    no
   * Warnings as failure:       no
   * SASL support:              yes
   * make -j:                   3
   * VCS checkout:              no

---
make -j3  all-am
make[1]: Entering directory `/root/libmemcached-1.0.18'
  CXXLD    libhashkit/libhashkit.la
ar: libhashkit/libhashkit_libhashkit_la-aes.o: No such file or directory
make[1]: *** [libhashkit/libhashkit.la] Error 1
make[1]: Leaving directory `/root/libmemcached-1.0.18'
make: *** [all] Error 2

And if i run /opt/plesk/php/5.6/bin/pecl install memcached i have this error always:

Code:
...
hecking for memcached msgpack support... disabled
checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir=<DIR> to specify the prefix where libmemcached headers and library are located
ERROR: `/tmp/memcached/configure --with-libmemcached-dir=no' failed

Any help? :-(
 
ar: libhashkit/libhashkit_libhashkit_la-aes.o: No such file or directory make[1]: *** [libhashkit/libhashkit.la] Error 1 make[1]: Leaving directory `/root/libmemcached-1.0.18' make: *** [all] Error 2
Try to install all necessary development libs and tools with

# yum groupinstall "Development Tools"

And then install libmemcached again.
 
When i try to install "development tools"

Code:
yum groupinstall "Development Tools"
Loaded plugins: presto
Setting up Group Process
base                                                     | 3.7 kB     00:00
epel/metalink                                            |  21 kB     00:00
epel                                                     | 4.3 kB     00:00
epel/primary_db                                          | 5.8 MB     00:00
extras                                                                                                                                                                  | 3.4 kB     00:00
plesk-letsencrypt                                                                                                                                                       | 2.9 kB     00:00
plesk-letsencrypt-tp                                                                                                                                                    | 2.9 kB     00:00
plesk-php-5.6                                                                                                                                                           | 2.9 kB     00:00
plesk-php-5.6/primary_db                                                                                                                                                |  14 kB     00:00
remi                                                                                                                                                                    | 2.9 kB     00:00
remi/primary_db                                                                                                                                                         | 1.4 MB     00:00
remi-safe                                                                                                                                                               | 2.9 kB     00:00
remi-safe/primary_db                                                                                                                                                    | 285 kB     00:00
updates                                                                                                                                                                 | 3.4 kB     00:00
Package flex-2.5.35-9.el6.x86_64 already installed and latest version
Package gcc-4.4.7-17.el6.x86_64 already installed and latest version
Package redhat-rpm-config-9.0.3-51.el6.centos.noarch already installed and latest version
Package rpm-build-4.8.0-55.el6.x86_64 already installed and latest version
Package 1:make-3.81-23.el6.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package gettext-0.17-18.el6.x86_64 already installed and latest version
Package automake-1.11.1-4.el6.noarch already installed and latest version
Package bison-2.4.1-5.el6.x86_64 already installed and latest version
Package libtool-2.2.6-15.5.el6.x86_64 already installed and latest version
Package autoconf-2.63-5.1.el6.noarch already installed and latest version
Package gcc-c++-4.4.7-17.el6.x86_64 already installed and latest version
Package binutils-2.20.51.0.2-5.44.el6.x86_64 already installed and latest version
Package patchutils-0.3.1-3.1.el6.x86_64 already installed and latest version
Package byacc-1.9.20070509-7.el6.x86_64 already installed and latest version
Package indent-2.2.10-7.el6.x86_64 already installed and latest version
Package systemtap-2.9-4.el6.x86_64 already installed and latest version
Package diffstat-1.51-2.el6.x86_64 already installed and latest version
Package elfutils-0.164-2.el6.x86_64 already installed and latest version
Package cvs-1.11.23-16.el6.x86_64 already installed and latest version
Package rcs-5.7-37.el6.x86_64 already installed and latest version
Package subversion-1.6.11-15.el6_7.x86_64 already installed and latest version
Package gcc-gfortran-4.4.7-17.el6.x86_64 already installed and latest version
Package 1:doxygen-1.6.1-6.el6.x86_64 already installed and latest version
Package intltool-0.41.0-1.1.el6.noarch already installed and latest version
Package git-1.7.1-4.el6_7.1.x86_64 already installed and latest version
Package ctags-5.8-2.el6.x86_64 already installed and latest version
Package cscope-15.6-7.el6.x86_64 already installed and latest version
Package swig-1.3.40-6.el6.x86_64 already installed and latest version
Warning: Group development does not have any packages.
No packages in any requested group available to install or update

And then when i try to install libmemcaded with yum install libmemcached and then
/opt/plesk/php/5.6/bin/pecl install memcached

Code:
....
checking for ZLIB... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking for zlib location... /usr
checking for session includes... /opt/plesk/php/5.6/include/php
checking for memcached session support... enabled
checking for memcached igbinary support... disabled
checking for memcached msgpack support... disabled
checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir=<DIR> to specify the prefix where libmemcached headers and library are located
ERROR: `/tmp/memcached/configure --with-libmemcached-dir=no' failed


And if i try to install it manually with this
Code:
# yum install zlib-devel gcc-c++
# wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
# tar -zxf libmemcached-1.0.18.tar.gz
# cd libmemcached-1.0.18
# ./configure --disable-shared --with-pic && make && make install

This is the output:
Code:
Configuration summary for libmemcached version 1.0.18

   * Installation prefix:       /usr/local
   * System type:               unknown-linux-gnu
   * Host CPU:                  x86_64
   * C Compiler:                cc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
   * C Flags:                   -g -O2  -Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra -Wno-attributes -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wformat-y2k -Wlogical-op -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -funsafe-loop-optimizations -Wclobbered -Wunused -Wunused-variable -Wunused-parameter -Wwrite-strings -fwrapv -pipe -fPIE -pie -Wpacked
   * C++ Compiler:              c++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
   * C++ Flags:                 -g -O2 -Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra -Wno-attributes -Waddress -Warray-bounds -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -Wfloat-equal -Wformat=2 -Wformat-y2k -Wmissing-field-initializers -Wlogical-op -Wnon-virtual-dtor -Wnormalized=id -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -funsafe-loop-optimizations -Wclobbered -Wunused -Wunused-variable -Wunused-parameter -Wwrite-strings -Wformat-security -fwrapv -pipe -fPIE -pie -Wpacked
   * CPP Flags:                  -fvisibility=hidden
   * LIB Flags:
   * Assertions enabled:        no
   * Debug enabled:             no
   * Shared:                    no
   * Warnings as failure:       no
   * SASL support:              yes
   * make -j:                   3
   * VCS checkout:              no

---
make -j3  all-am
make[1]: Entering directory `/root/libmemcached-1.0.18'
  CXXLD    libhashkit/libhashkit.la
ar: libhashkit/libhashkit_libhashkit_la-aes.o: No such file or directory
make[1]: *** [libhashkit/libhashkit.la] Error 1
make[1]: Leaving directory `/root/libmemcached-1.0.18'
make: *** [all] Error 2

Any idea why? :-(
 
Thanks Mizar, I used the advice you gave above and it's working on my Plesk 12.5 system. Very much appreciate the help!
 
Back
Top