php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33427 php_odbc_includes.h:118: sql.h missing
Submitted: 2005-06-22 01:01 UTC Modified: 2010-12-20 11:56 UTC
From: pornel at despammed dot com Assigned: jani (profile)
Status: Closed Package: ODBC related
PHP Version: 5.1.0b2 OS: debian sta(b)le
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pornel at despammed dot com
New email:
PHP Version: OS:

 

 [2005-06-22 01:01 UTC] pornel at despammed dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-22 10:27 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2010-12-20 11:56 UTC] jani@php.net
-Package: Tidy +Package: ODBC related -Assigned To: +Assigned To: jani
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Feb 01 20:01:31 2025 UTC