php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58950 Does not build on Mac
Submitted: 2009-11-13 23:57 UTC Modified: 2015-06-05 13:20 UTC
From: philip@php.net Assigned:
Status: Suspended Package: drizzle (PECL)
PHP Version: 5_3 SVN-2009-11-13 (dev) OS: Mac
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-11-13 23:57 UTC] philip@php.net
Description:
------------
This isn't building, on Mac.

Reproduce code:
---------------
pecl install drizzle-beta

Expected result:
----------------
A drizzle.so file

Actual result:
--------------
philip@foo ~/devel> sudo pecl install 
drizzle-beta
downloading drizzle-0.4.1.tgz ...
Starting to download drizzle-0.4.1.tgz (24,325 bytes)
........done: 24,325 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
building in /var/tmp/pear-build-root/drizzle-0.4.1
running: /private/tmp/drizzle/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 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.0.0
checking host system type... i686-apple-darwin10.0.0
checking target system type... i686-apple-darwin10.0.0
checking for PHP prefix... /Users/philip/php
checking for PHP includes... -I/Users/philip/php/include/php 
-I/Users/philip/php/include/php/main -
I/Users/philip/php/include/php/TSRM -
I/Users/philip/php/include/php/Zend -
I/Users/philip/php/include/php/ext -
I/Users/philip/php/include/php/ext/date/lib
checking for PHP extension directory... 
/Users/philip/php/lib/php/extensions/no-debug-non-zts-
20090626
checking for PHP installed headers prefix... 
/Users/philip/php/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... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable drizzle support... yes, shared
found in /usr/local
checking for drizzle_create in -ldrizzle... yes
checking for ld used by cc... /usr/libexec/gcc/i686-apple-
darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-
darwin10/4.2.1/ld) is GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld 
option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognise 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... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking if cc static flag  works... rm: conftest.dSYM: is a 
directory
yes
checking if cc supports -fno-rtti -fno-exceptions... rm: 
conftest.dSYM: is a directory
no
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... rm: 
conftest.dSYM: is a directory
yes
checking if cc supports -c -o file.o... rm: conftest.dSYM: 
is a directory
yes
checking whether the cc linker (/usr/libexec/gcc/i686-apple-
darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.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
running: make
/bin/sh /private/var/tmp/pear-build-root/drizzle-
0.4.1/libtool --mode=compile cc  -I. -I/private/tmp/drizzle 
-DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/drizzle-
0.4.1/include -I/private/var/tmp/pear-build-root/drizzle-
0.4.1/main -I/private/tmp/drizzle -
I/Users/philip/php/include/php -
I/Users/philip/php/include/php/main -
I/Users/philip/php/include/php/TSRM -
I/Users/philip/php/include/php/Zend -
I/Users/philip/php/include/php/ext -
I/Users/philip/php/include/php/ext/date/lib -
I/usr/local/include  -DHAVE_CONFIG_H  -g -O2 -Wall   -c 
/private/tmp/drizzle/php_drizzle.c -o php_drizzle.lo
mkdir .libs
 cc -I. -I/private/tmp/drizzle -DPHP_ATOM_INC -
I/private/var/tmp/pear-build-root/drizzle-0.4.1/include -
I/private/var/tmp/pear-build-root/drizzle-0.4.1/main -
I/private/tmp/drizzle -I/Users/philip/php/include/php -
I/Users/philip/php/include/php/main -
I/Users/philip/php/include/php/TSRM -
I/Users/philip/php/include/php/Zend -
I/Users/philip/php/include/php/ext -
I/Users/philip/php/include/php/ext/date/lib -
I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -c 
/private/tmp/drizzle/php_drizzle.c  -fno-common -DPIC -o 
.libs/php_drizzle.o
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_set_options':
/private/tmp/drizzle/php_drizzle.c:1511: error: 
'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:1511: error: (Each 
undeclared identifier is reported only once
/private/tmp/drizzle/php_drizzle.c:1511: error: for each 
function it appears in.)
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_add_options':
/private/tmp/drizzle/php_drizzle.c:1524: error: 
'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_remove_options':
/private/tmp/drizzle/php_drizzle.c:1537: error: 
'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c: In function 
'zim_DrizzleCon___construct':
/private/tmp/drizzle/php_drizzle.c:1585: warning: implicit 
declaration of function 'drizzle_con_set_data'
/private/tmp/drizzle/php_drizzle.c:1586: warning: implicit 
declaration of function 'drizzle_con_set_data_free'
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_con_set_fd':
/private/tmp/drizzle/php_drizzle.c:1747: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_con_wait':
/private/tmp/drizzle/php_drizzle.c:1778: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_con_ready':
/private/tmp/drizzle/php_drizzle.c:1802: warning: implicit 
declaration of function 'drizzle_con_data'
/private/tmp/drizzle/php_drizzle.c:1802: warning: assignment 
makes pointer from integer without a cast
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_con_connect':
/private/tmp/drizzle/php_drizzle.c:2320: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_server_handshake_read':
/private/tmp/drizzle/php_drizzle.c:2340: warning: implicit 
declaration of function 'drizzle_server_handshake_read'
/private/tmp/drizzle/php_drizzle.c:2343: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_client_handshake_write':
/private/tmp/drizzle/php_drizzle.c:2359: warning: implicit 
declaration of function 'drizzle_client_handshake_write'
/private/tmp/drizzle/php_drizzle.c:2362: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_quit':
/private/tmp/drizzle/php_drizzle.c:2386: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2386: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_select_db':
/private/tmp/drizzle/php_drizzle.c:2406: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2406: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_refresh':
/private/tmp/drizzle/php_drizzle.c:2424: warning: implicit 
declaration of function 'drizzle_refresh'
/private/tmp/drizzle/php_drizzle.c:2424: warning: assignment 
makes pointer from integer without a cast
/private/tmp/drizzle/php_drizzle.c:2425: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2425: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_shutdown':
/private/tmp/drizzle/php_drizzle.c:2444: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2444: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_stat':
/private/tmp/drizzle/php_drizzle.c:2461: warning: implicit 
declaration of function 'drizzle_stat'
/private/tmp/drizzle/php_drizzle.c:2461: warning: assignment 
makes pointer from integer without a cast
/private/tmp/drizzle/php_drizzle.c:2462: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2462: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_debug_info':
/private/tmp/drizzle/php_drizzle.c:2479: warning: implicit 
declaration of function 'drizzle_debug_info'
/private/tmp/drizzle/php_drizzle.c:2479: warning: assignment 
makes pointer from integer without a cast
/private/tmp/drizzle/php_drizzle.c:2480: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2480: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_ping':
/private/tmp/drizzle/php_drizzle.c:2498: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2498: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_change_user':
/private/tmp/drizzle/php_drizzle.c:2522: warning: implicit 
declaration of function 'drizzle_change_user'
/private/tmp/drizzle/php_drizzle.c:2523: warning: assignment 
makes pointer from integer without a cast
/private/tmp/drizzle/php_drizzle.c:2524: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2524: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_command_write':
/private/tmp/drizzle/php_drizzle.c:2546: warning: implicit 
declaration of function 'drizzle_command_write'
/private/tmp/drizzle/php_drizzle.c:2548: warning: assignment 
makes pointer from integer without a cast
/private/tmp/drizzle/php_drizzle.c:2549: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2549: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zim_DrizzleQuery___construct':
/private/tmp/drizzle/php_drizzle.c:2588: warning: implicit 
declaration of function 'drizzle_query_set_data'
/private/tmp/drizzle/php_drizzle.c:2589: warning: implicit 
declaration of function 'drizzle_query_set_data_free'
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_query':
/private/tmp/drizzle/php_drizzle.c:2661: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2661: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_query_inc':
/private/tmp/drizzle/php_drizzle.c:2685: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2685: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_query_con':
/private/tmp/drizzle/php_drizzle.c:2801: warning: assignment 
makes pointer from integer without a cast
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_query_run':
/private/tmp/drizzle/php_drizzle.c:2986: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:2993: warning: implicit 
declaration of function 'drizzle_query_data'
/private/tmp/drizzle/php_drizzle.c:2993: warning: assignment 
makes pointer from integer without a cast
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_query_run_all':
/private/tmp/drizzle/php_drizzle.c:3029: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_result_drizzle_con':
/private/tmp/drizzle/php_drizzle.c:3241: warning: assignment 
makes pointer from integer without a cast
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_result_read':
/private/tmp/drizzle/php_drizzle.c:3400: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c:3400: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_result_buffer':
/private/tmp/drizzle/php_drizzle.c:3417: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_column_skip':
/private/tmp/drizzle/php_drizzle.c:3768: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_column_buffer':
/private/tmp/drizzle/php_drizzle.c:3819: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_row_read':
/private/tmp/drizzle/php_drizzle.c:3969: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_row_buffer':
/private/tmp/drizzle/php_drizzle.c:3991: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_field_read':
/private/tmp/drizzle/php_drizzle.c:4113: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zif_drizzle_field_buffer':
/private/tmp/drizzle/php_drizzle.c:4144: warning: format not 
a string literal and no format arguments
/private/tmp/drizzle/php_drizzle.c: In function 
'zm_startup_drizzle':
/private/tmp/drizzle/php_drizzle.c:4565: error: 
'DRIZZLE_AUTO_ALLOCATED' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5027: error: 
'DRIZZLE_DEFAULT_USER' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5093: error: 
'DRIZZLE_REFRESH_GRANT' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5096: error: 
'DRIZZLE_REFRESH_HOSTS' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5099: error: 
'DRIZZLE_REFRESH_LOG' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5102: error: 
'DRIZZLE_REFRESH_MASTER' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5105: error: 
'DRIZZLE_REFRESH_SLAVE' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5108: error: 
'DRIZZLE_REFRESH_STATUS' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5111: error: 
'DRIZZLE_REFRESH_TABLES' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5114: error: 
'DRIZZLE_REFRESH_THREADS' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5222: error: 
'DRIZZLE_SHUTDOWN_KILL_CONNECTION' undeclared (first use in 
this function)
/private/tmp/drizzle/php_drizzle.c:5225: error: 
'DRIZZLE_SHUTDOWN_KILL_QUERY' undeclared (first use in this 
function)
/private/tmp/drizzle/php_drizzle.c:5228: error: 
'DRIZZLE_SHUTDOWN_WAIT_ALL_BUFFERS' undeclared (first use in 
this function)
/private/tmp/drizzle/php_drizzle.c:5231: error: 
'DRIZZLE_SHUTDOWN_WAIT_CONNECTIONS' undeclared (first use in 
this function)
/private/tmp/drizzle/php_drizzle.c:5234: error: 
'DRIZZLE_SHUTDOWN_WAIT_CRITICAL_BUFFERS' undeclared (first 
use in this function)
/private/tmp/drizzle/php_drizzle.c:5237: error: 
'DRIZZLE_SHUTDOWN_WAIT_TRANSACTIONS' undeclared (first use 
in this function)
/private/tmp/drizzle/php_drizzle.c:5240: error: 
'DRIZZLE_SHUTDOWN_WAIT_UPDATES' undeclared (first use in 
this function)
/private/tmp/drizzle/php_drizzle.c: In function 
'zm_info_drizzle':
/private/tmp/drizzle/php_drizzle.c:5269: error: 
'DRIZZLE_DEFAULT_USER' undeclared (first use in this 
function)
make: *** [php_drizzle.lo] Error 1
ERROR: `make' failed
philip@foo ~/devel>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-05 13:20 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2015-06-05 13:20 UTC] cmb@php.net
The drizzle package is not maintained. Therefore I'm changing the
status of this ticket to "suspended".
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Nov 11 22:01:32 2019 UTC