You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Julian Fitzell <jf...@home.com> on 2001/09/19 06:16:10 UTC

compiling the mod_dav_svn

Hi,

Has anyone got mod_dav_svn compiling on RedHat (specifically 7.0) ?

I posted some time ago about the problems I was having (something to do
with an incorrect number of parameters to db_open() or something).  No one
was able to provide a solution then so I just waited a while and the
problem continued.
Then today I checked out a new Apache, a new APR and a new Subversion and
tried
again. 

This time, I get the following:

subversion/mod_dav_svn/deadprops.c:107: parse error before `dav_datum'
subversion/mod_dav_svn/deadprops.c:109: warning: function declaration isn't
a prototype
subversion/mod_dav_svn/deadprops.c: In function `dav_svn_db_fetch':
subversion/mod_dav_svn/deadprops.c:110: `key' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c:110: (Each undeclared identifier is
reported only once
subversion/mod_dav_svn/deadprops.c:110: for each function it appears in.)
subversion/mod_dav_svn/deadprops.c:117: `pvalue' undeclared (first use in
this function)
subversion/mod_dav_svn/deadprops.c:123: `db' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c: At top level:
subversion/mod_dav_svn/deadprops.c:167: parse error before `dav_datum'
subversion/mod_dav_svn/deadprops.c:168: warning: function declaration isn't
a prototype
subversion/mod_dav_svn/deadprops.c: In function `dav_svn_db_store':
subversion/mod_dav_svn/deadprops.c:169: `key' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c:170: `value' undeclared (first use in
this function)
subversion/mod_dav_svn/deadprops.c:181: `db' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c: At top level:
subversion/mod_dav_svn/deadprops.c:213: parse error before `dav_datum'
subversion/mod_dav_svn/deadprops.c:214: warning: function declaration isn't
a prototype
subversion/mod_dav_svn/deadprops.c: In function `dav_svn_db_remove':
subversion/mod_dav_svn/deadprops.c:215: `key' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c:221: `db' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c: At top level:
subversion/mod_dav_svn/deadprops.c:241: parse error before `dav_datum'
subversion/mod_dav_svn/deadprops.c:242: warning: function declaration isn't
a prototype
subversion/mod_dav_svn/deadprops.c: In function `dav_svn_db_exists':
subversion/mod_dav_svn/deadprops.c:243: `key' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c:248: `db' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c: At top level:
subversion/mod_dav_svn/deadprops.c:269: parse error before `dav_datum'
subversion/mod_dav_svn/deadprops.c:271: warning: function declaration isn't
a prototype
subversion/mod_dav_svn/deadprops.c: In function `get_key':
subversion/mod_dav_svn/deadprops.c:272: `hi' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c:274: `pkey' undeclared (first use in
this function)
subversion/mod_dav_svn/deadprops.c:290: `db' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c: At top level:
subversion/mod_dav_svn/deadprops.c:303: parse error before `dav_datum'
subversion/mod_dav_svn/deadprops.c:304: warning: function declaration isn't
a prototype
subversion/mod_dav_svn/deadprops.c: In function `dav_svn_db_firstkey':
subversion/mod_dav_svn/deadprops.c:306: `db' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c:332: `pkey' undeclared (first use in
this function)
subversion/mod_dav_svn/deadprops.c: At top level:
subversion/mod_dav_svn/deadprops.c:337: parse error before `dav_datum'
subversion/mod_dav_svn/deadprops.c:338: warning: function declaration isn't
a prototype
subversion/mod_dav_svn/deadprops.c: In function `dav_svn_db_nextkey':
subversion/mod_dav_svn/deadprops.c:340: `db' undeclared (first use in this
function)
subversion/mod_dav_svn/deadprops.c:344: `pkey' undeclared (first use in
this function)
subversion/mod_dav_svn/deadprops.c: At top level:
subversion/mod_dav_svn/deadprops.c:349: parse error before `dav_datum'
subversion/mod_dav_svn/deadprops.c:350: warning: function declaration isn't
a prototype
subversion/mod_dav_svn/deadprops.c:360: warning: initialization from
incompatible pointer type
subversion/mod_dav_svn/deadprops.c:362: warning: initialization from
incompatible pointer type
subversion/mod_dav_svn/deadprops.c:364: warning: initialization from
incompatible pointer type
make: *** [subversion/mod_dav_svn/deadprops.lo] Error 1


I tried compiling both Subversion and Apache with and without
--enable-maintainer-mode with no luck

My most recent configure line for Subversion was:
./configure  --with-apxs=/usr/local/apache2/bin/apxs

and for Apache:
./configure  --enable-dav --enable-so --prefix=/usr/local/apache2

I followed the instructions in notes/dav_setup.txt to this point...

can anyone offer any help?

Julian


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

Re: compiling the mod_dav_svn

Posted by Joe Orton <jo...@manyfish.co.uk>.
Hi,

On Tue, Sep 18, 2001 at 11:16:10PM -0700, Julian Fitzell wrote:
> Has anyone got mod_dav_svn compiling on RedHat (specifically 7.0) ?
> 
> I posted some time ago about the problems I was having (something to do
> with an incorrect number of parameters to db_open() or something).  No one
> was able to provide a solution then so I just waited a while and the
> problem continued.
> Then today I checked out a new Apache, a new APR and a new Subversion and
> tried
> again. 

There were recently some API changes in Apache which mod_dav_svn hasn't
caught up with yet. You could try an Apache checkout from a few days
ago, e.g.

   cvs co -D 2001-09-16 httpd-2.0

this is more likely to succeed!

Regards,

joe

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

Re: compiling the mod_dav_svn

Posted by Julian Fitzell <ju...@beta4.com>.
Well, it compiled and I've got apache running... now I just gotta figure out how to get it all configured and create a repos and stuff but that'll have to wait until tomorrow given the current time...  thanks for your help.

Julian


On 19/09/2001 at 2:47 AM Greg Stein wrote:

>On Tue, Sep 18, 2001 at 11:16:10PM -0700, Julian Fitzell wrote:
>> Hi,
>> 
>> Has anyone got mod_dav_svn compiling on RedHat (specifically 7.0) ?
>
>It isn't going to work right now...
>
>> I posted some time ago about the problems I was having (something to do
>> with an incorrect number of parameters to db_open() or something).  No
>one
>
>I don't recall that post. When was that? (I was out in July) And we don't
>call db_open directly from mod_dav_svn.
>
>In any case, it should (normally) not be a problem, but...
>
>> was able to provide a solution then so I just waited a while and the
>> problem continued.
>> Then today I checked out a new Apache, a new APR and a new Subversion and
>> tried
>> again.
>
>I revamped the mod_dav interface (in Apache) yesterday. Working on
>mod_dav_svn today and should have something checked in tonite. Until that
>time, you'll need to pull a slightly older Apache, or wait until you see my
>checkin for mod_dav_svn.
>
>Cheers,
>-g
>
>-- 
>Greg Stein, http://www.lyra.org/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: dev-help@subversion.tigris.org




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

Re: compiling the mod_dav_svn

Posted by Greg Stein <gs...@lyra.org>.
On Tue, Sep 18, 2001 at 11:16:10PM -0700, Julian Fitzell wrote:
> Hi,
> 
> Has anyone got mod_dav_svn compiling on RedHat (specifically 7.0) ?

It isn't going to work right now...

> I posted some time ago about the problems I was having (something to do
> with an incorrect number of parameters to db_open() or something).  No one

I don't recall that post. When was that? (I was out in July) And we don't
call db_open directly from mod_dav_svn.

In any case, it should (normally) not be a problem, but...

> was able to provide a solution then so I just waited a while and the
> problem continued.
> Then today I checked out a new Apache, a new APR and a new Subversion and
> tried
> again.

I revamped the mod_dav interface (in Apache) yesterday. Working on
mod_dav_svn today and should have something checked in tonite. Until that
time, you'll need to pull a slightly older Apache, or wait until you see my
checkin for mod_dav_svn.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

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