Does the default Apache2 config includes apr-devel ?
2010/10/16 Ryan Schmidt <subversion-2010d_at_ryandesign.com>:
> On Oct 16, 2010, at 07:41, Nelson Cabral wrote:
>> Ryan Schmidt wrote:
>>> On Oct 13, 2010, at 12:35, Nelson Cabral wrote:
>>>> My NAS comes with an Apache2 instance without mod_dav_svn. I would
>>>> like to compile mod_dav_svn.so but I don't know how to get the sources
>>>> and how to compile it properly. The NAS is a Synology CS407, the
>>>> firmware is DSM 3.0, and everything is linux powered.
>>>> Can someone give me instructions (command lines) or redirect me? I
>>>> would gladly appreciate any help.
>>> The sources for mod_dav_svn are right there in the Subversion source distribution, which is available from the Subversion web site. mod_dav_svn gets built when you compile Subversion with the --with-apxs flag. When you compile Subversion, you will provide configure arguments pointing at your NAS's existing copies of apxs, apr and apr-util, among perhaps other options:
>>> ./configure ... \
>>> --with-apr-util=/path/to/apu-config \
>> I don't know how to write the --with-apr option, can the result of
>> this command help ?
>> CubeStation> find / -iname apr*
> You write the --with-apr option as stated: point it to your apr-config program. The problem is you don't seem to have one, nor the apr headers. Assuming your Synology NAS has a package management system that was used to install apr and your other existing packages, this presumably means the "apr" package is installed but the "apr-devel" package is not. So use your package manager to install the apr-devel package, then try again. While you're there, you could check if your package manager already has a package for mod_dav_svn, and if so, perhaps you could use that.
Received on 2010-10-16 15:24:09 CEST