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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: danwang at cs dot princeton dot edu
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Mon Dec 06 18:03:34 2021 UTC