#48739 [Opn->Bgs]: 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]>
 ID:               48739
 User updated by:  gavinleefoster at gmail dot com
 Reported By:      gavinleefoster at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: CentOS
 PHP Version:      5.3.0
 New Comment:

My mistake.


Previous Comments:
------------------------------------------------------------------------

[2009-06-30 13:44:37] gavinleefoster at gmail dot com

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 this bug report at http://bugs.php.net/?id=48739&edit=1
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.