From: pornel at despammed dot com Operating system: debian sta(b)le PHP version: 5.1.0b2 PHP Bug Type: Compile Failure Bug description: php_odbc_includes.h:118: sql.h missing
Description: ------------ I apparently don't have package that provides sql.h, but configure didn't complain about that. Reproduce code: --------------- /tmp/php-5.1.0b1# './configure' '--with-apxs=/usr/bin/apxs' '--prefix=/usr' '--disable-debug' '--with-config-file-path=/etc/php5/apache' '--disable-rpath' '--with-regex=php' '--enable-memory-limit' '--disable-debug' '--with-layout=GNU' '--disable-pear' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--without-db2' '--enable-dbx' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--with-mime-magic' '--enable-mbstring' '--with-pcre-regex' '--enable-soap' '--enable-sockets' '--enable-simplexml' '--with-libxml-dir=/usr' '--with-dom=/usr' '--with-xsl=/usr' '--with-sqlite' '--enable-sqlite-utf8' '--enable-tokenizer' '--enable-yp' '--with-zlib' '--with-zlib-dir=/usr' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-exec-dir=/usr/lib/php5/libexec' '--disable-static' '--without-pear' '--with-curl=shared,/usr' '--with-gd=shared' '--with-jpeg-dir=shared,/usr' '--without-xpm' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--enable-gd-native-ttf' '--enable-gd-jis-conv' '--with-mcrypt=shared,/usr' '--with-ming=shared,/usr' '--without-imap' '--with-imap-ssl' '--without-ldap' '--with-mhash=shared,/usr' '--with-mm' '--with-mysql=shared,/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-mysqli=shared,/usr/bin/mysql_config' '--without-pgsql' '--with-unixODBC=shared,/usr' '--with-tidy=shared' '--without-snmp' '--without-sybase' '--with-ttf=shared,/usr' '--with-xmlrpc=shared' --with-soap Expected result: ---------------- binary. configure ran ok. Actual result: -------------- In file included from /tmp/php-5.1.0b1/ext/odbc/php_odbc.c:37: /tmp/php-5.1.0b1/ext/odbc/php_odbc_includes.h:118: sql.h: No such file or directory /tmp/php-5.1.0b1/ext/odbc/php_odbc_includes.h:119: sqlext.h: No such file or directory -- Edit bug report at http://bugs.php.net/?id=33427&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33427&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33427&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33427&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33427&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33427&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33427&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33427&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33427&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33427&r=support Expected behavior: http://bugs.php.net/fix.php?id=33427&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33427&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33427&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33427&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33427&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33427&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33427&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33427&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33427&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33427&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33427&r=mysqlcfg