I'm not much more than a newbie myself, so caveat lector and all. The 
config.log is usually full of errors, that's how it works. configure 
compiles and runs a whole slew of little programs to see which ones work 
or don't work to give it a picture of your machine. The important bit is 
the last error before it stopped. In this case I'm guessing that would 
be "/usr/bin/ld: cannot find -lgdbm". So it can't find the gdbm library 
that you're requesting. Do you have it installed? If you do, is the 
library directory listed in /etc/ld.so.conf (assuming this is linux) and 
have you run ldconfig (I forget if that's the right name exactly) since 
you installed it? These two steps are necessary to put the library 
directory in ld's search path.

Or you could drop the --with-gdbm and see how it goes.

-Steve


On Friday, September 7, 2001, at 01:17  PM, Bob wrote:

> Hi Steve
>
> I'm a newbie so didn't know about the config.log file.  Thanks for the 
> hint.
> I have errors throughout the config.log and so I just included the whole
> thing.  I've been searching through the web for info on this and 
> reading up on
> it.  When configuring, does it matter what order my options are 
> listed?  Maybe
> I'm grabbing at straws.  The same php version is installed and I'm just 
> using
> the ./configure found in phpinfo() so I don't know what I"m doing wrong.
>
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:1359: checking for a BSD compatible install
> configure:1412: checking whether build environment is sane
>

<- snipped ->

> configure:13371: checking for gdbm_open in -lgdbm
> configure:13390: gcc -o conftest -g -O2  -DLINUX=2 -DMOD_SSL=207101 
> -DEAPI
> -DUSE_EXPAT -L/lib  -Wl,-rpath,/usr/local/lib -L/usr/local/lib
> -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib conftest.c -lgdbm  
> -lcurl
> -ldl -lcrypto -lssl -lcurl -lz -lcrypt -lssl -lssl -lcrypto -lresolv 
> -lm -ldl
> -lnsl  -lresolv 1>&5
> /usr/bin/ld: cannot find -lgdbm
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 13379 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char gdbm_open();
>
> int main() {
> gdbm_open()
> ; return 0; }
>
>
> Steve Cayford wrote:
>
>> Does config.log have anything more about the error?
>>
>> -steve
>>
>> On Friday, September 7, 2001, at 06:28  AM, Bob wrote:
>>
>>> Hi everyone, if you can help me with this I would really appreciate 
>>> it.
>>>
>>> If I configure php with this then it works:
>>>
>>> # ./configure
>>> --with-apxs=/usr/sbin/apxs
>>> --without-mysql
>>> --with-openssl=/usr
>>> --with-curl=/usr/local/lib
>>>
>>> But if I configure with this it gives me "configure: error: cannot 
>>> find
>>> necessary header file(s)"  How can I narrow this down to find out 
>>> which
>>> header files it's talking about?
>>>
>>> # ./configure
>>> --prefix=/usr
>>> --with-config-file-path=/etc
>>> --disable-debug
>>> --enable-pic
>>> --enable-shared
>>> --enable-inline-optimization
>>> --with-apxs=/usr/sbin/apxs
>>> --with-exec-dir=/usr/bin
>>> --with-regex=system
>>> --with-zlib
>>> --with-gdbm
>>> --with-gd
>>> --with-jpeg-dir=/usr
>>> --with-png
>>> --with-ttf
>>> --with-layout=GNU
>>> --with-openssl=/usr
>>> --enable-debugger
>>> --enable-safe-mode
>>> --enable-sockets
>>> --enable-sysvsem=shared
>>> --enable-sysvshm=shared
>>> --enable-track-vars
>>> --enable-magic-quotes
>>> --enable-mem-limit
>>> --enable-yp
>>> --enable-ftp
>>> --enable-wddx
>>> --without-mysql
>>> --with-imap=shared
>>> --without-unixODBC
>>> --without-oracle
>>> --without-oci8
>>> --with-xml
>>> --with-curl
>>>
>>> [snip]
>>> Configuring extensions
>>> checking if the location of ZLIB install directory is defined... no
>>> checking whether to include ZLIB support... yes
>>> checking for gzgets in -lz... yes
>>> checking for fopencookie... yes
>>> checking for ASPELL support... no
>>> checking for bc style precision math functions... no
>>> checking for BZip2 support... no
>>> checking whether to enable calendar conversion support... no
>>> checking CCVS Support... no
>>> checking whether to include cpdflib support... no
>>> checking whether to include crack support... no
>>> checking whether to enable ctype support... no
>>> checking for CURL support... yes
>>> checking for CURL in default path... found in /usr/local
>>> checking for cURL greater than or equal to 7.8... libcurl 7.8.1
>>> checking for curl_easy_perform in -lcurl... yes
>>> checking for CyberCash support... no
>>> checking for cybermut support... no
>>> checking whether to include old xDBM support... no
>>> checking whether to enable DBA... no
>>> checking for gdbm_open in -lgdbm... no
>>> configure: error: cannot find necessary header file(s)
>>> [this is where it stops]
>>>
>>>
>>> _________________________________________________________
>>> Do You Yahoo!?
>>> Get your free @yahoo.com address at http://mail.yahoo.com
>>>
>>>
>>> --
>>> PHP Install Mailing List (http://www.php.net/)
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>> To contact the list administrators, e-mail: php-list-
>>> [EMAIL PROTECTED]
>>>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to