You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sandip Patel <sa...@gmail.com> on 2006/05/16 13:48:46 UTC

Subversion installation.

*Can any one help me with configuration of subversion*

*while running ./configure, i got following. But i want to have mod_dav_svn.
Also I want to use plugin viewvc and which requies python, but i got
follwoing error.*

*neon configured properly
checking for static Apache module support... no
checking for Apache module support via DSO through APXS... sh: line 1:
/usr/sbin/envvars: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/sbin/httpd'..
no - Unable to locate /mod_dav.h
**==================================================================
WARNING: skipping the build of mod_dav_svn
         --with-apxs or --with-apache must be used
==================================================================
checking for socket in -lsocket... no
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for library containing bindtextdomain... none required
checking for bind_textdomain_codeset... yes
checking if we are using GNU gettext... yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for symlink... yes
checking for readlink... yes
checking for python... /usr/bin/python
checking for JDK... configure: WARNING: no JNI header files found.
no
checking for perl... /usr/bin/perl
checking for ruby... none
checking for swig... none
configure: Configuring python swig binding
checking for Python includes... -I/usr/include/python2.3
checking for compiling Python extensions... Traceback (most recent call
last):
  File "/opt/subversion-1.3.1/build/get-py-info.py", line 43, in ?
    cc, basecflags, opt, ccshared = \
  File "/var/tmp/python2.3-2.3.3-root/usr/lib/python2.3/distutils/sysconfig.py",
line 472, in get_config_vars
  File "/var/tmp/python2.3-2.3.3-root/usr/lib/python2.3/distutils/sysconfig.py",
line 356, in _init_posix
distutils.errors.DistutilsPlatformError: invalid Python installation: unable
to open /usr/lib/python2.3/config/Makefile (No such file or directory) *

*checking for linking Python extensions... Traceback (most recent call
last):
  File "/opt/subversion-1.3.1/build/get-py-info.py", line 130, in ?
    print " ".join(link_options())
  File "/opt/subversion- 1.3.1/build/get-py-info.py", line 66, in
link_options
    options = sysconfig.get_config_var('LDSHARED').split()
  File "/var/tmp/python2.3-2.3.3-root/usr/lib/python2.3/distutils/sysconfig.py",
line 495, in get_config_var
  File "/var/tmp/python2.3-2.3.3-root/usr/lib/python2.3/distutils/sysconfig.py",
line 472, in get_config_vars
  File "/var/tmp/python2.3-2.3.3-root/usr/lib/python2.3/distutils/sysconfig.py",
line 356, in _init_posix
distutils.errors.DistutilsPlatformError: invalid Python installation: unable
to open /usr/lib/python2.3/config/Makefile (No such file or directory)*

*checking for linking Python libraries... Traceback (most recent call last):
  File "/opt/subversion-1.3.1/build/get-py-info.py", line 134, in ?
    print " ".join(lib_options())
  File "/opt/subversion- 1.3.1/build/get-py-info.py", line 111, in
lib_options
    link_command = link_options()
  File "/opt/subversion-1.3.1/build/get-py-info.py", line 66, in
link_options
    options = sysconfig.get_config_var ('LDSHARED').split()
  File "/var/tmp/python2.3-2.3.3-root/usr/lib/python2.3/distutils/sysconfig.py",
line 495, in get_config_var
  File "/var/tmp/python2.3-2.3.3-root/usr/lib/python2.3/distutils/sysconfig.py",
line 472, in get_config_vars
  File "/var/tmp/python2.3-2.3.3-root/usr/lib/python2.3/distutils/sysconfig.py",
line 356, in _init_posix
distutils.errors.DistutilsPlatformError: invalid Python installation: unable
to open /usr/lib/python2.3/config/Makefile (No such file or directory) *

*checking for apr_int64_t Python/C API format string... L
checking perl version... 5008000
checking for makeinfo... echo cannot run makeinfo
configure: creating ./config.status
config.status: creating Makefile
config.status: creating svn-config
config.status: creating tools/backup/hot-backup.py
config.status: creating contrib/client-side/svn_load_dirs.pl
config.status: creating contrib/client-side/svncopy.pl
config.status : creating contrib/client-side/testsvncopy.pl
config.status: creating tools/hook-scripts/commit-access-control.pl
config.status: creating tools/hook-scripts/commit-email.pl
config.status: creating tools/hook-scripts/propchange- email.pl
config.status: creating subversion/bindings/swig/perl/native/Makefile.PL
config.status: creating subversion/svn_private_config.h
config.status: subversion/svn_private_config.h is unchanged
config.status : executing mkdir-init commands
configure: WARNING: we have configured without BDB filesystem support*


*You don't seem to have Berkeley DB version 4.0.14 or newer
installed and linked to APR-UTIL.  We have created Makefiles which
will build without the Berkeley DB back-end; your repositories will
use FSFS as the default back-end.  You can find the latest version of
Berkeley DB here:
  **http://www.sleepycat.com/download/index.shtml*<http://www.sleepycat.com/download/index.shtml>
*root@AS-P01FE01* <ro...@AS-P01FE01>*: [ /opt/subversion-1.3.1 ]
#*


Thanks in advance
Sandip

Re[2]: Backup best practices?

Posted by "Fernando P. Nájera Cano" <su...@fernandonajera.com>.
Sorry, I press Reply and sent this to Ryan Schmidt only instead the
list.

------------------

Hi,

I'm quite interested in this thread. I've had some troubles recently
<http://svn.haxx.se/users/archive-2006-04/1014.shtml> and nobody has
answered yet, so now I feel my only hope is in the backups (and hope
to replace Windows with *nix as Subversion OS...)

RS> I'd recommend using svnadmin dump in a post-commit hook, to dump each
RS> revision as it happens, possibly in addition to the hotcopy you're  
RS> already doing. See this recent mail:

RS> http://svn.haxx.se/users/archive-2006-05/0509.shtml

RS> "The net result is that now I have a post-commit hook which dumps and
RS> backups a revision as soon as it is committed. I believe that any  
RS> other backup strategy for a SVN server (say, hotcopy once a day) is  
RS> basically useless."

I understand the email referenced above, and I'm now worried about my
hourly hotcopy, nigthly (put the hotcopied repo offline and zip it up)
and weekly (put the main repo offline and zip it up). Just a question
here, where do you dump each revision to? Email? Another dir in the
server?

Best regards,

Fernando Nájera

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Backup best practices?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 17, 2006, at 16:46, Grant Rettke wrote:

> We are running svn 1.3.1 on Windows XP Pro. We keep the server  
> running all the time. For backup, we do a hotcopy and then dump  
> that hotcopy to a file, and the compress the dump file. Based on  
> what we have read in the documentation, this seems to be the safest  
> approach.
>
> Is this the best way to do it?

I'd recommend using svnadmin dump in a post-commit hook, to dump each  
revision as it happens, possibly in addition to the hotcopy you're  
already doing. See this recent mail:

http://svn.haxx.se/users/archive-2006-05/0509.shtml

"The net result is that now I have a post-commit hook which dumps and  
backups a revision as soon as it is committed. I believe that any  
other backup strategy for a SVN server (say, hotcopy once a day) is  
basically useless."



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Backup best practices?

Posted by Grant Rettke <gr...@acm.org>.
Hi,

We are running svn 1.3.1 on Windows XP Pro. We keep the server running 
all the time. For backup, we do a hotcopy and then dump that hotcopy to 
a file, and the compress the dump file. Based on what we have read in 
the documentation, this seems to be the safest approach.

Is this the best way to do it?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: mod_dav_svn Plugin

Posted by Bradley Wagner <br...@hannonhill.com>.
I've asked this before with no real answer and the question is that  
when you compile Subversion with that option do the generated .so  
module files have the location of the subversion binaries hardcoded  
in? Because I've tried moving subversion installation after doing  
that and the modules no longer appear to work.

On May 17, 2006, at 2:11 PM, Jeb wrote:

> Make sure when you do the build you properly specify for the svn  
> built the APXS=path/to/apache/apxs
>
> Read the INSTALL  document included with the subversion source
>
> The  subversion build should create the module and copy it to the  
> appropriate place.
>
> Jeb
>
> Deepa Dave wrote:
>
>> Where can I find the mod_dav_svn plugin for installation on Linux for
>> Apache server setup?
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: mod_dav_svn Plugin

Posted by Jeb <je...@penske.com>.
Make sure when you do the build you properly specify for the svn built 
the APXS=path/to/apache/apxs

Read the INSTALL  document included with the subversion source

The  subversion build should create the module and copy it to the 
appropriate place.

Jeb

Deepa Dave wrote:

>Where can I find the mod_dav_svn plugin for installation on Linux for
>Apache server setup?
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

mod_dav_svn Plugin

Posted by Deepa Dave <dd...@goldstonetech.com>.
Where can I find the mod_dav_svn plugin for installation on Linux for
Apache server setup?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion installation.

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 5/16/06, Sandip Patel <sa...@gmail.com> wrote:
>
> Can any one help me with configuration of subversion
>
> while running ./configure, i got following. But i want to have mod_dav_svn.

Well, did you read the error message?  It says quite clearly that you
need to pass the --with-apxs argument to configure.

> Also I want to use plugin viewvc and which requies python, but i got
> follwoing error.

You get that sort of python error if you try to build on Ubuntu (or
debian I imagine) without the python-dev package installed.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org