From:             Brian dot Duke at level3 dot com
Operating system: redhat 9.0
PHP version:      4.3.5
PHP Bug Type:     Compile Failure
Bug description:  ./configure works make crashed 

Description:
------------
here is what happened. I am trying to upgrade my php package on my redhat9
server. I bypassed the rpm and tried to install via ./configure the
configure had some issues so I loaded required deps. like 15 of them.
finally it ran clean. I typed in "make" and that went 99% ok then died at
the very end. see below





Reproduce code:
---------------
 I have been plagued with an shell_exec issue. "Warning: exec commans
using backticks cannot be run in Safe Mode" I looked and found that the
best known fix was to upgrade. my previous version of php was 4.2.2. 

Expected result:
----------------
 I configured the new php version 4.3.5 using standard --with-stuff=
commands. after 12 hours I'm sure it's messed up good.



Actual result:
--------------
The result was so





See any operating system documentation about shared libraries for

more information, such as the ld(1) and ld.so(8) manual pages.

----------------------------------------------------------------------

/bin/sh /home/bduke/downloads/php/php-4.3.5/libtool --silent
--preserve-dup-deps --mode=compile gcc -I/usr/local/include -Iext/odbc/
-I/home/

bduke/downloads/php/php-4.3.5/ext/odbc/ -DPHP_ATOM_INC
-I/home/bduke/downloads/php/php-4.3.5/include
-I/home/bduke/downloads/php/php-4.3.5/ma

in -I/home/bduke/downloads/php/php-4.3.5
-I/home/bduke/downloads/php/php-4.3.5/Zend -I/usr/kerberos/include
-I/usr/include/libxml2 -I/usr/inc

lude/freetype2 -I/usr/local/mysql/include -I/usr/include/ncurses 
-I/home/bduke/downloads/php/php-4.3.5/TSRM  -g -O2  -prefer-pic -c
/home/bd

uke/downloads/php/php-4.3.5/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo

In file included from
/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc.c:37:

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:118:17:
sql.h: No such file or directory

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:119:20:
sqlext.h: No such file or directory

In file included from
/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc.c:37:

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:208:
parse error before "SQLHANDLE"

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:208:
warning: no semicolon at end of struct or union

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:209:
warning: data definition has no type or storage class

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:211:
`SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:214:
parse error before '}' token

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:214:
warning: data definition has no type or storage class

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:220:
parse error before "SDWORD"

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:220:
warning: no semicolon at end of struct or union

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:221:
warning: data definition has no type or storage class

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:224:
parse error before "SQLHANDLE"

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:224:
warning: no semicolon at end of struct or union

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:226:
parse error before '*' token

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:226:
warning: data definition has no type or storage class

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:227:
parse error before "numcols"

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:227:
warning: data definition has no type or storage class

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:228:
parse error before "numparams"

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:228:
warning: data definition has no type or storage class

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:235:
parse error before '*' token

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:235:
warning: data definition has no type or storage class

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:236:
parse error before '}' token

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:236:
warning: data definition has no type or storage class

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:252:
`SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)

/home/bduke/downloads/php/php-4.3.5/ext/odbc/php_odbc_includes.h:255:
confused by earlier errors, bailing out

make: *** [ext/odbc/php_odbc.lo] Error 1

-- 
Edit bug report at http://bugs.php.net/?id=27748&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27748&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27748&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27748&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27748&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27748&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27748&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27748&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27748&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27748&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27748&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27748&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27748&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27748&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27748&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27748&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27748&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27748&r=float

Reply via email to