php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70 configure detects gdbm and then fails to find gdbm.h
Submitted: 1998-02-14 01:38 UTC Modified: 1998-02-16 15:51 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: yusufg at krdl dot org dot sg Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0b4 OS: Solaris 2.6
Private report: No CVE-ID: None
 [1998-02-14 01:38 UTC] yusufg at krdl dot org dot sg
Hi, I used the technique described in the FAQ and added env
variables CFLAGS and LDFLAGS to enable configure to find
gdbm which I have in $HOME/{include|lib}

Initially, configure finds gdbm and says selecting -lgdbm
Later in the script it tries to locate gdbm.h
It looks in /usr/local/include  and /opt/local/include and
doesn't seem to look into $HOME/include

env CFLAGS=-I$HOME/include --LDFLAGS=$HOME/lib ./configure 
--with-apache=$HOME/apache

Hope you can assist, Thanks Yusuf
yusufg@krdl.org.sg
Singapore

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-16 15:51 UTC] jim
The FAQ was slightly wrong. You need to set CPPFLAGS
instead of CFLAGS. This has been corrected.
 [2014-04-21 21:32 UTC] bwoebi@php.net
Automatic comment on behalf of joe.watkins@live.co.uk
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8da9b7e3a2e25ff8cd536200d515cf0d9c01906f
Log: fix #70
 [2014-04-21 21:33 UTC] bwoebi@php.net
Automatic comment on behalf of joe.watkins@live.co.uk
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8da9b7e3a2e25ff8cd536200d515cf0d9c01906f
Log: fix #70
 [2014-04-25 23:25 UTC] ab@php.net
Automatic comment on behalf of joe.watkins@live.co.uk
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8da9b7e3a2e25ff8cd536200d515cf0d9c01906f
Log: fix #70
 [2014-04-25 23:29 UTC] ab@php.net
Automatic comment on behalf of joe.watkins@live.co.uk
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8da9b7e3a2e25ff8cd536200d515cf0d9c01906f
Log: fix #70
 [2014-05-01 14:59 UTC] tyrael@php.net
Automatic comment on behalf of joe.watkins@live.co.uk
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8da9b7e3a2e25ff8cd536200d515cf0d9c01906f
Log: fix #70
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 11 08:01:29 2024 UTC