2014-02-24 5 views
1

나는 memaris와 pear를 solaris로 컴파일하려했으나 아래 오류로 종료되었습니다. 솔라리스가 처음인데 문제를 파악할 수 없었습니다.Solaris에서 Memcache 설치

 
-bash-3.2$ sudo pecl install memcache 
Password: 
downloading memcache-2.2.7.tgz ... 
Starting to download memcache-2.2.7.tgz (36,459 bytes) 
..........done: 36,459 bytes 
11 source files, building 
WARNING: php_bin /opt/csw/php5/bin/php appears to have a suffix 5/bin/php, but config variable php_suffix does not match 
running: phpize 
Configuring for: 
PHP Api Version:   20090626 
Zend Module Api No:  20090626 
Zend Extension Api No: 220090626 
Enable memcache session handler support? [yes] : yes 
building in /tmp/pear/temp/pear-build-rootPIaWpJ/memcache-2.2.7 
running: /tmp/pear/temp/memcache/configure --enable-memcache-session=yes 
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep 
checking for egrep... /usr/xpg4/bin/grep -E 
checking for a sed that does not truncate output... /opt/csw/bin/gsed 
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... no 
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... yes 
checking whether cc understands -c and -o together... yes 
checking for system library directory... lib 
checking if compiler supports -R... yes 
checking build system type... i386-pc-solaris2.10 
checking host system type... i386-pc-solaris2.10 
checking target system type... i386-pc-solaris2.10 
checking for PHP prefix... /opt/csw/php5 
checking for PHP includes... -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib 
checking for PHP extension directory... /opt/csw/php5/lib/php/extensions/no-debug-non-zts-20090626 
checking for PHP installed headers prefix... /opt/csw/php5/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... no 
checking for nawk... nawk 
checking if nawk is broken... no 
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... configure: error: Cannot find php_session.h 
ERROR: `/tmp/pear/temp/memcache/configure --enable-memcache-session=yes' failed 

누구든지 나를 도와 줄 수 있다면 좋을 것입니다.

감사합니다. Swaroop.

+1

비제이는 해결 php5_session에게 –

답변

0

동일한 명령으로 memcache를 설치했지만 memcache에서 세션을 유지하도록 요청할 때 '아니오'라고 말하면 올바르게 설치됩니다.

확인이 당신에게 도움이된다면 ..

감사합니다,

+1

감사 비제이, 그것의 작동을 설치해야 얻었다. 하지만 memcache에 ti store 세션을 원하면 php5_session 라이브러리를 설치하여 수정해야합니다. –