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/02 19:02:30 UTC

Install troubles with version 1.6

I checked out the most recent source code from:
svn checkout http://svn.collab.net/repos/svn/trunk subversion
I then ran the command: sh ./autogen.sh
Then I ran ./configure.
The configure spit out the following messages:
checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'

So I performed the following; within my subversion, top-level, directory:
svn co \
    http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x \
    apr

svn co \
    http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x \
    apr-util

Then I went into each subdirectory and ran the buildconf script
#cd apr
# ./buildconf
# cd ..
#cd apr-util
# ./buildconf
Then ran the ./configure again and got the following errors:
# ./configure --with-apr=/disk01/subversion/apr/build/ 
--with-apr-util=/disk01/subversion/apr-util/
configure: Configuring Subversion 1.7.0
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
./configure: line 3003: AC_PROG_SED: command not found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for egrep... grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... configure: error: the --with-apr parameter is 
incorrect. It 
must specify an install prefix, a build directory, or an apr-config file.

I don't know how to rectify the ./configure error so that I can get a 
clean compile.
Can someone shed light?  Thanks

PATI MOSS
System Engineer Sr. Professional
CSC

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

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

Re: Install troubles with version 1.6

Posted by Tom Browder <to...@gmail.com>.
On Tue, Apr 7, 2009 at 7:41 AM, Patricia A Moss <pm...@csc.com> wrote:
>
> HTTP.  After I enter my login credentials I get a screen that shows the

Sorry I can't help--I've only used "svn+ssh".

-Tom

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

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


Re: Install troubles with version 1.6

Posted by Tyler Roscoe <ty...@cryptio.net>.
lol.

tyler

p.s. http://www.google.com/search?q=top+posting

On Tue, Apr 07, 2009 at 11:20:22AM -0400, Patricia A Moss wrote:
> What is top posting?
> 
> 
> PATI MOSS
> System Engineer Sr. Professional
> CSC
> 
> 
> 
> 
> 
> Andrey Repin <an...@freemail.ru> 
> 04/07/2009 10:29 AM
> Please respond to
> Andrey Repin <us...@subversion.tigris.org>
> 
> 
> To
> Patricia A Moss/GIS/CSC@CSC, Patricia A Moss <us...@subversion.tigris.org>
> cc
> 
> And please stop from top-posting. It's hard to follow conversation. 
> Thanks.

Re: Install troubles with version 1.6

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Patricia A Moss!

>>> It looks like the issue is the fact that svn and apache are seeing 2
>>> different versions.  Can I rebuild subversion, as I did originally or is 
> 
>>> there something else that I need to do to undo my original configure?
> 
>> You need to copy the right modules to Apache directory (or check the paths
>> from which it loading svn modules, to point them to correct versions)


> Audrey - How do I do either of these?  I followed the build instructions 
> that someone posted here.  I am not sure what steps I am missing.

Unsure about the way you can use to check installed/loaded Apache module versions.
You better consult with documentation.

> Does this help with anything?  This is what I receive when I just tried to
> restart httpd.
> # service httpd restart
> Stopping httpd:                                            [  OK  ]
> Starting httpd: httpd: Syntax error on line 206 of 
> /etc/httpd/conf/httpd.conf: Cannot load 
> /usr/lib/httpd/modules/mod_dav_svn.so into server: 
> /usr/local/lib/libsvn_subr-1.so.0: undefined symbol: apr_hash_clear
>                                                            [FAILED]

To some extent. It's indicating that mod_dav_svn.so and libraries it
trying to load do not match eachother.
But i'm no pro at recompiling Apache/APR, so I refrain from guess.
Better wait for someone else to look at error text and suggest some steps for
possible fix.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 07.04.2009, <20:21>

Sorry for my terrible english...

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

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

Re: Install troubles with version 1.6

Posted by Patricia A Moss <pm...@csc.com>.
Andrey Repin <an...@freemail.ru> 
04/07/2009 10:29 AM
Please respond to
Andrey Repin <us...@subversion.tigris.org>


To
Patricia A Moss/GIS/CSC@CSC, Patricia A Moss <us...@subversion.tigris.org>
cc

Subject
Re: Install troubles with version 1.6






Greetings, Patricia A Moss!

> It looks like the issue is the fact that svn and apache are seeing 2 
> different versions.  Can I rebuild subversion, as I did originally or is 

> there something else that I need to do to undo my original configure?

You need to copy the right modules to Apache directory (or check the paths
from which it loading svn modules, to point them to correct versions)

And please stop from top-posting. It's hard to follow conversation. 
Thanks.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 07.04.2009, <18:27>

Sorry for my terrible english...


Audrey - How do I do either of these?  I followed the build instructions 
that someone posted here.  I am not sure what steps I am missing.

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

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

RE: Install troubles with version 1.6

Posted by Bob Archer <bo...@amsi.com>.
> > What is top posting?
> 
> Top-posting is what you doing, actually. Writing your reply over the
> quoted conversation.

Then there are those that don't top post, but also don't judiciously
quote which is just as annoying. I don't like to have to fish through
300 lines of a message to see one or two lines of reply inserted in it.
Just leave a bit of the quoted message to keep the thread. I can always
go back to the previous messages if I need to.

BOb

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

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


Re: Install troubles with version 1.6

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Patricia A Moss!

> What is top posting?

Top-posting is what you doing, actually. Writing your reply over the
quoted conversation.

P.S.
A moment of poetry:

to the bottom !
from the top
to read
it's easier
Because


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 07.04.2009, <19:48>

Sorry for my terrible english...

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

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

RE: Install troubles with version 1.6

Posted by Tony Sweeney <ts...@omnifone.com>.
By default, Microsoft Outlook starts a reply with the cursor _above_ the
text of the email being replied to, like this sentence here.

 

________________________________

From: Patricia A Moss [mailto:pmoss4@csc.com] 
Sent: 07 April 2009 16:20
To: users@subversion.tigris.org
Subject: Re: Install troubles with version 1.6

 


What is top posting? 



It's considered good form on mailing lists to reply _after_ the point
you are replying to, like this. It's actually spelled out in the
"Mailing List Etiquette" section of this page here
<http://subversion.tigris.org/mailing-lists.html> , which you most
likely visited when you first subscribed.

 

Tony.



PATI MOSS
System Engineer Sr. Professional
CSC





Andrey Repin <an...@freemail.ru> 

04/07/2009 10:29 AM 

Please respond to
Andrey Repin <us...@subversion.tigris.org>

To

Patricia A Moss/GIS/CSC@CSC, Patricia A Moss
<us...@subversion.tigris.org> 

cc

 

Subject

Re: Install troubles with version 1.6

 

 

 




Greetings, Patricia A Moss!

> It looks like the issue is the fact that svn and apache are seeing 2 
> different versions.  Can I rebuild subversion, as I did originally or
is 
> there something else that I need to do to undo my original configure?

You need to copy the right modules to Apache directory (or check the
paths
from which it loading svn modules, to point them to correct versions)

And please stop from top-posting. It's hard to follow conversation.
Thanks.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 07.04.2009, <18:27>

Sorry for my terrible english...



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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

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

Re: Install troubles with version 1.6

Posted by Patricia A Moss <pm...@csc.com>.
What is top posting?


PATI MOSS
System Engineer Sr. Professional
CSC





Andrey Repin <an...@freemail.ru> 
04/07/2009 10:29 AM
Please respond to
Andrey Repin <us...@subversion.tigris.org>


To
Patricia A Moss/GIS/CSC@CSC, Patricia A Moss <us...@subversion.tigris.org>
cc

Subject
Re: Install troubles with version 1.6






Greetings, Patricia A Moss!

> It looks like the issue is the fact that svn and apache are seeing 2 
> different versions.  Can I rebuild subversion, as I did originally or is 

> there something else that I need to do to undo my original configure?

You need to copy the right modules to Apache directory (or check the paths
from which it loading svn modules, to point them to correct versions)

And please stop from top-posting. It's hard to follow conversation. 
Thanks.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 07.04.2009, <18:27>

Sorry for my terrible english...

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

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

Re: Install troubles with version 1.6

Posted by Patricia A Moss <pm...@csc.com>.
Andrey Repin <an...@freemail.ru> 
04/07/2009 10:29 AM
Please respond to
Andrey Repin <us...@subversion.tigris.org>


To
Patricia A Moss/GIS/CSC@CSC, Patricia A Moss <us...@subversion.tigris.org>
cc

Subject
Re: Install troubles with version 1.6






Greetings, Patricia A Moss!

> It looks like the issue is the fact that svn and apache are seeing 2 
> different versions.  Can I rebuild subversion, as I did originally or is 

> there something else that I need to do to undo my original configure?

You need to copy the right modules to Apache directory (or check the paths
from which it loading svn modules, to point them to correct versions)

And please stop from top-posting. It's hard to follow conversation. 
Thanks.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 07.04.2009, <18:27>

Sorry for my terrible english...


Does this help with anything?  This is what I receive when I just tried to 
restart httpd.
# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Syntax error on line 206 of 
/etc/httpd/conf/httpd.conf: Cannot load 
/usr/lib/httpd/modules/mod_dav_svn.so into server: 
/usr/local/lib/libsvn_subr-1.so.0: undefined symbol: apr_hash_clear
                                                           [FAILED]

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

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

Re: Install troubles with version 1.6

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Patricia A Moss!

> It looks like the issue is the fact that svn and apache are seeing 2 
> different versions.  Can I rebuild subversion, as I did originally or is 
> there something else that I need to do to undo my original configure?

You need to copy the right modules to Apache directory (or check the paths
from which it loading svn modules, to point them to correct versions)

And please stop from top-posting. It's hard to follow conversation. Thanks.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 07.04.2009, <18:27>

Sorry for my terrible english...

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

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

Re: Install troubles with version 1.6

Posted by Patricia A Moss <pm...@csc.com>.
It looks like the issue is the fact that svn and apache are seeing 2 
different versions.  Can I rebuild subversion, as I did originally or is 
there something else that I need to do to undo my original configure?


PATI MOSS
System Engineer Sr. Professional
CSC





Tom Browder <to...@gmail.com> 
04/07/2009 08:25 AM

To
Patricia A Moss/GIS/CSC@CSC
cc
Ed <SV...@0x1b.com>, Andrea Antonio Maleci <A....@iwbank.it>, 
ed.0x1b@gmail.com, users@subversion.tigris.org
Subject
Re: Install troubles with version 1.6






On Tue, Apr 7, 2009 at 6:04 AM, Patricia A Moss <pm...@csc.com> wrote:
>
> I believe that I have been successful in getting subversion installed 
and
> setup.  I am, however, now having an issue with LDAP permission's. 
 Could
> this problem be related to what you are referencing?

What kind of access method are you using: http, svn+ssh, or?

-Tom

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

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

RE: Install troubles with version 1.6

Posted by Patricia A Moss <pm...@csc.com>.
Everything in that directory has the date of January 21st. When I do an 
'httpd -version" it tells me that it is version 2.2;
# httpd -version
Server version: Apache/2.2.3
Server built:   Jan 21 2009 22:01:41
So I think that the libraries are the right ones.

I thought that the make went smoothly.  There weren't any errors at the 
end.

I did find some info on the web that seems to point to an issue with httpd 
and svn using different versions of APR.  But it doesn't tell me how to 
confirm this OR how to fix it.


PATI MOSS
System Engineer Sr. Professional
CSC




Andrea Antonio Maleci <A....@iwbank.it> 
04/07/2009 09:36 AM

To
Patricia A Moss/GIS/CSC@CSC, Tom Browder <to...@gmail.com>
cc
"ed.0x1b@gmail.com" <ed...@gmail.com>, Ed <SV...@0x1b.com>, 
"users@subversion.tigris.org" <us...@subversion.tigris.org>
Subject
RE: Install troubles with version 1.6






Patricia,
It seems that you are using an older mod_dav_svn.
Look at /usr/lib/httpd/modules/mod_dav_svn.so: it has date/time of your 
SVN build ?
Everything worked right during SVN make install ?
 
 

From: Patricia A Moss [mailto:pmoss4@csc.com] 
Sent: martedì 7 aprile 2009 14.41
To: Tom Browder
Cc: Andrea Antonio Maleci; ed.0x1b@gmail.com; Ed; 
users@subversion.tigris.org
Subject: Re: Install troubles with version 1.6
 

HTTP.  After I enter my login credentials I get a screen that shows the 
error message: "Could not open the requested SVN filesystem". 
The httpd error_log shows: 
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] (20014)Internal 
error: Expected FS format '2'; found format '4' 
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] Could not fetch 
resource information.  [500, #0] 
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] Could not open the 
requested SVN filesystem  [500, #160043] 
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] Could not open the 
requested SVN filesystem  [500, #160043] 

PATI MOSS
System Engineer Sr. Professional
CSC




Tom Browder <to...@gmail.com> 
04/07/2009 08:25 AM 


To
Patricia A Moss/GIS/CSC@CSC 
cc
Ed <SV...@0x1b.com>, Andrea Antonio Maleci <A....@iwbank.it>, 
ed.0x1b@gmail.com, users@subversion.tigris.org 
Subject
Re: Install troubles with version 1.6
 


 
 




On Tue, Apr 7, 2009 at 6:04 AM, Patricia A Moss <pm...@csc.com> wrote:
>
> I believe that I have been successful in getting subversion installed 
and
> setup.  I am, however, now having an issue with LDAP permission's. Could
> this problem be related to what you are referencing?

What kind of access method are you using: http, svn+ssh, or?

-Tom

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

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

RE: Install troubles with version 1.6

Posted by Andrea Antonio Maleci <A....@iwbank.it>.
Patricia,
It seems that you are using an older mod_dav_svn.
Look at /usr/lib/httpd/modules/mod_dav_svn.so: it has date/time of your SVN build ?
Everything worked right during SVN make install ?


________________________________
From: Patricia A Moss [mailto:pmoss4@csc.com]
Sent: martedì 7 aprile 2009 14.41
To: Tom Browder
Cc: Andrea Antonio Maleci; ed.0x1b@gmail.com; Ed; users@subversion.tigris.org
Subject: Re: Install troubles with version 1.6


HTTP.  After I enter my login credentials I get a screen that shows the error message: "Could not open the requested SVN filesystem".
The httpd error_log shows:
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] (20014)Internal error: Expected FS format '2'; found format '4'
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] Could not fetch resource information.  [500, #0]
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] Could not open the requested SVN filesystem  [500, #160043]
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] Could not open the requested SVN filesystem  [500, #160043]

PATI MOSS
System Engineer Sr. Professional
CSC



Tom Browder <to...@gmail.com>

04/07/2009 08:25 AM

To

Patricia A Moss/GIS/CSC@CSC

cc

Ed <SV...@0x1b.com>, Andrea Antonio Maleci <A....@iwbank.it>, ed.0x1b@gmail.com, users@subversion.tigris.org

Subject

Re: Install troubles with version 1.6










On Tue, Apr 7, 2009 at 6:04 AM, Patricia A Moss <pm...@csc.com> wrote:
>
> I believe that I have been successful in getting subversion installed and
> setup.  I am, however, now having an issue with LDAP permission's.  Could
> this problem be related to what you are referencing?

What kind of access method are you using: http, svn+ssh, or?

-Tom

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

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

Re: Install troubles with version 1.6

Posted by Patricia A Moss <pm...@csc.com>.
HTTP.  After I enter my login credentials I get a screen that shows the 
error message: "Could not open the requested SVN filesystem".
The httpd error_log shows:
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] (20014)Internal 
error: Expected FS format '2'; found format '4'
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] Could not fetch 
resource information.  [500, #0]
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] Could not open the 
requested SVN filesystem  [500, #160043]
[Tue Apr 07 08:40:24 2009] [error] [client 20.6.25.52] Could not open the 
requested SVN filesystem  [500, #160043]

PATI MOSS
System Engineer Sr. Professional
CSC





Tom Browder <to...@gmail.com> 
04/07/2009 08:25 AM

To
Patricia A Moss/GIS/CSC@CSC
cc
Ed <SV...@0x1b.com>, Andrea Antonio Maleci <A....@iwbank.it>, 
ed.0x1b@gmail.com, users@subversion.tigris.org
Subject
Re: Install troubles with version 1.6






On Tue, Apr 7, 2009 at 6:04 AM, Patricia A Moss <pm...@csc.com> wrote:
>
> I believe that I have been successful in getting subversion installed 
and
> setup.  I am, however, now having an issue with LDAP permission's. 
 Could
> this problem be related to what you are referencing?

What kind of access method are you using: http, svn+ssh, or?

-Tom

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

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

Re: Install troubles with version 1.6

Posted by Tom Browder <to...@gmail.com>.
On Tue, Apr 7, 2009 at 6:04 AM, Patricia A Moss <pm...@csc.com> wrote:
>
> I believe that I have been successful in getting subversion installed and
> setup.  I am, however, now having an issue with LDAP permission's.  Could
> this problem be related to what you are referencing?

What kind of access method are you using: http, svn+ssh, or?

-Tom

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

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


Re: Install troubles with version 1.6

Posted by Patricia A Moss <pm...@csc.com>.
I believe that I have been successful in getting subversion installed and 
setup.  I am, however, now having an issue with LDAP permission's.  Could 
this problem be related to what you are referencing?
I can access the test repository, that I created. I can log in to the 
repo, but then I get an error saying that I do not have permission's to 
access the repository.


PATI MOSS
System Engineer Sr. Professional
CSC





Ed <SV...@0x1b.com> 
Sent by: ed.0x1b@gmail.com
04/06/2009 08:39 PM

To
Tom Browder <to...@gmail.com>
cc
Andrea Antonio Maleci <A....@iwbank.it>, Patricia A Moss/GIS/CSC@CSC, 
users@subversion.tigris.org
Subject
Re: Install troubles with version 1.6






On Fri, Apr 3, 2009 at 5:21 PM, Tom Browder <to...@gmail.com> wrote:
> On Fri, Apr 3, 2009 at 6:00 AM, Andrea Antonio Maleci
> <A....@iwbank.it> wrote:
>> Hi Patricia,
> ...
>> I don't know how to rectify the ./configure error so that I can get a 
clean
>> compile.
>> Can someone shed light?  Thanks
>
> I believe the subversion configuration system is not very robust.  Try
> to download and separately install apr and apr-util.  They use a
> special configuration configuration script that does the same function
> as pkg-config.
>
> In any case, try to find 'apr-1-config' and 'apu-1-config' on your 
system:
>
>  `which apr-1-config`
>  `which apu-1-config'
>
> Assuming both are found try:
>
>  ./configure --with-apr=`which apr-1-config` --with-apr-util=`which
> apu-1-config`
>
> Note those are backward quotes surrounding `which ap[ru]-1-config`.
>
> -Tom
>

Take care that the httpd/apr/apr-util etc use the same dependencies as
Subversion - mixed versions of the Berkeley db, for example, are a
pain to figure out the first time..
if you are compiling httpd yourself, the svn-deps package isn't needed
- either satisfy the dependencies yourself or use the svn-deps
tarball, but don't do both because you will get a bad case of
tanglfoot.

^Ed

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

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

Re: Install troubles with version 1.6

Posted by Ed <SV...@0x1b.com>.
On Fri, Apr 3, 2009 at 5:21 PM, Tom Browder <to...@gmail.com> wrote:
> On Fri, Apr 3, 2009 at 6:00 AM, Andrea Antonio Maleci
> <A....@iwbank.it> wrote:
>> Hi Patricia,
> ...
>> I don't know how to rectify the ./configure error so that I can get a clean
>> compile.
>> Can someone shed light?  Thanks
>
> I believe the subversion configuration system is not very robust.  Try
> to download and separately install apr and apr-util.  They use a
> special configuration configuration script that does the same function
> as pkg-config.
>
> In any case, try to find 'apr-1-config' and 'apu-1-config' on your system:
>
>  `which apr-1-config`
>  `which apu-1-config'
>
> Assuming both are found try:
>
>  ./configure --with-apr=`which apr-1-config` --with-apr-util=`which
> apu-1-config`
>
> Note those are backward quotes surrounding `which ap[ru]-1-config`.
>
> -Tom
>

Take care that the httpd/apr/apr-util etc use the same dependencies as
Subversion - mixed versions of the Berkeley db, for example, are a
pain to figure out the first time..
if you are compiling httpd yourself, the svn-deps package isn't needed
- either satisfy the dependencies yourself or use the svn-deps
tarball, but don't do both because you will get a bad case of
tanglfoot.

^Ed

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

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


Re: Install troubles with version 1.6

Posted by Tom Browder <to...@gmail.com>.
On Fri, Apr 3, 2009 at 6:00 AM, Andrea Antonio Maleci
<A....@iwbank.it> wrote:
> Hi Patricia,
...
> I don't know how to rectify the ./configure error so that I can get a clean
> compile.
> Can someone shed light?  Thanks

I believe the subversion configuration system is not very robust.  Try
to download and separately install apr and apr-util.  They use a
special configuration configuration script that does the same function
as pkg-config.

In any case, try to find 'apr-1-config' and 'apu-1-config' on your system:

  `which apr-1-config`
  `which apu-1-config'

Assuming both are found try:

  ./configure --with-apr=`which apr-1-config` --with-apr-util=`which
apu-1-config`

Note those are backward quotes surrounding `which ap[ru]-1-config`.

-Tom

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

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


RE: Install troubles with version 1.6

Posted by Andrea Antonio Maleci <A....@iwbank.it>.
Hi Patricia,
I've just builded SVN 1.6 and I did not have problems.
May be you're wrong on your apr path: try with -with-apr=/disk01/subversion/apr, without build folder.

I've done as follows, and it works:

 *   I've downloaded httpd project (I got httpd-2.2.10, that includes apr and apr-utils);
 *   I've build and installed httpd;
 *   I've downloaded and uncompressed svn 1.6 (trunk that you got is the wip release, latest stable 1.6 is on http://subversion.tigris.org/downloads/subversion-1.6.0.tar.gz);
 *   I've downloaded and uncompressed svn 1.6 deps (http://subversion.tigris.org/downloads/subversion-deps-1.6.0.tar.gz);
 *   I've removed apr and apr-utils on subversion-1.6.0;
 *   I've created instead of them two symbolic link to apr and apr-util on httpd project (like ln -s httpd-2.2.10/srclib/apr subversion-1.6.0/apr);
 *   I've build subversion with -with-included-apr option;
 *   I've installed subversion.

That's because svn and httpd, doing this, uses the same apr version.

Ciao,
Andrea

________________________________
From: Patricia A Moss [mailto:pmoss4@csc.com]
Sent: giovedì 2 aprile 2009 21.03
To: users@subversion.tigris.org
Subject: Install troubles with version 1.6


I checked out the most recent source code from:
svn checkout http://svn.collab.net/repos/svn/trunk subversion

I then ran the command: sh ./autogen.sh
Then I ran ./configure.
The configure spit out the following messages:
checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'

So I performed the following; within my subversion, top-level, directory:
svn co \
    http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x \
    apr

svn co \
    http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x \
    apr-util

Then I went into each subdirectory and ran the buildconf script
#cd apr
# ./buildconf
# cd ..
#cd apr-util
# ./buildconf
Then ran the ./configure again and got the following errors:
# ./configure --with-apr=/disk01/subversion/apr/build/ --with-apr-util=/disk01/subversion/apr-util/
configure: Configuring Subversion 1.7.0
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
./configure: line 3003: AC_PROG_SED: command not found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for egrep... grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... configure: error: the --with-apr parameter is incorrect. It
must specify an install prefix, a build directory, or an apr-config file.

I don't know how to rectify the ./configure error so that I can get a clean compile.
Can someone shed light?  Thanks

PATI MOSS
System Engineer Sr. Professional
CSC

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

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