Created
August 25, 2012 15:12
-
-
Save suin/3466910 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^_^) {/Users/suin) (5.4.5) | |
$ cd /tmp | |
^o^) {/tmp) (5.4.5) | |
$ git clone git://github.com/laruence/php-yaf.git | |
Cloning into 'php-yaf'... | |
remote: Counting objects: 407, done. | |
remote: Compressing objects: 100% (290/290), done. | |
remote: Total 407 (delta 203), reused 302 (delta 98) | |
Receiving objects: 100% (407/407), 215.75 KiB | 65 KiB/s, done. | |
Resolving deltas: 100% (203/203), done. | |
^_^)/ {/tmp) (5.4.5) | |
$ cd php-yaf/ | |
^_^)/ {/tmp/php-yaf) (master) (5.4.5) | |
$ ls | |
CREDITS php_yaf.h yaf.c yaf_bootstrap.c yaf_dispatcher.h yaf_plugin.c yaf_response.h | |
EXPERIMENTAL requests/ yaf.dsp yaf_bootstrap.h yaf_exception.c yaf_plugin.h yaf_router.c | |
README response/ yaf.php yaf_config.c yaf_exception.h yaf_registry.c yaf_router.h | |
config.m4 routes/ yaf_action.c yaf_config.h yaf_loader.c yaf_registry.h yaf_session.c | |
config.w32 tests/ yaf_action.h yaf_controller.c yaf_loader.h yaf_request.c yaf_session.h | |
configs/ tools/ yaf_application.c yaf_controller.h yaf_logo.h yaf_request.h yaf_view.c | |
package2.xml views/ yaf_application.h yaf_dispatcher.c yaf_namespace.h yaf_response.c yaf_view.h | |
^_^)/ {/tmp/php-yaf) (master) (5.4.5) | |
$ phpize | |
Configuring for: | |
PHP Api Version: 20100412 | |
Zend Module Api No: 20100525 | |
Zend Extension Api No: 220100525 | |
^_^)/ {/tmp/php-yaf) (master) (5.4.5) | |
$ ./configure | |
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... /usr/bin/sed | |
checking for cc... cc | |
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 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... i386-apple-darwin12.0.0 | |
checking host system type... i386-apple-darwin12.0.0 | |
checking target system type... i386-apple-darwin12.0.0 | |
checking for PHP prefix... /Users/suin/local/php/versions/5.4.5 | |
checking for PHP includes... -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib | |
checking for PHP extension directory... /Users/suin/local/php/versions/5.4.5/lib/php/extensions/no-debug-non-zts-20100525 | |
checking for PHP installed headers prefix... /Users/suin/local/php/versions/5.4.5/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... no | |
checking for nawk... no | |
checking for awk... awk | |
checking if awk is broken... no | |
checking whether to enable yaf support... yes, shared | |
checking PHP version... 5.4.5, ok | |
checking for ld used by cc... /usr/bin/ld | |
checking if the linker (/usr/bin/ld) is GNU ld... no | |
checking for /usr/bin/ld option to reload object files... -r | |
checking for BSD-compatible nm... /usr/bin/nm | |
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... 196608 | |
checking command to parse /usr/bin/nm output from cc object... ok | |
checking for objdir... .libs | |
checking for ar... ar | |
checking for ranlib... ranlib | |
checking for strip... strip | |
checking for dsymutil... dsymutil | |
checking for nmedit... nmedit | |
checking for -single_module linker flag... yes | |
checking for -exported_symbols_list linker flag... yes | |
checking if cc supports -fno-rtti -fno-exceptions... yes | |
checking for cc option to produce PIC... -fno-common | |
checking if cc PIC flag -fno-common works... yes | |
checking if cc static flag -static works... no | |
checking if cc supports -c -o file.o... yes | |
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin12.0.0 dyld | |
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 | |
creating libtool | |
appending configuration tag "CXX" to libtool | |
configure: creating ./config.status | |
config.status: creating config.h | |
^_^)/ {/tmp/php-yaf) (master) (5.4.5) | |
$ make && make install | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf.c -o yaf.lo | |
mkdir .libs | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf.c -fno-common -DPIC -o .libs/yaf.o | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_application.c -o yaf_application.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_application.c -fno-common -DPIC -o .libs/yaf_application.o | |
/tmp/php-yaf/yaf_application.c:285:53: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with | |
different sign [-Wpointer-sign] | |
if (zend_hash_get_current_key_ex(ht, &key, &len, &idx, 0, NULL) != HASH_KEY_IS_STRING) { | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
/tmp/php-yaf/yaf_application.c:651:55: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with | |
different sign [-Wpointer-sign] | |
zend_hash_get_current_key_ex(methods, &func, &len, &idx, 0, NULL); | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
2 warnings generated. | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_bootstrap.c -o yaf_bootstrap.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_bootstrap.c -fno-common -DPIC -o .libs/yaf_bootstrap.o | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_dispatcher.c -o yaf_dispatcher.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_dispatcher.c -fno-common -DPIC -o .libs/yaf_dispatcher.o | |
/tmp/php-yaf/yaf_dispatcher.c:190:64: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with | |
different sign [-Wpointer-sign] | |
if (zend_hash_get_current_key_ex(params_ht, &key, &keylen, &idx, 0, NULL) == HASH_KEY_IS_STRING) { | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
1 warning generated. | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_exception.c -o yaf_exception.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_exception.c -fno-common -DPIC -o .libs/yaf_exception.o | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_config.c -o yaf_config.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_config.c -fno-common -DPIC -o .libs/yaf_config.o | |
In file included from /tmp/php-yaf/yaf_config.c:48: | |
./configs/ini.c:753:59: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
if (zend_hash_get_current_key(Z_ARRVAL_P(prop), &string, &index, 0) == HASH_KEY_IS_LONG) { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:201:52: note: expanded from macro 'zend_hash_get_current_key' | |
zend_hash_get_current_key_ex(ht, str_index, NULL, num_index, duplicate, NULL) | |
^ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
In file included from /tmp/php-yaf/yaf_config.c:49: | |
./configs/simple.c:269:55: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
zend_hash_get_current_key(Z_ARRVAL_P(prop), &string, &index, 0); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:201:52: note: expanded from macro 'zend_hash_get_current_key' | |
zend_hash_get_current_key_ex(ht, str_index, NULL, num_index, duplicate, NULL) | |
^ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
/tmp/php-yaf/yaf_config.c:112:56: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different | |
sign [-Wpointer-sign] | |
if (zend_hash_get_current_key_ex(src, &key, &keylen, &idx, 0, NULL) == HASH_KEY_IS_LONG) { | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
/tmp/php-yaf/yaf_config.c:148:56: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different | |
sign [-Wpointer-sign] | |
if (zend_hash_get_current_key_ex(src, &key, &keylen, &idx, 0, NULL) == HASH_KEY_IS_LONG) { | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
4 warnings generated. | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_request.c -o yaf_request.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_request.c -fno-common -DPIC -o .libs/yaf_request.o | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_response.c -o yaf_response.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_response.c -fno-common -DPIC -o .libs/yaf_response.o | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_view.c -o yaf_view.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_view.c -fno-common -DPIC -o .libs/yaf_view.o | |
In file included from /tmp/php-yaf/yaf_view.c:37: | |
./views/simple.c:145:85: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
if (zend_hash_get_current_key_ex(Z_ARRVAL_P(tpl_vars), &var_name, &var_name_len, &num_key, 0, &pos) != HASH_KEY_IS_STRING) { | |
^~~~~~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
In file included from /tmp/php-yaf/yaf_view.c:37: | |
./views/simple.c:170:81: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
if (zend_hash_get_current_key_ex(Z_ARRVAL_P(vars), &var_name, &var_name_len, &num_key, 0, &pos) != HASH_KEY_IS_STRING) { | |
^~~~~~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
2 warnings generated. | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_controller.c -o yaf_controller.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_controller.c -fno-common -DPIC -o .libs/yaf_controller.o | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_action.c -o yaf_action.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_action.c -fno-common -DPIC -o .libs/yaf_action.o | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_router.c -o yaf_router.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_router.c -fno-common -DPIC -o .libs/yaf_router.o | |
In file included from /tmp/php-yaf/yaf_router.c:37: | |
In file included from ./routes/interface.c:41: | |
./routes/rewrite.c:141:44: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with | |
different sign [-Wpointer-sign] | |
zend_hash_get_current_key_ex(ht, &key, &len, &idx, 0, NULL); | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
In file included from /tmp/php-yaf/yaf_router.c:37: | |
In file included from ./routes/interface.c:41: | |
./routes/rewrite.c:141:50: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
zend_hash_get_current_key_ex(ht, &key, &len, &idx, 0, NULL); | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
In file included from /tmp/php-yaf/yaf_router.c:37: | |
In file included from ./routes/interface.c:42: | |
./routes/regex.c:106:48: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with | |
different sign [-Wpointer-sign] | |
if (zend_hash_get_current_key_ex(ht, &key, &len, &idx, 0, NULL) == HASH_KEY_IS_LONG) { | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
In file included from /tmp/php-yaf/yaf_router.c:37: | |
In file included from ./routes/interface.c:42: | |
./routes/regex.c:106:54: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
if (zend_hash_get_current_key_ex(ht, &key, &len, &idx, 0, NULL) == HASH_KEY_IS_LONG) { | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
/tmp/php-yaf/yaf_router.c:106:50: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types | |
with different sign [-Wpointer-sign] | |
switch(zend_hash_get_current_key_ex(ht, &key, &len, &idx, 0, NULL)) { | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
/tmp/php-yaf/yaf_router.c:106:56: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different | |
sign [-Wpointer-sign] | |
switch(zend_hash_get_current_key_ex(ht, &key, &len, &idx, 0, NULL)) { | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
/tmp/php-yaf/yaf_router.c:155:57: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different | |
sign [-Wpointer-sign] | |
switch (zend_hash_get_current_key_ex(ht, &key, &len, &idx, 0, NULL)) { | |
^~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
7 warnings generated. | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_loader.c -o yaf_loader.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_loader.c -fno-common -DPIC -o .libs/yaf_loader.o | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_registry.c -o yaf_registry.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_registry.c -fno-common -DPIC -o .libs/yaf_registry.o | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_plugin.c -o yaf_plugin.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_plugin.c -fno-common -DPIC -o .libs/yaf_plugin.o | |
/bin/sh /tmp/php-yaf/libtool --mode=compile cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_session.c -o yaf_session.lo | |
cc -I. -I/tmp/php-yaf -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/php-yaf/yaf_session.c -fno-common -DPIC -o .libs/yaf_session.o | |
/tmp/php-yaf/yaf_session.c:296:56: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different | |
sign [-Wpointer-sign] | |
if (zend_hash_get_current_key(Z_ARRVAL_P(sess), &key, &index, 0) == HASH_KEY_IS_LONG) { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:201:52: note: expanded from macro 'zend_hash_get_current_key' | |
zend_hash_get_current_key_ex(ht, str_index, NULL, num_index, duplicate, NULL) | |
^ | |
/Users/suin/local/php/versions/5.4.5/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here | |
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | |
^ | |
1 warning generated. | |
/bin/sh /tmp/php-yaf/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/php-yaf/include -I/tmp/php-yaf/main -I/tmp/php-yaf -I/Users/suin/local/php/versions/5.4.5/include/php -I/Users/suin/local/php/versions/5.4.5/include/php/main -I/Users/suin/local/php/versions/5.4.5/include/php/TSRM -I/Users/suin/local/php/versions/5.4.5/include/php/Zend -I/Users/suin/local/php/versions/5.4.5/include/php/ext -I/Users/suin/local/php/versions/5.4.5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o yaf.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/php-yaf/modules yaf.lo yaf_application.lo yaf_bootstrap.lo yaf_dispatcher.lo yaf_exception.lo yaf_config.lo yaf_request.lo yaf_response.lo yaf_view.lo yaf_controller.lo yaf_action.lo yaf_router.lo yaf_loader.lo yaf_registry.lo yaf_plugin.lo yaf_session.lo | |
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/yaf.so -bundle .libs/yaf.o .libs/yaf_application.o .libs/yaf_bootstrap.o .libs/yaf_dispatcher.o .libs/yaf_exception.o .libs/yaf_config.o .libs/yaf_request.o .libs/yaf_response.o .libs/yaf_view.o .libs/yaf_controller.o .libs/yaf_action.o .libs/yaf_router.o .libs/yaf_loader.o .libs/yaf_registry.o .libs/yaf_plugin.o .libs/yaf_session.o | |
dsymutil .libs/yaf.so || : | |
creating yaf.la | |
(cd .libs && rm -f yaf.la && ln -s ../yaf.la yaf.la) | |
/bin/sh /tmp/php-yaf/libtool --mode=install cp ./yaf.la /tmp/php-yaf/modules | |
cp ./.libs/yaf.so /tmp/php-yaf/modules/yaf.so | |
cp ./.libs/yaf.lai /tmp/php-yaf/modules/yaf.la | |
---------------------------------------------------------------------- | |
Libraries have been installed in: | |
/tmp/php-yaf/modules | |
If you ever happen to want to link against installed libraries | |
in a given directory, LIBDIR, you must either use libtool, and | |
specify the full pathname of the library, or use the `-LLIBDIR' | |
flag during linking and do at least one of the following: | |
- add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable | |
during execution | |
See any operating system documentation about shared libraries for | |
more information, such as the ld(1) and ld.so(8) manual pages. | |
---------------------------------------------------------------------- | |
Build complete. | |
Don't forget to run 'make test'. | |
Installing shared extensions: /Users/suin/local/php/versions/5.4.5/lib/php/extensions/no-debug-non-zts-20100525/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment