[SOLVED] xampp 1.7.2a php5.3+memcache

Irgendwelche Probleme mit XAMPP für Mac OS X? Dann ist hier genau der richtige Ort um nachzufragen.

[SOLVED] xampp 1.7.2a php5.3+memcache

Postby popsit » 16. November 2009 20:13

Hi,
erstmal tut mir leid fuer mein deutsch, bitte um verstaendniss :)

Seit laengere zeit versuche ich memcached mit php 5.3 zu kompilieren auf OSX 10.6.2.
Leider ohne erfolg.

habe ich alle moegliche wege verucht um php mit memcache auf beine zu kriegen.
In MacPorts php ist auch schon 5.3, memcache will nicht richtig funktionieren.

MacPorts fehler

Code: Select all
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/memcache/memcache_pool.c"  -fno-common -DPIC -o .libs/memcache_pool.o
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/memcache/memcache_pool.c: In function 'mmc_request_send':
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/memcache/memcache_pool.c:186: error: 'MSG_NOSIGNAL' undeclared (first use in this function)
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/memcache/memcache_pool.c:186: error: (Each undeclared identifier is reported only once
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/memcache/memcache_pool.c:186: error: for each function it appears in.)


XAMPP fehler

sudo ./pecl install http://pecl.php.net/get/memcache-3.0.4.tgz

kann nicht richtig beenden, ganze kompilieren prozess scheint riochtig zu sein, aber ganz am ende kriege ich sinnloser fehler ueber php-includes zu ordner welche nirgendwo definiert sind.
Code: Select all
checking for session includes... configure: error: Cannot find php_session.h
ERROR: `/Applications/XAMPP/xamppfiles/temp/pear/temp/memcache/configure --enable-memcache-session=n' failed


und hiere ganze prozess

Code: Select all
downloading memcache-3.0.4.tgz ...
Starting to download memcache-3.0.4.tgz (54,283 bytes)
.............done: 54,283 bytes
15 source files, building
running: /Applications/XAMPP/xamppfiles/bin/phpize
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/main/php.h: No such file or directory
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
aclocal.m4:3555: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5493: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5492: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2972: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2952: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2915: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3510: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7620: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5606: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5605: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4641: _LT_AC_TAGCONFIG is expanded from...
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
aclocal.m4:3555: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5493: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5492: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2972: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2952: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2915: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3510: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7620: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5606: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5605: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4641: _LT_AC_TAGCONFIG is expanded from...
Enable memcache session handler support? [yes] : n
building in /var/tmp/pear-build-root/memcache-3.0.4
running: /Applications/XAMPP/xamppfiles/temp/pear/temp/memcache/configure --enable-memcache-session=n
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /opt/local/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... 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... i686-apple-darwin10.2.0
checking host system type... i686-apple-darwin10.2.0
checking target system type... i686-apple-darwin10.2.0
checking for PHP prefix... /Applications/XAMPP/xamppfiles
checking for PHP includes... -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0 -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/main -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/TSRM -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/Zend -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/ext -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.0/php/ext/date/lib -I/Applications/XAMPP/xamppfiles/include
checking for PHP extension directory... /Applications/XAMPP/xamppfiles/lib/php/php-5.3.0/extensions/no-debug-non-zts-20090626
checking for PHP installed headers prefix... /Applications/XAMPP/xamppfiles/include/php/php-5.3.0/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 memcache support... yes, shared
checking whether to enable memcache session handler support... n
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: `/Applications/XAMPP/xamppfiles/temp/pear/temp/memcache/configure --enable-memcache-session=n' failed


nur klar zu sein, das ganze problem passiert mit memcache 2.2.5.

Vielen Dank fuer alle hints.

Wenn ich memcache nicht schnell kriege muss ich windows/linux auf neuen MBP installieren... und das wuerde natuerlich sinnloss. ..

Lg,
popsit

EDIT:

Fuer alle die gleiche Problem wie ich haben und/oder mochten mehr NIX kontrolle habe wirklich gute guide gefunden:
http://blog.ryanparman.com/2009/07/11/i ... -macports/

lg,
popsit
popsit
 
Posts: 1
Joined: 16. November 2009 20:01

Return to XAMPP für Mac OS X

Who is online

Users browsing this forum: No registered users and 2 guests