php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58251 Incompatibility with SVN 1.5.0?
Submitted: 2008-06-28 18:24 UTC Modified: 2011-10-05 21:11 UTC
From: me at nbishop dot name Assigned:
Status: No Feedback Package: svn (PECL)
PHP Version: 5.2.6 OS: Fedora Core 8
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-06-28 18:24 UTC] me at nbishop dot name
Description:
------------
Up front, noting I'm running PHP 5.2.6, its not an option in the dropdown box though for some reason.

Currently compiled Subversion 1.5.0 (The newest) into the box, seems though this extension is not familiar with it at all?

The following error occurs:
In file included from /home/root/lamp/packages/php/ext/svn/svn.c:42:
/usr/local/include/subversion-1/svn_utf.h:27:23: error: apr_xlate.h: No such file or directory
make: *** [ext/svn/svn.lo] Error 1

Seems related to the apr/apr-utils for the most part as I needed to compile apr and apr-util specifically to use berkeley with SVN 1.5.0 where as I didn't need to with 1.4.6 in the past.

Compiles fine when using Subversion 1.4.6 however, so definitely is related with SVN 1.5.0 as well.

Steps to encounter this:
Autoconf the svn PECL extension into PHP, compile Subversion 1.5.0, try to compile PHP with the --with-svn prefix (I installed Subversion into /usr/local and thus provided that path to the --with-svn option)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-06-30 07:24 UTC] scottmac@php.net
I'm using subversion 1.5 on my mac already, when you re-compiled apr did you make sure it installed the headers somewhere?

We use apr-1-config or apr-config if you have apr 0.9 to go looking for the paths.
 [2008-06-30 20:08 UTC] scottmac@php.net
Try the config.m4 from CVS and check the version information for libsvn and apr.
 [2008-07-01 00:10 UTC] me at nbishop dot name
Will do, I'll give that a shot.  And I'm about 99.9% sure on the headers, but being a few long nights now, I could have missed something, I'll check it all over.  Thanks much for your time.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 06:01:29 2024 UTC