On 05.06.2005, at 03:45, Maarten van der Veen wrote:
> I'm trying to compile the pecl svn module, for PHP. I downloaded the
> file from http://pecl.php.net/package/svn, and compiled it in this
> gzip -d < extname.tgz | tar -xvf -
> cd extname
> ./configure && make
> On two seperate machines, running svn 1.2.0RC2, I get this error:
> checking for svn support... yes, shared
> checking for svn-config... not found
> configure: WARNING:
> Did not find svn-config; please ensure that you have installed
> the svn developer package or equivalent for you system.
> checking for svn_client_create_context in -lsvn_client-1... no
> ./configure: line 3208: unset: `ac_cv_func_svn_client-1': not a valid
> configure: error: wrong svn lib version or lib not found
> Even after adding the path to svn-config, it still produces the unset
> Has anyone succeeded in compiling this package?
Hi Maarten. Frankly, I had a b*tch of a time installing this. First it
needs an alpha version of PEAR:
pear config-set preferred_state alpha
pear upgrade pear
(Don't forget to "pear config-set preferred_state stable" when you're
Then it needs svn-config, which is part of the svn developer package,
which I hadn't installed. So, since I'm on OS X and had installed svn
fink install svn-ssl-dev
And then I still had to patch Alan's svn PECL package. I sent Alan the
patch but he said he would have to check with other PECL developers
first. I'll attach it here in case it helps anyone, but know that I've
never mucked with PECL before so I may have no idea what I'm doing. My
patch does these things to the config.m4:
- Adds /sw to the list of paths where svn stuff is looked for. This is
where fink installs things on OS X.
- Fixes a typo in an error message.
- svn library and include paths are now detected even when svn-config
- Only the first found svn library and include path is used.
- Discovered library and include paths are displayed for debugging
Received on Sun Jun 5 21:20:46 2005
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org