> I'm running across something I'm not sure how to deal with.  I had to 
> update curl to support a e-commerce package I wanted to test.  It 
> requires that I compile curl into PHP, among other things.  The curl 
> version loaded on my box is too old for my current version of PHP.  So I 
> got the curl source.  Did the voodoo with no complaints. 
> 
> PHP compile still complains when it checks curl.  PHP doesn't seem to 
> detect the new install.  One thought is that there's a problem with the 
> path.  But I'm not sure where to correct this.  With RedHat as it is. I 
> don't think it's wise to dump the RPM.  God only knows what is depending 
> on that version of curl. 
> 
> When compiling PHP, you can specify the location of the executable.  But 
> that doesn't help.  It occurs to me that PHP is looking at the old 
> library or simply ignoring the path argument I  put in the configure 
> string.  There are libraries in two different places and executables in 
> two different places. Someone suggested renaming the old assets using 
> the old names to create symbolic links to the right stuff.  This seems 
> like an awful solution.   Any thoughts?
> 
> I'm running PHP 4.3.7 from source.
> 
> Thanks,
> Bob
> 
> -- 
> Bob Cohen
> Principal MojoTools and b.p.e.Creative
> http://www.mojotools.com
> bob -at- mojotools.com
> 508.384.0405
> Yahoo IM bob_j_cohen

On most linux distrbutions, there are both the package and the devel packages. 
 On my SuSE system, there exists a curl as well as a curl-devel package.  
Typically, you will need to curl-devel packages for compiling with PHP.

In your particular case, since you took the source of curl and built it 
yourself, you probably did a 'make install'.  It could, by default, on install 
runtime components, it may not have installed the header files, which may be 
what PHP is looking for.

Check to see if there is an option to install the curl-devel equivalent or 
look into the configure script to see exactly what PHP is checking for the 
existence of curl.

-- 
Christopher Chan
SpikeSource, Inc.
[EMAIL PROTECTED]
http://developer.spikesource.com

Reply via email to