Re: [PHP4BETA] informix install problems

[email protected] ("Laurent Bossavit") Fri, 9 Jun 2000 01:00:40 +0200
Newsgroups php.version4
Message-ID <394041B8.8773.5D34ED@localhost>
Mitja wrote :

> Since it seemed obvious that there's a library missing, I added
> the following to the Apache's src/Makefile: And it works fine now.
> However, I guess this should be done automatically. Any ideas what
> might be the problem? 

Usually this means that the config.m4 file (in ext/informix) should 
contain the following at some point :
EXTRA_LIBS += -lyourlibrary

After modifying config.m4 you need to run "./buildconf" at the root 
of the PHP directory. This gathers configuration information from all 
extensions present and injects it into the main configure script; you 
then run "configure --with-informix" (or whatever your favorite 
config command is) then make/make install once more. Make install 
should patch the Makefile in the Apache tree appropriately.

Autoconf and automake are great tools which simplify distributing 
source packages a lot, but sometimes the complexity they hide comes 
back to haunt you...


========================================
Laurent Bossavit     -     Ing‚nieur R&D
>>>        [email protected]        <<<
>>            ICQ#39281367            <<
MultiMania     http://www.multimania.fr/
========================================