I'm attempting to compile and install the PECL extension for svn bindings on Mac OS X (10.4.10), with a MAMP server distribution, and I get an error during configure that it 'failed to find apr.h'. I've checked and the header file does exist at /Applications/MAMP/Library/include/apr.h.
I first tried the command '[FONT="Courier New"]pecl install svn-beta[/FONT]', which failed with the above noted error. I have since tried manually stepping through the process:
cvs -d:pserver:cvsread@cvs.php.net:/repository co pecl/svn
cd pecl/svn
phpize
./configure
make
make install
But this fails on the [FONT="Courier New"]./configure[/FONT]. I have also tried explicitly specifying the path of apr.h:
./configure --with-svn-apr=/Applications/MAMP/Library
That also fails with the same error. I think this has something to do with my using MAMP instead of the apache+php that comes installed as part of the OS (which I never explcitly removed), but I really have no idea how to proceed...