Pre-ITP: apache/mod_php

Reini Urban rurban@x-ray.at
Sat Sep 25 14:06:00 GMT 2004


Gerrit P. Haase schrieb:
> Reini Urban wrote:
>> --- ext/dba/config.m4~    2004-03-08 01:01:03.000000000 +0100
>> +++ ext/dba/config.m4    2004-09-24 13:27:27.121674400 +0100
>> @@ -11,8 +11,11 @@
>>  AC_DEFUN(PHP_TEMP_LDFLAGS,[
>>    old_LDFLAGS=$LDFLAGS
>>    LDFLAGS="$1 $LDFLAGS"
>> -  $2
>> +  old_LIBS=$LIBS
>> +  LIBS="$2 LIBS"
> 
> 
> It is missing the $ prefix here.

Thanks.

As I see here
   http://article.gmane.org/gmane.comp.php.devel/26125
or news://news.php.net:119/20040925074142.GA12462@mail.guild.uwa.edu.au
the php folks don't plan to fix anything in their configure.

"We know, it's just broken, fix it by yourself" is the answer.

<cite>
Yes, the PHP4 ./configure internals have been broken in this way for a
number of years and bug reports have been filed accordingly. As you have
noted, the compiler has no difficulty finding the libs but the configure
script itself fails while performing its own (spurious) path search.
This is an artificial failure and cannot be corrected with command-line
options in the version you are using (4.3.8, by the looks of it). If
this is the problem you are experiencing, then all you need to do is
hack ./configure so that it ignores these "errors". For example, if
./configure fails on this:

{ echo "configure: error: libjpeg.(a|so) not found." 1>&2; exit 1; }

then you can make PHP4 compile fully and correctly by changing it to
this:

{ echo "configure: error: libjpeg.(a|so) not found." 1>&2; }
</cite>
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/



More information about the Cygwin-apps mailing list