php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61 --x-include doesn't work as advertised
Submitted: 1998-02-12 00:19 UTC Modified: 1998-02-12 00:24 UTC
From: danwang at cs dot princeton dot edu Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0 Latest CVS OS: RedHat Linux 5.0
Private report: No CVE-ID: None
 [1998-02-12 00:19 UTC] danwang at cs dot princeton dot edu
./configure --x-includes doesn't work as advertised so I
can't include /usr/include/pgsql when compiling for postgress
I hacked the ./configure.in to take care of this here's the
cvs diff -c configure.in | more

Index: configure.in
===================================================================
RCS file: /repository/php3/configure.in,v
retrieving revision 1.135
diff -c -r1.135 configure.in
*** configure.in        1998/02/02 04:50:35     1.135
--- configure.in        1998/02/12 05:16:37
***************
*** 500,506 ****
            PGSQL_INCDIR=/usr/local/pgsql/include
                PGSQL_LIBDIR=/usr/local/pgsql/lib
        else
!               PGSQL_INCDIR=$withval/include
                PGSQL_LIBDIR=$withval/lib
        fi
      PGSQL_INCLUDE=-I$PGSQL_INCDIR
--- 500,510 ----
            PGSQL_INCDIR=/usr/local/pgsql/include
                PGSQL_LIBDIR=/usr/local/pgsql/lib
        else
!         if test -d $withval/include/pgsql ; then
!               PGSQL_INCDIR=$withval/include/pgsql
!           else
!                   PGSQL_INCDIR=$withval/include
!         fi
                PGSQL_LIBDIR=$withval/lib
        fi
      PGSQL_INCLUDE=-I$PGSQL_INCDIR

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-12 00:24 UTC] jim
Read the FAQ for information on how to have configure and the build process
look for includes and libraries in non-standard locations.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 30 22:01:28 2024 UTC