#48739 [NEW]: FreeTDS compile issue fixed in previous versions is present in 5.3.0

[email protected] ("gavinleefoster at gmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             gavinleefoster at gmail dot com
Operating system: CentOS
PHP version:      5.3.0
PHP Bug Type:     Compile Failure
Bug description:  FreeTDS compile issue fixed in previous versions is present in 5.3.0

Description:
------------
This bug (http://bugs.php.net/bug.php?id=44991) seems to be still present
in PHP 5.3.  The first few lines of ext/mssql/config.m4 are 

  1 dnl
  2 dnl $Id: config.m4,v 1.9.2.2.2.1.2.1 2008/10/04 12:55:21 felipe Exp $
  3 dnl
  4 
  5 PHP_ARG_WITH(mssql,for MSSQL support via FreeTDS,
  6 [  --with-mssql[=DIR]      Include MSSQL-DB support.  DIR is the
FreeTDS home
  7                           directory [/usr/local/freetds]])
  8 
  9 if test "$PHP_MSSQL" != "no"; then
 10 
 11   if test "$PHP_MSSQL" = "yes"; then
 12     for i in /usr/local /usr; do
 13       if test -f $i/include/sybdb.h; then
 14         FREETDS_INSTALLATION_DIR=$i
 15         FREETDS_INCLUDE_DIR=$i/include

i.e. the patch does not seem to have been applied.

Reproduce code:
---------------
Try to compile PHP 5.3.0 with FreeTDS 0.82.

Expected result:
----------------
Compiles.

Actual result:
--------------
Compilation fails with 

configure: error: Could not find /usr/local/src/freetds/lib/libsybdb.a|so

-- 
Edit bug report at http://bugs.php.net/?id=48739&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        http://bugs.php.net/fix.php?id=48739&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        http://bugs.php.net/fix.php?id=48739&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        http://bugs.php.net/fix.php?id=48739&r=trysnapshot60
Fixed in CVS:                        http://bugs.php.net/fix.php?id=48739&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48739&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=48739&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=48739&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=48739&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=48739&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=48739&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=48739&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=48739&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=48739&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=48739&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48739&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48739&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=48739&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=48739&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=48739&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=48739&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=48739&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.