Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-13 Thread Nelson Cabral
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

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-13 Thread Ryan Schmidt
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

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Nelson Cabral
I don't know how to write the --with-apr option, can the result of this command help ? CubeStation> find / -iname apr* /volume1/@optware/lib/ipkg/info/apr.list /volume1/@optware/lib/ipkg/info/apr-util.list /volume1/@optware/lib/ipkg/info/apr-util.control /volume1/@optware/lib/ipkg/info/apr.control

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Ryan Schmidt
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 proper

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Nelson Cabral
Does the default Apache2 config includes apr-devel ? 2010/10/16 Ryan Schmidt : > 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 m

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Erik Huelsmann
On Sat, Oct 16, 2010 at 3:23 PM, Nelson Cabral wrote: > Does the default Apache2 config includes apr-devel ? Normally it doesn't. Bye, Erik.

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Nelson Cabral
The previous firmware (which must be a distro), came without apache2. You could install svn, apache2 and svn over apache2 with ipkg (here the wiki page http://forum.synology.com/wiki/index.php/Enable_HTTP_and_HTTPS_access_for_Subversion). I can safely suppose that the previous version had a apache

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Ryan Schmidt
On Oct 16, 2010, at 08:31, Nelson Cabral wrote: > So has mod_dav_svn could be installed previously without apr-devel, > are you sure i need it now? Subversion requires APR. If you just want to run a pre-compiled Subversion or mod_dav_svn, all you need are the compiled APR libraries. But if you

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Nelson Cabral
The installed version of apr-util is 1.3.9, can i download sources of 1.3.10 instead ? I cannot find the 1.3.9 tar file. Nelson 2010/10/16 Ryan Schmidt : > > On Oct 16, 2010, at 08:31, Nelson Cabral wrote: > >> So has mod_dav_svn could be installed previously without apr-devel, >> are you sure i

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Ryan Schmidt
On Oct 16, 2010, at 08:54, Nelson Cabral wrote: > The installed version of apr-util is 1.3.9, can i download sources of > 1.3.10 instead ? I cannot find the 1.3.9 tar file. I wouldn't mix and match versions. 1.3.9 and all other old versions are available here: http://archive.apache.org/dist/ap

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Nelson Cabral
Nope. Find doesn't return files with such names. When ipkg says that apr-util-1.3.9-1 is installed. Does the '-1' at the end means something ? I'm currently downloading required sources supposing 1.3.9-1 means 1.3.9. 2010/10/16 Ryan Schmidt : > > On Oct 16, 2010, at 08:54, Nelson Cabral wrote: >

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Ryan Schmidt
On Oct 16, 2010, at 09:01, Nelson Cabral wrote: > Nope. Find doesn't return files with such names. > > When ipkg says that apr-util-1.3.9-1 is installed. Does the '-1' at > the end means something ? > > I'm currently downloading required sources supposing 1.3.9-1 means 1.3.9. "apr-util-1.3.9-1

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Nelson Cabral
If I only do make and not make install, there should be no risk, right? make fails to compile, here is the make output (short), any idea ? CubeStation> make -- making all in apr make[1]: Entering directory `/volume2/@tmp/subversion-1.6.13/apr' make[2]: Entering directory `/volume2/@tmp/subver

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-16 Thread Ryan Schmidt
On Oct 16, 2010, at 13:17, Nelson Cabral wrote: > If I only do make and not make install, there should be no risk, right? Agreed. > make fails to compile, here is the make output (short), any idea ? [snip] > /volume2/@tmp/subversion-1.6.13/libtool: line 465: tr: not found Your server appears

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-17 Thread Nelson Cabral
I installed the tr utility. I still do have this error : In file included from subversion/libsvn_fs_fs/rep-cache.c:28: subversion/libsvn_fs_fs/rep-cache-db.h:7:3: macro names must be identifiers subversion/libsvn_fs_fs/rep-cache.c:35: error: `REP_CACHE_DB_SQL' undeclared here (not in a function)

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-17 Thread Ryan Schmidt
On Oct 17, 2010, at 07:17, Nelson Cabral wrote: > I installed the tr utility. I still do have this error : > > In file included from subversion/libsvn_fs_fs/rep-cache.c:28: > subversion/libsvn_fs_fs/rep-cache-db.h:7:3: macro names must be identifiers > subversion/libsvn_fs_fs/rep-cache.c:35: er

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-17 Thread Nelson Cabral
It was a clean attempt... I guess. Are installed via ipkg : apr - 1.3.12-1 - Apache Portable Runtime library apr-util - 1.3.9-1 - Apache Portable Runtime utilities library svn - 1.6.12-1 - a compelling replacement for CVS But I downloaded svn 1.6.13 sources. I'm gonna re-download all source from

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-17 Thread Nelson Cabral
I've caught this message during ./configure : == WARNING: skipping the build of mod_dav_svn try using --with-apxs == As there are apache modules in my NAS, is t

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-17 Thread Ryan Schmidt
On Oct 17, 2010, at 09:10, Nelson Cabral wrote: > I've caught this message during ./configure : > > == > WARNING: skipping the build of mod_dav_svn > try using --with-apxs > ==

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-17 Thread Nelson Cabral
Not installed (find & which don't return anything). I guess I have to install apache-devel, haven't I? Are there instructions somewhere? 'apache-devel' on google returns nothing :-/ In case you wonder, it looks like ipkg only install compiled software. For my NAS, available packages are here http:

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-17 Thread Ryan Schmidt
On Oct 17, 2010, at 09:40, Nelson Cabral wrote: > Not installed (find & which don't return anything). > I guess I have to install apache-devel, haven't I? Are there > instructions somewhere? 'apache-devel' on google returns nothing :-/ > > In case you wonder, it looks like ipkg only install com

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-17 Thread Nelson Cabral
Let's try :-) How to build them ? The Apache version is 2.2.16. Can downloading apache sources & compiling them help?

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-17 Thread Ryan Schmidt
On Oct 17, 2010, at 10:19, Nelson Cabral wrote: > Let's try :-) How to build them ? The Apache version is 2.2.16. Can > downloading apache sources & compiling them help? Right, that is what you would have to do.

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-17 Thread Nelson Cabral
I downloaded apache 2.2.16 sources and compiled with make, but where are the binaries ? I'm not familiar with linux conventions :-/ Do binaries have an extension ? 2010/10/17 Ryan Schmidt : > > On Oct 17, 2010, at 10:19, Nelson Cabral wrote: > >> Let's try :-) How to build them ? The Apache versio

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-18 Thread Ryan Schmidt
On Oct 17, 2010, at 11:02, Nelson Cabral wrote: > I downloaded apache 2.2.16 sources and compiled with make, but where > are the binaries ? I'm not familiar with linux conventions :-/ Do > binaries have an extension ? No, binaries on UNIX do not have any filename extensions. Each project is fre

RE: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-18 Thread Loritsch, Berin
> From: Nelson Cabral [mailto:nelson.cab...@gmail.com] > > Not installed (find & which don't return anything). > I guess I have to install apache-devel, haven't I? Are there > instructions somewhere? 'apache-devel' on google returns nothing :-/ Most linux distribution packages separate the comp

Re: Compiling mod_dav_svn against an installed Apache2 instance ?

2010-10-24 Thread Nelson Cabral
Finally I followed the Synology wiki, which made me install a parallel version of Apache with all working dependencies. It should keep me safe of any update of Synology's Apache. Thank you very much for your time, guys. 2010/10/18 Loritsch, Berin : >> From: Nelson Cabral [mailto:nelson.cab...@gma