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

Re: can i only config in apache with add subversion installed path to system path?

From: Ryan Schmidt <subversion-2009d_at_ryandesign.com>
Date: Sat, 5 Dec 2009 12:51:00 -0600

On Dec 5, 2009, at 02:07, Andrey Repin wrote:

>>> i seems that if i doesn't add subversion installed path (c:\subversion\bin) to system path.
>>> apache can't work well for subversion.
>>
>> That's new to me. What error message do you get if you do not set the path? Where do you set the path?
>
> Nothing new there.

It may not be new to you, but it is new to me, meaning it is information I've never heard before, and I've been on this list for 5 years. It could be that it's unique to Windows and I've therefore not paid attention to it.

> mod_dav_svn need to load alot of SVN libs in order to work.
> And these libs need some other libs (some of them)...

Libraries, sure. But don't libraries know how to find other libraries without things being in PATH? PATH is for finding binaries anyway, not libraries, unless Windows is more totally strange than I already think it is. On Mac OS X, my mod_dav_svn.so knows exactly where all the other libraries it needs are, without the need to set any variable, as shown by otool:

$ otool -L /opt/local/apache2/modules/mod_dav_svn.so
/opt/local/apache2/modules/mod_dav_svn.so:
        /opt/local/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /opt/local/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /opt/local/lib/libsvn_fs_fs-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /opt/local/lib/libsvn_fs_base-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /opt/local/lib/libsvn_fs_util-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /opt/local/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /opt/local/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
        /opt/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current version 9.6.0)
        /opt/local/lib/libaprutil-1.0.dylib (compatibility version 4.0.0, current version 4.9.0)
        /opt/local/lib/db46/libdb-4.6.dylib (compatibility version 0.0.0, current version 0.0.0)
        /opt/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
        /opt/local/lib/libapr-1.0.dylib (compatibility version 4.0.0, current version 4.8.0)
        /opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
        /opt/local/lib/libintl.8.dylib (compatibility version 9.0.0, current version 9.2.0)
        /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 36910.0.0)
        /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 44.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0)
$

> It made my head spin when I've tried to avoid editing %PATH%, so then I just
> added %SVN%/bin to %PATH% and lefet it this way.

Where do you edit the PATH? Is this a systemwide setting somewhere?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2427475

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-05 19:52:25 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.