LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-10-2009, 11:32 PM   #1
Quip11
LQ Newbie
 
Registered: Aug 2004
Location: Colorado, USA
Distribution: Fedora 15
Posts: 8

Rep: Reputation: 1
Did I configure apr, apr-util, and subversion correctly?


So I had to upgrade subversion on Fedora because my WinXP TortoiseSVN client "upgraded" my repositories, obsoleting my Linux clients.

So I had to recompile subversion on Fedora myself because the latest svn for Fedora (yum) is still at 1.5.

So I had to recompile and install the Apache Portable Runtime (APR) libraries apr and apr-util because subversion needs them and the previous Fedora installations didn't have something subversion needed, whatever that was.

I downloaded apr-1.3.5, apr-util-1.3.7, and apr-iconv-1.2.1 from apr.apache.org. In apr-1.3.5 I used
./configure --prefix=/usr
and make and sudo make install.

In apr-util, I used
./configure --prefix=/usr --with-apr=/usr/bin
and make and sudo make install. I did the same with subversion.

Thought I was happy until I noticed my web server was down:
Starting httpd: httpd: Syntax error on line 161 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_ldap.so into server: /etc/httpd/modules/mod_ldap.so: undefined symbol: apr_ldap_ssl_init
FAILED
So I recompiled apr-util with
./configure --prefix=/usr --with-apr=/usr/bin --with-ldap
And now both subversion and Apache seem to be happy.

Did I miss anything else?

Who's maintaining subversion for Fedora? I understand Ubuntu's even further behind.

-Q
 
Old 06-11-2009, 02:16 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,263

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
Redhat Fedora 10.
The "How-to-configure-Fedora-apps-for-compiling" :
Have a look in the '<application>.spec' file for the
application in question. Example : apr-util source code,
apr-util-1.3.4-3.fc11.src.rpm , fc 11 ...
wget http://download.fedora.redhat.com/pu...3.fc11.src.rpm
And your 'configure' seems OK.

The last section in the Fedora '.spec' files is "%changelog"
.... subversion 1.6.1 :
Quote:
%changelog
* Wed Apr 15 2009 Joe Orton <jorton@redhat.com> 1.6.1-4
- really disable PIE

* Tue Apr 14 2009 Joe Orton <jorton@redhat.com> 1.6.1-3
- update to 1.6.1; disable PIE patch for the time being
.... And about 170 more entries, "Joe Orton @redhat",
so he is probably the maintainer for these packages.

The fc 11 subversion source SRC.RPM, subversion-1.6.1-4.fc11.src.rpm
wget http://download.fedora.redhat.com/pu...4.fc11.src.rpm
.....

When rebuilding a Fedora package : I would use the spec file
with the new source code and do # rpmbuild -bb <app>.spec .
.....
 
Old 06-11-2009, 09:38 AM   #3
Quip11
LQ Newbie
 
Registered: Aug 2004
Location: Colorado, USA
Distribution: Fedora 15
Posts: 8

Original Poster
Rep: Reputation: 1
Thanks! I'll get the source rpm (for 1.5, of course) and see if I can use the spec file to build the new sources. Maybe Joe could use a hand.

-Q
 
  


Reply

Tags
rpmbuild, subversion


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configure error Apache APR module craftereric Linux - Software 0 03-31-2008 04:33 PM
configure failed for srclib/apr Sulman Shah Suse/Novell 1 12-02-2006 03:19 AM
pxe apr timeout jcai Linux - General 0 06-19-2006 06:28 PM
Anjuta 2.0.2 subversion plugin can't find apr.h (FC5) MicahCarrick Linux - Software 0 06-14-2006 12:34 AM
apache 2.x enable APR or not ? adrianmak Linux - Software 0 08-18-2005 07:49 AM


All times are GMT -5. The time now is 02:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration