You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Glenn A. Thompson" <gt...@cdr.net> on 2002/02/28 21:12:33 UTC

newbie

Hi all:

I'm new to subversion and very excited about it.

My Subversion test/learning box is running SuSE 7.3.
I have Apache 2.0.32 up and running with ssl.  All seems well there so
far. (I've never run 2.0 before.)

I read through the install and proceeded to bootstrap with r1302.  All
went well.
Then I did a check out and grabbed the latest code.  I also grabbed apr
stuff from cvs. and neon 19.2
I had a little problem with building apr under my new tree.  I did
something wrong I forget what.  But I got past it with a little
thinking.

Here's where I'm reaching an impass:

I noticed that the INSTALL file recommends building static for clients
and dynamic for server.
So I attempted to do what is suggested under "C.  Building under Unix in
Different Directories".
I created a svrObj and a clntObj directory.
I did the configure and a static build with ssl under clntObj. I didn't
do a make install. I then used the new 'svn' binary to update and did
another make. Cool. (I wanted to pick up the dup-string change)
Next, I tried to build a dynamic version for installing a server.
I did the configure and a dynamic build with ssl under svrObj. Cool.
I try a make install.  Buurrp. It can't find apr.exp.  I found it under
the source directory so I copy it under my  svrObj.
Still can't find it.  It appears to delete it.

At this point I'm asking for advice as to the best way to proceed.
Should I use the apr version built under Apache2?
If not, will using a different version of the apr for Apache and
subversion builds cause me problems?
If not, is this an install bug that I should attempt to research? Or am
I simply using the build system incorrectly?

Thanks,
Glenn Thompson
gthompson@cdr.net



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

Re: newbie

Posted by "Glenn A. Thompson" <gt...@cdr.net>.

Thom May wrote:

> * Glenn A. Thompson (gthompson@cdr.net) wrote :
> >
> >
> > Philip Martin wrote:
> >
> >
> > Thanks,
> >
> > I think I'll try to grab a whole new source dir and try it again.  I did have
> > a problem building apr which I can't remember what I did to fix the problem.
> > I think I ran a ./buildconf as per README.dev in the apr source tree.
> >
> > Should I make sure that Apache and subversion are both using the same version
> > of the apr?
> >
> yes, that's a must. (for running a server, anyway)
> -Thom

Thanks Will do!

>
>
> ---------------------------------------------------------------------
> 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: newbie

Posted by Thom May <th...@planetarytramp.net>.
* Glenn A. Thompson (gthompson@cdr.net) wrote :
> 
> 
> Philip Martin wrote:
> 
> 
> Thanks,
> 
> I think I'll try to grab a whole new source dir and try it again.  I did have
> a problem building apr which I can't remember what I did to fix the problem.
> I think I ran a ./buildconf as per README.dev in the apr source tree.
> 
> Should I make sure that Apache and subversion are both using the same version
> of the apr?
> 
yes, that's a must. (for running a server, anyway)
-Thom

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

Re: newbie

Posted by "Glenn A. Thompson" <gt...@cdr.net>.

Philip Martin wrote:

> "Glenn A. Thompson" <gt...@cdr.net> writes:
>
> > I noticed that the INSTALL file recommends building static for clients
> > and dynamic for server.
>
> I think the INSTALL file recommends a static client for the initial
> tarball build simply because this is the way the tarball gets
> tested. The tarball build is just a way to provide a client to
> checkout a current version of the Subversion code. The intention is
> that a dynamic client will work. I use a dynamic client most of the
> time.

OK

>
>
> > So I attempted to do what is suggested under "C.  Building under Unix in
> > Different Directories".
> > I created a svrObj and a clntObj directory.
> > I did the configure and a static build with ssl under clntObj. I didn't
> > do a make install. I then used the new 'svn' binary to update and did
> > another make. Cool. (I wanted to pick up the dup-string change)
> > Next, I tried to build a dynamic version for installing a server.
> > I did the configure and a dynamic build with ssl under svrObj. Cool.
> > I try a make install.  Buurrp. It can't find apr.exp.  I found it under
> > the source directory so I copy it under my  svrObj.
>
> It sounds like apr didn't get built when you built svrObj. Do you
> object files under svrObj/apr (e.g. svrObj/apr/misc/unix/start.o)?
>

Yes

>
> Did you build in the source directory at any stage? If you did then
> this tends to disrupt the builddir != srcdir builds. If you did build
> in the source dir, then it is best to run 'make clean' in the source
> dir before attempting to build with builddir != srcdir.
>

Yes I did.  But I did do a make clean when I decided to try separate build
dirs.

>
> --
> Philip

Thanks,

I think I'll try to grab a whole new source dir and try it again.  I did have
a problem building apr which I can't remember what I did to fix the problem.
I think I ran a ./buildconf as per README.dev in the apr source tree.

Should I make sure that Apache and subversion are both using the same version
of the apr?


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

Re: newbie

Posted by Philip Martin <ph...@codematters.co.uk>.
"Glenn A. Thompson" <gt...@cdr.net> writes:

> I noticed that the INSTALL file recommends building static for clients
> and dynamic for server.

I think the INSTALL file recommends a static client for the initial
tarball build simply because this is the way the tarball gets
tested. The tarball build is just a way to provide a client to
checkout a current version of the Subversion code. The intention is
that a dynamic client will work. I use a dynamic client most of the
time.

> So I attempted to do what is suggested under "C.  Building under Unix in
> Different Directories".
> I created a svrObj and a clntObj directory.
> I did the configure and a static build with ssl under clntObj. I didn't
> do a make install. I then used the new 'svn' binary to update and did
> another make. Cool. (I wanted to pick up the dup-string change)
> Next, I tried to build a dynamic version for installing a server.
> I did the configure and a dynamic build with ssl under svrObj. Cool.
> I try a make install.  Buurrp. It can't find apr.exp.  I found it under
> the source directory so I copy it under my  svrObj.

It sounds like apr didn't get built when you built svrObj. Do you
object files under svrObj/apr (e.g. svrObj/apr/misc/unix/start.o)?

Did you build in the source directory at any stage? If you did then
this tends to disrupt the builddir != srcdir builds. If you did build
in the source dir, then it is best to run 'make clean' in the source
dir before attempting to build with builddir != srcdir.

-- 
Philip

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