You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Patricia A Moss <pm...@csc.com> on 2009/04/08 11:56:45 UTC

Subversion 1.6 and Apache 2.2.11 problems

I am trying to get Subversion 1.6 built correctly.  I followed these 
steps:


httpd-2.2.11
 
Download httpd-2.2.11 
Unpack it (tar xvzf httpd-2.2.11.tar.gz)
cd httpd-2.2.11
./buildconf
./configure --enable-dav --enable-so --with-included-apr 
make
su root
make install
 
SVN
Download svn 1.6 from 
http://subversion.tigris.org/downloads/subversion-1.6.0.tar.gz
Unpack it (tar xvzf subversion-1.6.0.tar.gz)
cd subversion-1.6.0
rm –rf apr apr-utils
ln –s ../httpd-2.2.11/srclib/apr apr
ln –s ../httpd-2.2.11/srclib/apr-utils apr-utils
./autogen.sh
./configure --with-apr=/disk01/subversion-1.6.0/apr/ 
--with-apr-util=/disk01/subversion-1.6.0/apr-util/
make
make install

 I got as far as the make command in the subversion directory and received 
this error:
libtool: link: cannot find the library 
`/disk01/subversion-1.6.0/apr-util/libaprutil-1.la' or unhandled argument 
`/disk01/subversion-1.6.0/apr-util/libaprutil-1.la'
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1

I have been struggling with this for some time and can not figure out the 
correct way to get this configured with the right version of the APR 
libraries. Can someone please assist?  Thank you.

PATI MOSS
System Engineer Sr. Professional
CSC

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1595422

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Subversion 1.6 and Apache 2.2.11 problems

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 9, 2009, at 05:43, Patricia A Moss wrote:

> Ryan Schmidt wrote:
>
>> On Apr 9, 2009, at 05:25, Patricia A Moss wrote:
>>
>>> This may be a part of my problem.  Besides running a ./configure in
>>> the httpd-2.2.11 directory, do I also need to run a .configure in
>>> the httpd-2.2.11/srclib/apr and apr-util directories?
>>
>> I don't know if it works without doing this, but I configure, make
>> and make install apache2, apr, apr-util, expat, gettext, libiconv,
>> neon, openssl, pcre, serf and sqlite3 (or rather my package manager
>> does) before configuring subversion.
>
> OK.  I am doing this for apr and apr-util now.  Will I need to  
> reconfigure,make and make install httpd or just subversion?   
> Thanks,so much, for this help.

If httpd is already configured, made and installed, then you don't  
need to change that, and in fact, you must already have a copy of apr  
and apr-util installed, because httpd is using it, so you should find  
where those installed copies of apr-1-config and apu-1-config already  
are on your system and point subversion's configure script at them.  
It is important that the apr and apr-util that subversion uses are  
the same apr and apr-util that httpd uses, if you want them to play  
nicely together.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1612712

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Subversion 1.6 and Apache 2.2.11 problems

Posted by Patricia A Moss <pm...@csc.com>.
On Apr 9, 2009, at 05:25, Patricia A Moss wrote:

> This may be a part of my problem.  Besides running a ./configure in 
> the httpd-2.2.11 directory, do I also need to run a .configure in 
> the httpd-2.2.11/srclib/apr and apr-util directories?

>I don't know if it works without doing this, but I configure, make 
>and make install apache2, apr, apr-util, expat, gettext, libiconv, 
>neon, openssl, pcre, serf and sqlite3 (or rather my package manager 
>does) before configuring subversion.

OK.  I am doing this for apr and apr-util now.  Will I need to 
reconfigure,make and make install httpd or just subversion?  Thanks,so 
much, for this help.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1612639

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Subversion 1.6 and Apache 2.2.11 problems

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 9, 2009, at 05:25, Patricia A Moss wrote:

> This may be a part of my problem.  Besides running a ./configure in  
> the httpd-2.2.11 directory, do I also need to run a .configure in  
> the httpd-2.2.11/srclib/apr and apr-util directories?

I don't know if it works without doing this, but I configure, make  
and make install apache2, apr, apr-util, expat, gettext, libiconv,  
neon, openssl, pcre, serf and sqlite3 (or rather my package manager  
does) before configuring subversion.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1612585

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Subversion 1.6 and Apache 2.2.11 problems

Posted by Patricia A Moss <pm...@csc.com>.
Ryan Schmidt <su...@ryandesign.com> 
04/08/2009 08:49 PM

To
Chris Shelton <cs...@shelton-family.net>
cc
Patricia A Moss/GIS/CSC@CSC, users@subversion.tigris.org
Subject
Re: Subversion 1.6 and Apache 2.2.11 problems







On Apr 8, 2009, at 10:03, Chris Shelton wrote:

> On Wed, Apr 8, 2009 at 7:56 AM, Patricia A Moss wrote:
>
>> Download svn 1.6 from http://subversion.tigris.org/downloads/ 
>> subversion-1.6.0.tar.gz
>> Unpack it (tar xvzf subversion-1.6.0.tar.gz)
>> cd subversion-1.6.0
>> rm –rf apr apr-utils
>> ln –s ../httpd-2.2.11/srclib/apr apr
>> ln –s ../httpd-2.2.11/srclib/apr-utils apr-utils
>> ./autogen.sh
>> ./configure --with-apr=/disk01/subversion-1.6.0/apr/ --with-apr- 
>> util=/disk01/subversion-1.6.0/apr-util/
>
> Try fixing the path specified for --with-apr-util to match your ln
> command.  apr-utils != apr-util.  This might work better:
>
> ./configure --with-apr=/disk01/subversion-1.6.0/apr/
> --with-apr-util=/disk01/subversion-1.6.0/apr-utils/

Well, the software is called "apr-util", so calling it "apr-utils" is 
unusual. In my httpd-2.2.11/srclib folder, the directory is "apr- 
util", not "apr-utils".

Also, try pointing the --with-apr and --with-apr-util parameters at 
the path to the apr-1-config and apu-1-config scripts. You have 
already compiled and installed apr and apr-util, right?


It was a typo in my email.  The link is called apr-util.
This may be a part of my problem.  Besides running a ./configure in the 
httpd-2.2.11 directory, do I also need to run a .configure in the 
httpd-2.2.11/srclib/apr and apr-util directories?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1612455

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Subversion 1.6 and Apache 2.2.11 problems

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 8, 2009, at 10:03, Chris Shelton wrote:

> On Wed, Apr 8, 2009 at 7:56 AM, Patricia A Moss wrote:
>
>> Download svn 1.6 from http://subversion.tigris.org/downloads/ 
>> subversion-1.6.0.tar.gz
>> Unpack it (tar xvzf subversion-1.6.0.tar.gz)
>> cd subversion-1.6.0
>> rm –rf apr apr-utils
>> ln –s ../httpd-2.2.11/srclib/apr apr
>> ln –s ../httpd-2.2.11/srclib/apr-utils apr-utils
>> ./autogen.sh
>> ./configure --with-apr=/disk01/subversion-1.6.0/apr/ --with-apr- 
>> util=/disk01/subversion-1.6.0/apr-util/
>
> Try fixing the path specified for --with-apr-util to match your ln
> command.  apr-utils != apr-util.  This might work better:
>
> ./configure --with-apr=/disk01/subversion-1.6.0/apr/
> --with-apr-util=/disk01/subversion-1.6.0/apr-utils/

Well, the software is called "apr-util", so calling it "apr-utils" is  
unusual. In my httpd-2.2.11/srclib folder, the directory is "apr- 
util", not "apr-utils".

Also, try pointing the --with-apr and --with-apr-util parameters at  
the path to the apr-1-config and apu-1-config scripts. You have  
already compiled and installed apr and apr-util, right?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1605315

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Subversion 1.6 and Apache 2.2.11 problems

Posted by Chris Shelton <cs...@shelton-family.net>.
Pati,

On Wed, Apr 8, 2009 at 7:56 AM, Patricia A Moss <pm...@csc.com> wrote:
>
> Download svn 1.6 from http://subversion.tigris.org/downloads/subversion-1.6.0.tar.gz
> Unpack it (tar xvzf subversion-1.6.0.tar.gz)
> cd subversion-1.6.0
> rm –rf apr apr-utils
> ln –s ../httpd-2.2.11/srclib/apr apr
> ln –s ../httpd-2.2.11/srclib/apr-utils apr-utils
> ./autogen.sh
> ./configure --with-apr=/disk01/subversion-1.6.0/apr/ --with-apr-util=/disk01/subversion-1.6.0/apr-util/

Try fixing the path specified for --with-apr-util to match your ln
command.  apr-utils != apr-util.  This might work better:

./configure --with-apr=/disk01/subversion-1.6.0/apr/
--with-apr-util=/disk01/subversion-1.6.0/apr-utils/

chris

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1597865

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].