php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59302 Invalid SVN client version
Submitted: 2010-07-10 21:04 UTC Modified: 2010-07-11 21:47 UTC
From: jinmoku at hotmail dot com Assigned:
Status: Not a bug Package: svn (PECL)
PHP Version: 5.3.2 OS: OSX 1.6.4
Private report: No CVE-ID: None
 [2010-07-10 21:04 UTC] jinmoku at hotmail dot com
Description:
------------
svn_client_version() and phpinfo, return incorrect svn client version

//compile with svn path : /opt/subversion
checking for svn includes... Found libsvn 1.6.12


it's maybe confuse with my too svn install


1.6.12
/opt/subversion/include/subversion-1/

1.6.5
/usr/include/subversion-1/


Reproduce code:
---------------
echo svn_client_version();

Expected result:
----------------
1.6.12

Actual result:
--------------
1.6.5

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-11 04:35 UTC] alan at akbkhome dot com
I suspect what has happened is:

./configure has picked up your include files - which are 
1.6.12

runtime has picked up your latest one (it's probably been 
added to the LDPATH)
 [2010-07-11 07:47 UTC] jinmoku at hotmail dot com
i have set DYLD_LIBRARY_PATH vars in my /usr/sbin/envars just like the collabnet install said :

DYLD_LIBRARY_PATH="/opt/subversion/lib:/usr/lib:$DYLD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH
 [2010-07-11 21:47 UTC] alan at akbkhome dot com
Sorry, but your problem does not imply a bug in PECL itself.  For a
list of more appropriate places to ask for help using PECL, please
visit http://pecl.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PECL.

I suggest you just remove all the old binaries for svn - 

<rant>
This is one of those annoying, OSX things that just begs the 
question why they chose to re-write all of the unix 
standards, making it a support nightmare
</rant>

It's not really a bug of svn - more a OSX support issue.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 15:01:27 2019 UTC