【求助】按砚PHP5?ODBC的?铨??

rh9?境上.
用 tar方式 按砚PHP5?(原PHP4?rpm方?按砚,而PHP5按砚至不同目?),在make?出?如下的?息便停止:
..........
..............
............................
/bin/sh /tmp/php-5.0.4/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/include -Iext/odbc/ -I/tmp/php-5.0.4/ext/odbc/ -DPHP_ATOM_INC -I/tmp/php-5.0.4/include -I/tmp/php-5.0.4/main -I/tmp/php-5.0.4 -I/usr/include/libxml2 -I/usr/kerberos/include -I/usr/include/freetype2 -I/usr/include/imap -I/tmp/php-5.0.4/ext/mbstring/libmbfl -I/tmp/php-5.0.4/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/ncurses -I/usr/include/pspell -I/tmp/php-5.0.4/TSRM -I/tmp/php-5.0.4/Zend -g -O2 -prefer-non-pic -c /tmp/php-5.0.4/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo
In file included from /tmp/php-5.0.4/ext/odbc/php_odbc.c:37:
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:118:17: sql.h: No such file or directory
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:119:20: sqlext.h: No such file or directory
In file included from /tmp/php-5.0.4/ext/odbc/php_odbc.c:37:
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:208: parse error before "SQLHANDLE"
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:208: warning: no semicolon at end of struct or union
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:209: warning: data definition has no type or storage class
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:211: `SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:214: parse error before '}' token
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:214: warning: data definition has no type or storage class
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:220: parse error before "SDWORD"
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:220: warning: no semicolon at end of struct or union
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:221: warning: data definition has no type or storage class
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:224: parse error before "SQLHANDLE"
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:224: warning: no semicolon at end of struct or union
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:226: parse error before '*' token
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:226: warning: data definition has no type or storage class
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:227: parse error before "numcols"
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:227: warning: data definition has no type or storage class
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:228: parse error before "numparams"
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:228: warning: data definition has no type or storage class
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:235: parse error before '*' token
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:235: warning: data definition has no type or storage class
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:236: parse error before '}' token
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:236: warning: data definition has no type or storage class
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:252: `SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/tmp/php-5.0.4/ext/odbc/php_odbc_includes.h:255: confused by earlier errors, bailing out
make: *** [ext/odbc/php_odbc.lo] Error 1
.........
......

以下?原系靳之php套件
[root@dns php-5.0.4]# rpm -qa | grep php
php-devel-4.2.2-17.12.legacy
php-ldap-4.2.2-17.12.legacy
php-snmp-4.2.2-17.12.legacy
php-manual-4.2.2-17.12.legacy
php-4.2.2-17.12.legacy
php-mysql-4.2.2-17.12.legacy
php-imap-4.2.2-17.12.legacy
php-odbc-4.2.2-17.12.legacy
[root@dns php-5.0.4]#

能否告灾我那? "SQLHANDLE" 及 `SQL_MAX_MESSAGE_LENGTH' 的?铨好??著著!!