PHP 4.3 and Mac OS X
Subject:   CURL version stops installl
Date:   2003-01-31 07:48:29
Response to: CURL version stops installl

Thanks for taking a moment to consider my problem and offer advice. I followed your suggestion and used fink to install dlcompat-dev (the other two mentioned, dlcompat and dlcompat-shlibs, were also already installed by fink).

I still get the following error when I issue the ./configure command:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --with-apxs=/usr/sbin/apxs --with-curl=/sw

checking for cURL 7.9.8 or greater... configure: error: cURL version 7.9.8 or later is required to compile php with cURL support

I have also tried taking ou the option --prefix=/usr. Any other suggestions?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • CURL version stops install
    2003-02-28 19:29:40  tychay [View]

    You could try installing over Apple's curl binaries (this is what I do). I gave instructions in a post below.

    The line:
    checking for CURL in default path... found in /usr
    occurs when the ./configure has "--with-curl" or "--with-curl=shared" (latter is unsported on Mac OS X). instead of "--with-curl=/sw". Thus, that line should not be output if youy have "--with-curl=/sw".

    is only for targeting the make install. It shouldn't affect the configure

    The version of curl I install against is 7.10.3 from fink. I am using "curl-ssl", "curl-ssl-dev", and "curl-ssl-shlibs" packages. You definitely need either the "curl-dev" or "curl-ssl-dev", and the library is in "curl-shlibs" or "curl-ssl-shlibs" so you'll need that too. I don't think the "curl" or "curl-ssl" is needed, but it doesn't hurt to have it also.

    Unfortunately, I also smash Apple's installation of curl on my machines with my own, so I can't be 100% sure that PHP isn't accidentally linking against that.

    I hope this helps,

    terry chay
    tychay at php dot net