[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Installing PECL svn

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-06-05 16:12:19 CEST

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
> order:
>
> gzip -d < extname.tgz | tar -xvf -
> cd extname
> phpize
> ./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
> identifier
> configure: error: wrong svn lib version or lib not found
>
> Even after adding the path to svn-config, it still produces the unset
> error.
>
> 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
done installing.)

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
with fink:

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
is found.
- Only the first found svn library and include path is used.
- Discovered library and include paths are displayed for debugging
purposes.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Sun Jun 5 21:20:46 2005

This is an archived mail posted to the Subversion Users mailing list.