php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58951 pecl install SCA_SDO FAIL
Submitted: 2009-11-15 16:06 UTC Modified: 2016-12-28 14:43 UTC
Votes:16
Avg. Score:4.6 ± 1.1
Reproduced:11 of 13 (84.6%)
Same Version:5 (45.5%)
Same OS:2 (18.2%)
From: sullivanmark at gmail dot com Assigned: cmb (profile)
Status: Duplicate Package: SCA_SDO (PECL)
PHP Version: 5.3.0 OS: MacOSX 10.6.2 & Fedora 12 64bit
Private report: No CVE-ID: None
 [2009-11-15 16:06 UTC] sullivanmark at gmail dot com
Description:
------------
I'm trying to install SCA_SDO using pecl on OSX 10.6.2.
Using the mac ports "php 5.3.0" and I'm getting the g++ build errors.

Issue seems to be something to do with compiling sdo.cpp
"error: conflicting specifiers in declaration of" ???

I'm not up on c++ 

Here's the output of make... full output of pecl install SCA_SDO is attached in "Actual result"

running: make
/bin/sh /private/var/tmp/pear-build-root/SCA_SDO-1.2.4/libtool --mode=compile g++ -I/private/tmp/pear/download/SCA_SDO-1.2.4 -I. -I/private/tmp/pear/download/SCA_SDO-1.2.4 -DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/SCA_SDO-1.2.4/include -I/private/var/tmp/pear-build-root/SCA_SDO-1.2.4/main -I/private/tmp/pear/download/SCA_SDO-1.2.4 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp -o sdo.lo
mkdir .libs
 g++ -I/private/tmp/pear/download/SCA_SDO-1.2.4 -I. -I/private/tmp/pear/download/SCA_SDO-1.2.4 -DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/SCA_SDO-1.2.4/include -I/private/var/tmp/pear-build-root/SCA_SDO-1.2.4/main -I/private/tmp/pear/download/SCA_SDO-1.2.4 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp  -fno-common -DPIC -o .libs/sdo.o
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:80: error: conflicting specifiers in declaration of 'arginfo_sdo_dataobject'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:86: error: conflicting specifiers in declaration of 'arginfo___get'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:90: error: conflicting specifiers in declaration of 'arginfo___set'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:103: error: conflicting specifiers in declaration of 'arginfo_sdo_dataobject_createdataobject'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:119: error: conflicting specifiers in declaration of 'arginfo_sdo_sequence_getproperty'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:123: error: conflicting specifiers in declaration of 'arginfo_sdo_sequence_move'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:128: error: conflicting specifiers in declaration of 'arginfo_sdo_sequence_insert'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:144: error: conflicting specifiers in declaration of 'arginfo_sdo_list_insert'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:158: error: conflicting specifiers in declaration of 'arginfo_sdo_datafactory_create'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:177: error: conflicting specifiers in declaration of 'arginfo_sdo_das_datafactory_addType'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:183: error: conflicting specifiers in declaration of 'arginfo_sdo_das_datafactory_addPropertyToType'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:263: error: conflicting specifiers in declaration of 'arginfo_sdo_model_type_identifier'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:325: error: conflicting specifiers in declaration of 'arginfo_sdo_model_reflectiondataobject_export'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:411: warning: deprecated conversion from string constant to 'char*'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp: In function 'int zm_startup_sdo(int, int)':
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:447: warning: deprecated conversion from string constant to 'char*'
make: *** [sdo.lo] Error 1







This is my php info.



phpinfo()
PHP Version => 5.3.0

System => Darwin mark-sullivans-MacBook-Pro.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
Build Date => Nov 15 2009 18:33:26
Configure Command =>  './configure'  '--prefix=/opt/local' '--mandir=/opt/local/share/man' '--infodir=/opt/local/share/info' '--with-config-file-path=/opt/local/etc/php5' '--with-config-file-scan-dir=/opt/local/var/db/php5' '--disable-all' '--enable-bcmath' '--enable-ctype' '--enable-dom' '--enable-fileinfo' '--enable-filter' '--enable-hash' '--enable-json' '--enable-libxml' '--enable-pdo' '--enable-phar' '--enable-session' '--enable-simplexml' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-bz2=/opt/local' '--with-mhash=/opt/local' '--with-pcre-regex=/opt/local' '--with-readline=/opt/local' '--with-libxml-dir=/opt/local' '--with-zlib=/opt/local' '--with-ldap=/usr' '--enable-cgi' '--with-pear=/opt/local/lib/php'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /opt/local/etc/php5
Loaded Configuration File => (none)
Scan this dir for additional .ini files => /opt/local/var/db/php5
Additional .ini files parsed => /opt/local/var/db/php5/soap.ini

PHP API => 20090626
PHP Extension => 20090626
Zend Extension => 220090626
Zend Extension Build => API220090626,NTS
PHP Extension Build => API20090626,NTS
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => disabled
IPv6 Support => enabled
Registered PHP Streams => compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar  
Registered Stream Socket Transports => tcp, udp, unix, udg
Registered Stream Filters => zlib.*, bzip2.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk


This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies


 _______________________________________________________________________


Configuration

bcmath

BCMath support => enabled

Directive => Local Value => Master Value
bcmath.scale => 0 => 0

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bz2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.5, 10-Dec-2007

Core

PHP Version => 5.3.0

Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => STDOUT => STDOUT
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => no value => no value
exit_on_timeout => Off => Off
expose_php => On => On
extension_dir => /opt/local/lib/php/extensions/no-debug-non-zts-20090626 => /opt/local/lib/php/extensions/no-debug-non-zts-20090626
file_uploads => On => On
highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font>
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/opt/local/lib/php => .:/opt/local/lib/php
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
memory_limit => 128M => 128M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => no value => no value
safe_mode => Off => Off
safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i  => /usr/sbin/sendmail -t -i 
serialize_precision => 100 => 100
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.enable_gc => On => On

ctype

ctype functions => enabled

date

date/time support => enabled
"Olson" Timezone Database Version => 2009.10
Timezone Database => internal
Default timezone => UTC

Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value

dom

DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.7.6
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled

ereg

Regex Library => Bundled library enabled

fileinfo

fileinfo support => enabled
version => 1.0.5-dev

filter

Input Validation and Filtering => enabled
Revision => $Revision: 1.52.2.39.2.16 $

Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value

hash

hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 

json

json support => enabled
json version => 1.2.1

ldap

LDAP Support => enabled
RCS Version => $Id: ldap.c,v 1.161.2.3.2.11.2.30 2009/06/25 15:19:29 johannes Exp $
Total Links => 0/unlimited
API Version => 3001
Vendor Name => OpenLDAP
Vendor Version => 20411

Directive => Local Value => Master Value
ldap.max_links => Unlimited => Unlimited

libxml

libXML support => active
libXML Compiled Version => 2.7.6
libXML Loaded Version => 20706
libXML streams => enabled

mhash

MHASH support => Enabled
MHASH API Version => Emulated Support

mysqlnd

mysqlnd => enabled
Version => mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $
Command buffer size => 2048
Read buffer size => 32768
Collecting statistics => Yes
Collecting memory statistics => No

Client statistics =>  
bytes_sent => 0
bytes_received => 0
packets_sent => 0
packets_received => 0
protocol_overhead_in => 0
protocol_overhead_out => 0
bytes_received_ok_packet => 0
bytes_received_eof_packet => 0
bytes_received_rset_header_packet => 0
bytes_received_rset_field_meta_packet => 0
bytes_received_rset_row_packet => 0
bytes_received_prepare_response_packet => 0
bytes_received_change_user_packet => 0
packets_sent_command => 0
packets_received_ok => 0
packets_received_eof => 0
packets_received_rset_header => 0
packets_received_rset_field_meta => 0
packets_received_rset_row => 0
packets_received_prepare_response => 0
packets_received_change_user => 0
result_set_queries => 0
non_result_set_queries => 0
no_index_used => 0
bad_index_used => 0
slow_queries => 0
buffered_sets => 0
unbuffered_sets => 0
ps_buffered_sets => 0
ps_unbuffered_sets => 0
flushed_normal_sets => 0
flushed_ps_sets => 0
ps_prepared_never_executed => 0
ps_prepared_once_executed => 0
rows_fetched_from_server_normal => 0
rows_fetched_from_server_ps => 0
rows_buffered_from_client_normal => 0
rows_buffered_from_client_ps => 0
rows_fetched_from_client_normal_buffered => 0
rows_fetched_from_client_normal_unbuffered => 0
rows_fetched_from_client_ps_buffered => 0
rows_fetched_from_client_ps_unbuffered => 0
rows_fetched_from_client_ps_cursor => 0
rows_skipped_normal => 0
rows_skipped_ps => 0
copy_on_write_saved => 0
copy_on_write_performed => 0
command_buffer_too_small => 0
connect_success => 0
connect_failure => 0
connection_reused => 0
reconnect => 0
pconnect_success => 0
active_connections => 0
active_persistent_connections => 0
explicit_close => 0
implicit_close => 0
disconnect_close => 0
in_middle_of_command_close => 0
explicit_free_result => 0
implicit_free_result => 0
explicit_stmt_close => 0
implicit_stmt_close => 0
mem_emalloc_count => 0
mem_emalloc_ammount => 0
mem_ecalloc_count => 0
mem_ecalloc_ammount => 0
mem_erealloc_count => 0
mem_erealloc_ammount => 0
mem_efree_count => 0
mem_malloc_count => 0
mem_malloc_ammount => 0
mem_calloc_count => 0
mem_calloc_ammount => 0
mem_realloc_count => 0
mem_realloc_ammount => 0
mem_free_count => 0
proto_text_fetched_null => 0
proto_text_fetched_bit => 0
proto_text_fetched_tinyint => 0
proto_text_fetched_short => 0
proto_text_fetched_int24 => 0
proto_text_fetched_int => 0
proto_text_fetched_bigint => 0
proto_text_fetched_decimal => 0
proto_text_fetched_float => 0
proto_text_fetched_double => 0
proto_text_fetched_date => 0
proto_text_fetched_year => 0
proto_text_fetched_time => 0
proto_text_fetched_datetime => 0
proto_text_fetched_timestamp => 0
proto_text_fetched_string => 0
proto_text_fetched_blob => 0
proto_text_fetched_enum => 0
proto_text_fetched_set => 0
proto_text_fetched_geometry => 0
proto_text_fetched_other => 0
proto_binary_fetched_null => 0
proto_binary_fetched_bit => 0
proto_binary_fetched_tinyint => 0
proto_binary_fetched_short => 0
proto_binary_fetched_int24 => 0
proto_binary_fetched_int => 0
proto_binary_fetched_bigint => 0
proto_binary_fetched_decimal => 0
proto_binary_fetched_float => 0
proto_binary_fetched_double => 0
proto_binary_fetched_date => 0
proto_binary_fetched_year => 0
proto_binary_fetched_time => 0
proto_binary_fetched_datetime => 0
proto_binary_fetched_timestamp => 0
proto_binary_fetched_string => 0
proto_binary_fetched_blob => 0
proto_binary_fetched_enum => 0
proto_binary_fetched_set => 0
proto_binary_fetched_geometry => 0
proto_binary_fetched_other => 0

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 7.9 2009-04-11

Directive => Local Value => Master Value
pcre.backtrack_limit => 100000 => 100000
pcre.recursion_limit => 100000 => 100000

PDO

PDO support => enabled
PDO drivers =>  

Phar

Phar: PHP Archive support => enabled
Phar EXT version => 2.0.0-dev
Phar API version => 1.1.1
CVS revision => $Revision: 1.370.2.62 $
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
gzip compression => enabled
bzip2 compression => enabled
OpenSSL support => disabled (install ext/openssl)


Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive => Local Value => Master Value
phar.cache_list => no value => no value
phar.readonly => On => On
phar.require_hash => On => On

Reflection

Reflection => enabled
Version => $Revision: 1.164.2.33.2.45.2.58 $

session

Session Support => enabled
Registered save handlers => files user 
Registered serializer handlers => php php_binary 

Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => On => On
session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_divisor => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 4 => 4
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => no value => no value
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => On => On
session.use_trans_sid => 0 => 0

SimpleXML

Simplexml support => enabled
Revision => $Revision: 1.151.2.22.2.35.2.32 $
Schema support => enabled

soap

Soap Client => enabled
Soap Server => enabled

Directive => Local Value => Master Value
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => 1 => 1
soap.wsdl_cache_limit => 5 => 5
soap.wsdl_cache_ttl => 86400 => 86400

SPL

SPL support => enabled
Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

standard

Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i 

Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value

tokenizer

Tokenizer Support => enabled

xml

XML Support => active
XML Namespace Support => active
libxml2 Version => 2.7.6

xmlreader

XMLReader => enabled

xmlwriter

XMLWriter => enabled

zlib

ZLib Support => enabled
Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
Compiled Version => 1.2.3
Linked Version => 1.2.3

Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value

Additional Modules

Module Name
readline

Environment

Variable => Value
TERM_PROGRAM => Apple_Terminal
TERM => xterm-color
SHELL => /bin/bash
CLICOLOR => 1
TMPDIR => /var/folders/vK/vKjLbNA4F2inTFyWc0GNek+++TI/-Tmp-/
Apple_PubSub_Socket_Render => /tmp/launch-Ip2Kaz/Render
TERM_PROGRAM_VERSION => 272
USER => mark
COMMAND_MODE => unix2003
SSH_AUTH_SOCK => /tmp/launch-69o2Do/Listeners
__CF_USER_TEXT_ENCODING => 0x1F5:0:0
LSCOLORS => ExFxCxDxBxegedabagacad
PATH => /opt/subversion/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
PWD => /private/tmp/pear/download/SCA_SDO-1.2.4
LANG => en_IE.UTF-8
SHLVL => 1
HOME => /Users/mark
LOGNAME => mark
DISPLAY => /tmp/launch-1np1FA/:0
SECURITYSESSIONID => 505462
_ => /opt/local/bin/php
OLDPWD => /private/tmp/pear/download/SCA_SDO-1.2.4/build

PHP Variables

Variable => Value
_SERVER["TERM_PROGRAM"] => Apple_Terminal
_SERVER["TERM"] => xterm-color
_SERVER["SHELL"] => /bin/bash
_SERVER["CLICOLOR"] => 1
_SERVER["TMPDIR"] => /var/folders/vK/vKjLbNA4F2inTFyWc0GNek+++TI/-Tmp-/
_SERVER["Apple_PubSub_Socket_Render"] => /tmp/launch-Ip2Kaz/Render
_SERVER["TERM_PROGRAM_VERSION"] => 272
_SERVER["USER"] => mark
_SERVER["COMMAND_MODE"] => unix2003
_SERVER["SSH_AUTH_SOCK"] => /tmp/launch-69o2Do/Listeners
_SERVER["__CF_USER_TEXT_ENCODING"] => 0x1F5:0:0
_SERVER["LSCOLORS"] => ExFxCxDxBxegedabagacad
_SERVER["PATH"] => /opt/subversion/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
_SERVER["PWD"] => /private/tmp/pear/download/SCA_SDO-1.2.4
_SERVER["LANG"] => en_IE.UTF-8
_SERVER["SHLVL"] => 1
_SERVER["HOME"] => /Users/mark
_SERVER["LOGNAME"] => mark
_SERVER["DISPLAY"] => /tmp/launch-1np1FA/:0
_SERVER["SECURITYSESSIONID"] => 505462
_SERVER["_"] => /opt/local/bin/php
_SERVER["OLDPWD"] => /private/tmp/pear/download/SCA_SDO-1.2.4/build
_SERVER["PHP_SELF"] => 
_SERVER["SCRIPT_NAME"] => 
_SERVER["SCRIPT_FILENAME"] => 
_SERVER["PATH_TRANSLATED"] => 
_SERVER["DOCUMENT_ROOT"] => 
_SERVER["REQUEST_TIME"] => 1258317657
_SERVER["argv"] => Array
(
)

_SERVER["argc"] => 0
_ENV["TERM_PROGRAM"] => Apple_Terminal
_ENV["TERM"] => xterm-color
_ENV["SHELL"] => /bin/bash
_ENV["CLICOLOR"] => 1
_ENV["TMPDIR"] => /var/folders/vK/vKjLbNA4F2inTFyWc0GNek+++TI/-Tmp-/
_ENV["Apple_PubSub_Socket_Render"] => /tmp/launch-Ip2Kaz/Render
_ENV["TERM_PROGRAM_VERSION"] => 272
_ENV["USER"] => mark
_ENV["COMMAND_MODE"] => unix2003
_ENV["SSH_AUTH_SOCK"] => /tmp/launch-69o2Do/Listeners
_ENV["__CF_USER_TEXT_ENCODING"] => 0x1F5:0:0
_ENV["LSCOLORS"] => ExFxCxDxBxegedabagacad
_ENV["PATH"] => /opt/subversion/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
_ENV["PWD"] => /private/tmp/pear/download/SCA_SDO-1.2.4
_ENV["LANG"] => en_IE.UTF-8
_ENV["SHLVL"] => 1
_ENV["HOME"] => /Users/mark
_ENV["LOGNAME"] => mark
_ENV["DISPLAY"] => /tmp/launch-1np1FA/:0
_ENV["SECURITYSESSIONID"] => 505462
_ENV["_"] => /opt/local/bin/php
_ENV["OLDPWD"] => /private/tmp/pear/download/SCA_SDO-1.2.4/build

PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file:  LICENSE

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.






Expected result:
----------------
Build successful. 

Actual result:
--------------
Here's my output from pecl


$sudo pecl install SCA_SDO 
downloading SCA_SDO-1.2.4.tgz ...
Starting to download SCA_SDO-1.2.4.tgz (576,531 bytes)
..........................................done: 576,531 bytes
194 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
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...
building in /var/tmp/pear-build-root/SCA_SDO-1.2.4
running: /private/tmp/pear/download/SCA_SDO-1.2.4/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... /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... /opt/local
checking for PHP includes... -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include
checking for PHP extension directory... /opt/local/lib/php/extensions/no-debug-non-zts-20090626
checking for PHP installed headers prefix... /opt/local/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... gawk
checking whether to enable SDO support... yes, shared
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for swprintf... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
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 how to run the C++ preprocessor... g++ -E
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
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.2.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
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking for ld used by g++... /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 whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... rm: conftest.dSYM: is a directory
yes
checking if g++ supports -c -o file.o... rm: conftest.dSYM: is a directory
yes
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/var/tmp/pear-build-root/SCA_SDO-1.2.4/libtool --mode=compile g++ -I/private/tmp/pear/download/SCA_SDO-1.2.4 -I. -I/private/tmp/pear/download/SCA_SDO-1.2.4 -DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/SCA_SDO-1.2.4/include -I/private/var/tmp/pear-build-root/SCA_SDO-1.2.4/main -I/private/tmp/pear/download/SCA_SDO-1.2.4 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp -o sdo.lo
mkdir .libs
 g++ -I/private/tmp/pear/download/SCA_SDO-1.2.4 -I. -I/private/tmp/pear/download/SCA_SDO-1.2.4 -DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/SCA_SDO-1.2.4/include -I/private/var/tmp/pear-build-root/SCA_SDO-1.2.4/main -I/private/tmp/pear/download/SCA_SDO-1.2.4 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp  -fno-common -DPIC -o .libs/sdo.o
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:80: error: conflicting specifiers in declaration of 'arginfo_sdo_dataobject'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:86: error: conflicting specifiers in declaration of 'arginfo___get'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:90: error: conflicting specifiers in declaration of 'arginfo___set'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:103: error: conflicting specifiers in declaration of 'arginfo_sdo_dataobject_createdataobject'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:119: error: conflicting specifiers in declaration of 'arginfo_sdo_sequence_getproperty'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:123: error: conflicting specifiers in declaration of 'arginfo_sdo_sequence_move'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:128: error: conflicting specifiers in declaration of 'arginfo_sdo_sequence_insert'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:144: error: conflicting specifiers in declaration of 'arginfo_sdo_list_insert'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:158: error: conflicting specifiers in declaration of 'arginfo_sdo_datafactory_create'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:177: error: conflicting specifiers in declaration of 'arginfo_sdo_das_datafactory_addType'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:183: error: conflicting specifiers in declaration of 'arginfo_sdo_das_datafactory_addPropertyToType'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:263: error: conflicting specifiers in declaration of 'arginfo_sdo_model_type_identifier'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:325: error: conflicting specifiers in declaration of 'arginfo_sdo_model_reflectiondataobject_export'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:411: warning: deprecated conversion from string constant to 'char*'
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp: In function 'int zm_startup_sdo(int, int)':
/private/tmp/pear/download/SCA_SDO-1.2.4/sdo.cpp:447: warning: deprecated conversion from string constant to 'char*'
make: *** [sdo.lo] Error 1
ERROR: `make' failed

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-16 12:54 UTC] sullivanmark at gmail dot com
I tried compiling it with Fedora 12 64bit and had the same issue. Failing on sdo.cpp

php 5.3.0
$sudo pecl install SCA_SDO
 [2011-12-01 18:56 UTC] drakain+php at gmail dot com
I have the same issue on Ubuntu 11.10

Error from make: 
https://raw.github.com/gist/1418910/92c5c95f339ef28a6abcd03210a7e3f72b4829a5/gi
stfile1.txt

Details about my problem on ServerFault: 
http://serverfault.com/questions/336697/installing-pecl-package-on-ubuntu-cannot-find-
config-m4
 [2012-10-11 09:33 UTC] phobos4fear at gmail dot com
Maybe it will help someone:

* updated version (fixed make errors; warnings )
https://github.com/CloCkWeRX/sdo
https://groups.google.com/d/msg/phpsoa/764anp-RwKA/3MtkBMP5CFoJ

php info shows SDO as loaded!
 [2013-04-19 03:58 UTC] braithwa at usq dot edu dot au
Experienced the same problem on Linux Mint Maya 32 bit as well as 64 bit.
Also experienced on Debian Squeeze 32 bit.
 [2016-12-28 14:43 UTC] cmb@php.net
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2016-12-28 14:43 UTC] cmb@php.net
I'm marking this ticket as duplicate of bug #68581 (actually, it's
the other way round, but the other ticket has a patch).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 02:01:31 2024 UTC