Bug #68382 [NEW]: make
| From: | cir_reg at mail dot ru | Date: | Sun, 09 Nov 2014 16:16:32 +0000 |
| Subject: | Bug #68382 [NEW]: make | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-188525@lists.php.net to get a copy of this message | ||
From: cir_reg at mail dot ru
Operating system: Centos7
PHP version: 5.6.2
Package: *General Issues
Bug Type: Bug
Bug description:make
Description:
------------
make: *** [mysqlnd_memcache.lo] Error 1
ERROR: `make' failed
Test script:
---------------
[root@centos7 ~]# pecl install mysqlnd_memcache
downloading mysqlnd_memcache-1.0.1.tgz ...
Starting to download mysqlnd_memcache-1.0.1.tgz (30,072 bytes)
....done: 22,984 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version: 20131106
Zend Module Api No: 20131226
Zend Extension Api No: 220131226
building in /var/tmp/pear-build-rootfAk5MY/mysqlnd_memcache-1.0.1
running: /var/tmp/mysqlnd_memcache/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... 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/lib64/php/modules
checking for PHP installed headers prefix... /usr/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 mysqlnd_memcache support... yes, shared
checking for libmemcached... yes, shared
checking for libmemcached location... /usr
checking how to print strings... printf
checking for a sed that does not truncate output... (cached)
/usr/bin/sed
checking for fgrep... /usr/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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 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 /var/tmp/pear-build-rootfAk5MY/mysqlnd_memcache-1.0.1/libtool
--mode=compile cc -I. -I/var/tmp/mysqlnd_memcache -DPHP_ATOM_INC
-I/var/tmp/pear-build-rootfAk5MY/mysqlnd_memcache-1.0.1/include
-I/var/tmp/pear-build-rootfAk5MY/mysqlnd_memcache-1.0.1/main
-I/var/tmp/mysqlnd_memcache -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 -DHAVE_CONFIG_H -g -O2 -c
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c -o mysqlnd_memcache.lo
libtool: compile: cc -I. -I/var/tmp/mysqlnd_memcache -DPHP_ATOM_INC
-I/var/tmp/pear-build-rootfAk5MY/mysqlnd_memcache-1.0.1/include
-I/var/tmp/pear-build-rootfAk5MY/mysqlnd_memcache-1.0.1/main
-I/var/tmp/mysqlnd_memcache -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 -DHAVE_CONFIG_H -g -O2 -c
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c -fPIC -DPIC -o
.libs/mysqlnd_memcache.o
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:486:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_use_result, /* func_mysqlnd_res__use_result
use_result; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:486:2: warning: (near
initialization for 'mymem_query_result_funcs.fetch_into') [enabled by
default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:487:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_store_result, /* func_mysqlnd_res__store_result
store_result; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:487:2: warning: (near
initialization for 'mymem_query_result_funcs.fetch_row_c') [enabled by
default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:488:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_fetch_into, /* func_mysqlnd_res__fetch_into
fetch_into; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:488:2: warning: (near
initialization for 'mymem_query_result_funcs.fetch_all') [enabled by
default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:489:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_fetch_row_c, /* func_mysqlnd_res__fetch_row_c
fetch_row_c; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:489:2: warning: (near
initialization for 'mymem_query_result_funcs.fetch_field_data') [enabled
by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:490:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_fetch_all, /* func_mysqlnd_res__fetch_all
fetch_all; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:490:2: warning: (near
initialization for 'mymem_query_result_funcs.num_rows') [enabled by
default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:491:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_fetch_field_data, /* func_mysqlnd_res__fetch_field_data
fetch_field_data; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:491:2: warning: (near
initialization for 'mymem_query_result_funcs.num_fields') [enabled by
default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:492:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_num_rows, /* func_mysqlnd_res__num_rows
num_rows; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:492:2: warning: (near
initialization for 'mymem_query_result_funcs.skip_result') [enabled by
default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:493:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_num_fields, /* func_mysqlnd_res__num_fields
num_fields; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:493:2: warning: (near
initialization for 'mymem_query_result_funcs.seek_data') [enabled by
default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:495:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_seek_data, /* func_mysqlnd_res__seek_data
seek_data; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:495:2: warning: (near
initialization for 'mymem_query_result_funcs.field_tell') [enabled by
default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:496:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_seek_field, /* func_mysqlnd_res__seek_field
seek_field; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:496:2: warning: (near
initialization for 'mymem_query_result_funcs.fetch_field') [enabled by
default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:497:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_field_tell, /* func_mysqlnd_res__field_tell
field_tell; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:497:2: warning: (near
initialization for 'mymem_query_result_funcs.fetch_field_direct')
[enabled by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:499:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_fetch_field_direct, /*
func_mysqlnd_res__fetch_field_direct fetch_field_direct; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:499:2: warning: (near
initialization for 'mymem_query_result_funcs.read_result_metadata')
[enabled by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:500:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_fetch_fields, /* func_mysqlnd_res__fetch_fields
fetch_fields; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:500:2: warning: (near
initialization for 'mymem_query_result_funcs.fetch_lengths') [enabled by
default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:502:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_fetch_lengths, /* func_mysqlnd_res__fetch_lengths
fetch_lengths; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:502:2: warning: (near
initialization for 'mymem_query_result_funcs.free_result_buffers')
[enabled by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:506:2: warning:
initialization from incompatible pointer type [enabled by default]
mymem_result_free_result, /* func_mysqlnd_res__free_result
free_result; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:506:2: warning: (near
initialization for 'mymem_query_result_funcs.result_meta_init') [enabled
by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:515:2: warning: excess
elements in struct initializer [enabled by default]
NULL, /* func_mysqlnd_res__result_meta_init
result_meta_init; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:515:2: warning: (near
initialization for 'mymem_query_result_funcs') [enabled by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:517:2: warning: excess
elements in struct initializer [enabled by default]
NULL, /* void * unused1; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:517:2: warning: (near
initialization for 'mymem_query_result_funcs') [enabled by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:518:2: warning: excess
elements in struct initializer [enabled by default]
NULL, /* void * unused2; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:518:2: warning: (near
initialization for 'mymem_query_result_funcs') [enabled by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:519:2: warning: excess
elements in struct initializer [enabled by default]
NULL, /* void * unused3; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:519:2: warning: (near
initialization for 'mymem_query_result_funcs') [enabled by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:520:2: warning: excess
elements in struct initializer [enabled by default]
NULL, /* void * unused4; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:520:2: warning: (near
initialization for 'mymem_query_result_funcs') [enabled by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:521:2: warning: excess
elements in struct initializer [enabled by default]
NULL, /* void * unused5; */
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:521:2: warning: (near
initialization for 'mymem_query_result_funcs') [enabled by default]
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c: In function
'zif_mysqlnd_memcache_set':
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:1073:2: error: too few
arguments to function 'zval_to_mysqlnd'
if (!(mysqlnd_conn = zval_to_mysqlnd(mysqlnd_conn_zv TSRMLS_CC))) {
^
In file included from
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:36:0:
/usr/include/php/ext/mysqlnd/mysqlnd_reverse_api.h:37:18: note: declared
here
PHPAPI MYSQLND * zval_to_mysqlnd(zval * zv, const unsigned int
client_api_capabilities, unsigned int * save_client_api_capabilities
TSRMLS_DC);
^
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c: In function
'zif_mysqlnd_memcache_get_config':
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:1164:2: error: too few
arguments to function 'zval_to_mysqlnd'
if (!(mysqlnd_conn = zval_to_mysqlnd(mysqlnd_conn_zv TSRMLS_CC))) {
^
In file included from
/var/tmp/mysqlnd_memcache/mysqlnd_memcache.c:36:0:
/usr/include/php/ext/mysqlnd/mysqlnd_reverse_api.h:37:18: note: declared
here
PHPAPI MYSQLND * zval_to_mysqlnd(zval * zv, const unsigned int
client_api_capabilities, unsigned int * save_client_api_capabilities
TSRMLS_DC);
^
make: *** [mysqlnd_memcache.lo] Error 1
ERROR: `make' failed
[root@centos7dev ~]# make: *** [mysqlnd_memcache.lo] Error 1
-bash: make:: command not found
[root@centos7dev ~]# ERROR: `make' failed
--
Edit bug report at https://bugs.php.net/bug.php?id=68382&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68382&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68382&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68382&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68382&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68382&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68382&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68382&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68382&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68382&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68382&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68382&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68382&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68382&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68382&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68382&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68382&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68382&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68382&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68382&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68382&r=mysqlcfg