Ok, that problem solved but now another one pops up when I run 'make'.
Please note that it is complaining about code that came with the PHP tarball
and I haven't changed anything.  Below are the errors for your viewing
(dis)pleasure.  Any guidance would be appreciated.  This isn't supposed to
be sooooo hard.

In file included from /usr/local/php-4.3.1/ext/curl/curl.c:45:
/usr/local/php-4.3.1/ext/curl/php_curl.h:115: parse error before `CURLM'
/usr/local/php-4.3.1/ext/curl/php_curl.h:115: warning: no semicolon at end
of struct or union
/usr/local/php-4.3.1/ext/curl/php_curl.h:124: parse error before `mcode'
/usr/local/php-4.3.1/ext/curl/php_curl.h:124: warning: data definition has
no type or storage class
/usr/local/php-4.3.1/ext/curl/php_curl.h:127: parse error before `}'
/usr/local/php-4.3.1/ext/curl/php_curl.h:127: warning: data definition has
no type or storage class
/usr/local/php-4.3.1/ext/curl/curl.c: In function `zm_startup_curl':
/usr/local/php-4.3.1/ext/curl/curl.c:182: `CURLOPT_CAPATH' undeclared (first
use in this function)
/usr/local/php-4.3.1/ext/curl/curl.c:182: (Each undeclared identifier is
reported only once
/usr/local/php-4.3.1/ext/curl/curl.c:182: for each function it appears in.)
/usr/local/php-4.3.1/ext/curl/curl.c:221: `CURLINFO_REDIRECT_TIME'
undeclared (first use in this function)
/usr/local/php-4.3.1/ext/curl/curl.c:222: `CURLINFO_REDIRECT_COUNT'
undeclared (first use in this function)
/usr/local/php-4.3.1/ext/curl/curl.c:278: `CURL_NETRC_OPTIONAL' undeclared
(first use in this function)
/usr/local/php-4.3.1/ext/curl/curl.c:279: `CURL_NETRC_IGNORED' undeclared
(first use in this function)
/usr/local/php-4.3.1/ext/curl/curl.c:280: `CURL_NETRC_REQUIRED' undeclared
(first use in this function)
/usr/local/php-4.3.1/ext/curl/curl.c: In function `zif_curl_setopt':
/usr/local/php-4.3.1/ext/curl/curl.c:732: `CURLOPT_CAPATH' undeclared (first
use in this function)
/usr/local/php-4.3.1/ext/curl/curl.c: In function `zif_curl_getinfo':
/usr/local/php-4.3.1/ext/curl/curl.c:1053: `CURLINFO_REDIRECT_COUNT'
undeclared (first use in this function)
/usr/local/php-4.3.1/ext/curl/curl.c:1077: `CURLINFO_REDIRECT_TIME'
undeclared (first use in this function)
make: *** [ext/curl/curl.lo] Error 1



> Assuming you also installed ucd-snmp-devel-*.rpm, likely you need to
> specify --with-snmp=/usr or --with-snmp=/usr//include/ucd-snmp
>
> Don wrote:
>
> >Ok, now that I've solved my 'curl' problem, I've run in to another
problem.
> >Now I am getting teh following error:
> >
> >"configure: error: snmp.h not found. Check your SNMP installation."
> >
> >I've installed the ucd-snmp rpms so what am I missing?
> >
> >Thanks,
> >Don
> >
> >----- Original Message -----
> >From: "Marek Kilimajer" <[EMAIL PROTECTED]>
> >To: "Don" <[EMAIL PROTECTED]>
> >Cc: "php list" <[EMAIL PROTECTED]>
> >Sent: Tuesday, April 01, 2003 11:45 AM
> >Subject: Re: [PHP] Problem installing PHP 4.3.1 - won't compile due to
> >odderror.
> >
> >
> >
> >
> >>You might have it installed twice (e.g. once from rpm and once from
> >>source). Try
> >>locate curl-config
> >>
> >>
> >>Don wrote:
> >>
> >>
> >>
> >>>Ok. I seemed to have solved the problem but it seemed really dumb to
me.
> >>>
> >>>
> >I
> >
> >
> >>>did a "curl -version" from teh command prompt and it outputed 7.10.3
> >>>
> >>>BUT, when I looked at the "curl-config" file, it specified the
following
> >>>
> >>>
> >for
> >
> >
> >>>the --version section:
> >>>
> >>>--version)
> >>>    echo libcurl 7.9.5
> >>>    exit 0
> >>>    ;;
> >>>
> >>>So...., all I did was change the 7.9.5 to 7.10.3 and no more compile
> >>>
> >>>
> >error.
> >
> >
> >>>Silly huh?
> >>>
> >>>----- Original Message -----
> >>>From: "Adam Voigt" <[EMAIL PROTECTED]>
> >>>To: "Don" <[EMAIL PROTECTED]>
> >>>Sent: Tuesday, April 01, 2003 11:19 AM
> >>>Subject: Re: [PHP] Problem installing PHP 4.3.1 - won't compile due to
> >>>odderror.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>Just out of curiosity, try --with-curl=/usr.
> >>>>
> >>>>On Tue, 2003-04-01 at 11:12, Don wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>I altered the configuration to say --> --with-curl=/usr/bin  as that
is
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>the
> >>>
> >>>
> >>>
> >>>
> >>>>>location of the curl executable but I am still getting the compile
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>error.
> >>>
> >>>
> >>>
> >>>
> >>>>>Any other suggestion?
> >>>>>
> >>>>>----- Original Message -----
> >>>>>From: "Marek Kilimajer" <[EMAIL PROTECTED]>
> >>>>>To: "Don" <[EMAIL PROTECTED]>
> >>>>>Cc: "php list" <[EMAIL PROTECTED]>
> >>>>>Sent: Tuesday, April 01, 2003 7:27 AM
> >>>>>Subject: Re: [PHP] Problem installing PHP 4.3.1 - won't compile due
to
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>odd
> >>>
> >>>
> >>>
> >>>
> >>>>>error.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Run ./configure --help, it will tell you how to specify the path to
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>curl
> >>>
> >>>
> >>>
> >>>
> >>>>>>libraries
> >>>>>>
> >>>>>>Don wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>Trying to install PHP 4.3.1 but getting the following error
message:
> >>>>>>>
> >>>>>>>"configure error: cURL version 7.9.8 or later is required to
compile
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>php
> >>>
> >>>
> >>>
> >>>
> >>>>>>>with cURL support"
> >>>>>>>
> >>>>>>>I have curl installed; when I issue a "curl -V", the version number
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>reported
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>>is 7.10.3
> >>>>>>>
> >>>>>>>Can anyone tell me what the install is looking for?
> >>>>>>>
> >>>>>>>Thanks in advance,
> >>>>>>>Don
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>---
> >>>>>>>Outgoing mail is certified Virus Free.
> >>>>>>>Checked by AVG anti-virus system (http://www.grisoft.com).
> >>>>>>>Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>---
> >>>>>Outgoing mail is certified Virus Free.
> >>>>>Checked by AVG anti-virus system (http://www.grisoft.com).
> >>>>>Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003
> >>>>>
> >>>>>
> >>>>>--
> >>>>>PHP General Mailing List (http://www.php.net/)
> >>>>>To unsubscribe, visit: http://www.php.net/unsub.php
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>--
> >>>>Adam Voigt ([EMAIL PROTECTED])
> >>>>The Cryptocomm Group
> >>>>My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>---
> >>>Outgoing mail is certified Virus Free.
> >>>Checked by AVG anti-virus system (http://www.grisoft.com).
> >>>Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003
> >
> >
> >
> >
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to