You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Roland Bramm <ro...@butlers-djihad.de> on 2003/09/02 07:59:45 UTC

Cant get mod dav working on Macosx with new libsvn_fs version ...

Hi,

I have a long time svn_mod_dav running on my macosX server (since 
0.20) but i cant build a working version for the new repository 
version. I compiled it like the other versions with:
apache 2:
fink install db41
setenv CPPFLAGS "-I/sw/include/db4 -no-cpp-precomp"
./configure --prefix=/usr/opt/apache2.0.47 --enable-ssl 
--enable-maintainer-mode --enable-so --enable-dav --enable-deflate 
--with-dbm=db4 --with-berkeley-db=/sw --with-expat=/sw

and svn
fink install db41
setenv CPPFLAGS "-I/sw/include/db4 -no-cpp-precomp"
./configure --prefix=/usr/opt/subversionServer0.28.1 --with-neon=/sw 
--with-expat=/sw --with-apxs=/usr/opt/apache2.0.47/bin/apxs 
--enable-maintainer-mode 
--with-berkeley-db=/sw:/sw/include/db4:/sw/lib

I use all the librarys from the fink system, and to make sure the 
berekley db 4.1.25 is installed i just forced it again ...

when everything is compiled, configured and apache started i get only:

This XML file does not appear to have any style information 
associated with it. The document tree is shown below.
      
- <D:error>
	- <C:error/>
		<m:human-readable errcode="165005">
			Expected version '1' of repository; found version '2'
		</m:human-readable>
</D:error>

If i use the compiled commands, everything is working on my repos.

Thanks
Roland

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

Re: Cant get mod dav working on Macosx with new libsvn_fs version ...

Posted by Tobias Ringstrom <to...@ringstrom.mine.nu>.
Roland Bramm wrote:
>>>             Expected version '1' of repository; found version '2'

Ahh - I see now - I did not read it carefully enough. The repos is 
version 2, but the thing accessing it is version 1, i.e. an old subversion.

> I am sure that the apache does not have for some reason an old plugin, 
> because this is a completly new build (used 2.0.46 before)

If you are sure that you're talking to a new module, I think that it 
must be picking up old shared libraries or something, because it's the 
only way to explain what you see.

/Tobias


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

Re: Cant get mod dav working on Macosx with new libsvn_fs version ...

Posted by Jack Repenning <jr...@collab.net>.
At 11:23 AM +0200 9/2/03, Roland Bramm wrote:
>
>The Problem is that i exacly did this before. The repository is in 
>the new state. And the commands svn svnadmin, ... (which were of 
>course build with the svn_dav plugin) are working (crosschecked this 
>with older builds <28 and there i get the error message stated in 
>"http://svn.collab.net/repos/svn/trunk/notes/repos_upgrade_HOWTO") 
>with the repository (in the new version) only the svn_mod_dav does 
>not when i try to access the repository via a Webbrowser.
>I am sure that the apache does not have for some reason an old 
>plugin, because this is a completly new build (used 2.0.46 before)

Ah, but did you remove all your installed SVN libraries before you 
did this build?

apachectl stop
rm /usr/local/*svn*
rm /usr/local/apache2/modules/*svn*
fink ...


-- 
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835-8090

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

Re: Cant get mod dav working on Macosx with new libsvn_fs version ...

Posted by Roland Bramm <ro...@butlers-djihad.de>.
At 10:56 Uhr +0200 02.09.2003, Tobias Ringstrom wrote:
>Roland Bramm wrote:
>>This XML file does not appear to have any style information 
>>associated with it. The document tree is shown below.
>>      - <D:error>
>>     - <C:error/>
>>         <m:human-readable errcode="165005">
>>             Expected version '1' of repository; found version '2'
>>         </m:human-readable>
>></D:error>
>
>I don't know if you're supposed to get the error message in that way 
>or not, but it's clear from the message that you at least need to 
>perform a dump/load cycle of your repository (since the database 
>layout changed in 0.28). In short you need to perform a dump 
>("svnadmin dump") using an old (<0.28) subversion and then load the 
>dump ("svnadmin load") using a new subversion (>=0.28). This is 
>described in the release mail and the CHANGES file.

The Problem is that i exacly did this before. The repository is in 
the new state. And the commands svn svnadmin, ... (which were of 
course build with the svn_dav plugin) are working (crosschecked this 
with older builds <28 and there i get the error message stated in 
"http://svn.collab.net/repos/svn/trunk/notes/repos_upgrade_HOWTO") 
with the repository (in the new version) only the svn_mod_dav does 
not when i try to access the repository via a Webbrowser.
I am sure that the apache does not have for some reason an old 
plugin, because this is a completly new build (used 2.0.46 before)


>(Are you aware of the users list? No harm done, but it's a better 
>place to ask these kinds of questions.)

I am aware of the List but due to the fact that this seems not to be 
a usage error i didnt think the user list is appropriate. I just dont 
see any reason why the svn. svnadmin, ... is working with the new 
repos but the svn_dav module not. But apparently i didnt made this 
point clear enough ... so sorry for that.

thanks Roland

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

Re: Cant get mod dav working on Macosx with new libsvn_fs version ...

Posted by Tobias Ringstrom <to...@ringstrom.mine.nu>.
Roland Bramm wrote:
> This XML file does not appear to have any style information associated 
> with it. The document tree is shown below.
>      - <D:error>
>     - <C:error/>
>         <m:human-readable errcode="165005">
>             Expected version '1' of repository; found version '2'
>         </m:human-readable>
> </D:error>

I don't know if you're supposed to get the error message in that way or 
not, but it's clear from the message that you at least need to perform a 
dump/load cycle of your repository (since the database layout changed in 
0.28). In short you need to perform a dump ("svnadmin dump") using an 
old (<0.28) subversion and then load the dump ("svnadmin load") using a 
new subversion (>=0.28). This is described in the release mail and the 
CHANGES file.

(Are you aware of the users list? No harm done, but it's a better place 
to ask these kinds of questions.)

/Tobias


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