-   Linux - Server (
-   -   Did I configure apr, apr-util, and subversion correctly? (

Quip11 06-10-2009 10:32 PM

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 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/ into server: /etc/httpd/modules/ undefined symbol: apr_ldap_ssl_init
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.


knudfl 06-11-2009 01:16 AM

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 ...
And your 'configure' seems OK.

The last section in the Fedora '.spec' files is "%changelog"
.... subversion 1.6.1 :

* Wed Apr 15 2009 Joe Orton <> 1.6.1-4
- really disable PIE

* Tue Apr 14 2009 Joe Orton <> 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

When rebuilding a Fedora package : I would use the spec file
with the new source code and do # rpmbuild -bb <app>.spec .

Quip11 06-11-2009 08:38 AM

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.


All times are GMT -5. The time now is 03:48 PM.