Re: cURL / PHP 4.3.0 / Macintosh - DETAIL
| From: | Caitlin Weaver | Date: | Tue, 08 Apr 2003 03:35:19 +0000 |
| Subject: | Re: cURL / PHP 4.3.0 / Macintosh - DETAIL | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10532@lists.php.net to get a copy of this message | ||
Folks,
Thanks for help so far; still having troubles...
I installed cc, ran ./configure --with-curl and get the error...
configure: error: cURL version 7.9.8 or later is required to compile php with cURL support
I downloaded cURL 7.10, ran ./configure again and got
...
checking for cURL 7.9.8 or greater... libcurl 7.10
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more information.
Config.log is attached. The last 20 lines are...
int main() {
crypt()
; return 0; }
configure:15742: checking for ZLIB support
configure:15788: checking if the location of ZLIB install directory is defined
configure:16207: checking whether to enable bc style precision math functions
configure:16488: checking for BZip2 support
configure:16940: checking whether to enable calendar conversion support
configure:17200: checking for cpdflib support
configure:18085: checking for CRACKlib support
configure:18496: checking whether to enable ctype functions
configure:18758: checking for CURL support
configure:18824: checking for cURL 7.9.8 or greater
configure:19049: checking for curl_easy_perform in -lcurl
configure:19068: gcc -o conftest -g -O2 -no-cpp-precomp
-L/sw/lib -lcurl -L/sw/lib -ldl -L/lib -lz -L/curl-7.10.4/lib
-L/sw/lib -L/sw/lib -L/lib -L/lib -L/curl-7.10.4/lib -L/curl-7.10.4/lib conftest.c -lcurl
-lcurl -lm -lcurl -ldl -lz 1>&5
ld: warning -L: directory name (/lib) does not exist
ld: warning -L: directory name (/lib) does not exist
ld: warning -L: directory name (/lib) does not exist
ld: can't locate file for: -ldl
configure: failed program was:
#line 19057 "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 curl_easy_perform();
int main() {
curl_easy_perform()
; return 0; }
HELP??
> > > > >
> > > > > --- Adam Voigt <adam@cryptocomm.com> wrote:
> > > > > > Well for one thing you need to install developer tools,
> > > > > > for Mac OS X, that gets you gcc (the compiler), and
> > > > > > as for Mac specific compile tutorials, check out oreilly.com
> > > > > > or google.
> > > > > >
> > > > > > On Mon, 2003-04-07 at 06:29, Caitlin Weaver wrote:
> > > > > > >
> > > > > > > Specifically, in Mac OS 10.2.4 I type...
> > > > > > >
> > > > > > > [iMac:~/php-4.3.0] imac% ./configure --with-curl
> > > > > > >
> > > > > > > ... and I get...
> > > > > > >
> > > > > > > loading cache ./config.cache
> > > > > > > checking for Cygwin environment... no
> > > > > > > checking for mingw32 environment... no
> > > > > > > checking for working sed... sed
> > > > > > > checking host system type... powerpc-apple-darwin6.4
> > > > > > > checking for gcc... no
> > > > > > > checking for cc... no
> > > > > > > configure: error: no acceptable cc found in $PATH
> > > > > > >
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
Attachment: [application/x-zip-compressed] config.zip config.zip
Attachment: [application/x-zip-compressed] config.zip config.zip