On Apr 20, 2011, at 4:40 PM, Kevin Horton wrote:

> On Wed, Apr 20, 2011 at 04:02:00PM -0400, Daniel Macks wrote:
>> On Wed, 20 Apr 2011 15:30:18 -0400, Kevin Horton  wrote:
>> On Wed, Apr 20, 2011 at 02:44:32PM -0400, Alexander Hansen wrote:
>>>> On 4/20/11 2:20 PM, Kevin Horton wrote:
>>>>> An attempt to compile php5-5.2.12-3 fail on OS X 10.6.7 fails with:
>>>>>>> checking if we should use cURL for url streams... no
>>>>> checking for cURL 7.10.5 or greater... configure: error: cURL
>>> version 7.10.5 or later is required to compile php with cURL
>>> support
>>>>> ### execution of /var/tmp/tmp.1.aJMz2U failed, exit code 1
>>>>>>> I don't have fink's curl installed:
>>>>>>> % fink list -t curl
>> 
>> [trimming non-installed ones]
>> 
>>>>> i      libcurl3-unified-shlibs 7.15.5-7        Lib. for
>>> transferring files with URL syntax
>>>>> i      libcurl4        7.21.5-1+10.6   Lib. for transferring
>>> files with URL syntax
>>>>> i      libcurl4-shlibs 7.21.5-1+10.6   Lib. for transferring
>>> files with URL syntax
>>>>> i      system-pkgconfig-libcurl        7.19.7-1
>>> [virtual pkgconfig package representing libcurl]
>>>>>>> Package manager version: 0.29.21
>>>>> Distribution version: selfupdate-rsync Wed Apr 20 12:24:40
>>> 2011, 10.6, i386
>>>>> What does the config.log say at the point where it's looking for curl?
>>> 
>>> I'd appreciate any hints on where this log might be hiding.  I
>>> can't find it in the build directory, nor in /sw/var/log, nor
>>> /var/log, nor /tmp.
>> 
>> I think it's in the apache2-build/ subdir of the build directory.
> 
> Bingo!  Thanks.
> 
> configure.log ends with:
> 
> configure:25847: checking for cURL support
> configure:25894: checking if we should use cURL for url streams
> configure:25939: checking for cURL 7.10.5 or greater
> 
> The relevant portion of configure has:
> 
> echo "configure:25939: checking for cURL 7.10.5 or greater" >&5
> 
>  if ${CURL_DIR}/bin/curl-config --libs > /dev/null 2>&1; then
>    CURL_CONFIG=${CURL_DIR}/bin/curl-config
>  else
>    if ${CURL_DIR}/curl-config --libs > /dev/null 2>&1; then
>      CURL_CONFIG=${CURL_DIR}/curl-config
>    fi
>  fi
> 
>  curl_version_full=`$CURL_CONFIG --version`
>  curl_version=`echo ${curl_version_full} | sed -e 's/libcurl //' | $AWK 
> 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
>  if test "$curl_version" -ge 7010005; then
>    echo "$ac_t""$curl_version_full" 1>&6
>    CURL_LIBS=`$CURL_CONFIG --libs`
>  else
>    { echo "configure: error: cURL version 7.10.5 or later is required to 
> compile php with cURL support" 1>&2; exit 1; }
>  fi

This is indeed an upstream bug introduced in the latest version. There's a fix 
in the curl repo that I will apply shortly.

Daniel


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to