Re: --with-apxs --with-apr --with-apr-util - what do I need?
From: Himanshu Raina <raina_himanshu_at_yahoo.com>
Date: 2007-01-22 05:38:29 CET
HI,
This isn't a mismatch.Infact this shows that the apr/apr-utils library are installed properly.
regards
Himanshu Raina
----- Original Message ----
From: Jonathan Coles <jcoles0727_at_rogers.com>
To: Himanshu Raina <raina_himanshu_at_yahoo.com>
Cc: Subversion users list <users_at_subversion.tigris.org>
Sent: Saturday, January 20, 2007 10:36:16 PM
Subject: Re: --with-apxs --with-apr --with-apr-util - what do I need?
I still get a mismatch! Or, am I interpreting the results incorrectly?
$ ldd /usr/local/apache2/modules/mod_dav_svn.so | grep apr
libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 (0x007ff000)
libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0x00190000)
$ ldd /usr/local/apache2/bin/httpd | grep apr
libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 (0x00766000)
libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0x00111000)
Himanshu Raina wrote:
> HI,
>
> If this is what you are talking about then i guess u can use the switches
>
> [root_at_www ~]ldd /usr/local/apache2/modules/mod_dav_svn.so
> libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 (0xb7def000)
> libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0xb7d59000)
> [root_at_www ~]ldd /lnx_data/apache2.0.54/bin/httpd | grep apr
> libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 (0xb7f8f000)
> libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0xb7f6d000)
>
> tar xvzf subversion-1.4.2.tar.gz
> tar xvzf subversion-deps-1.4.2.tar.gz
> cd subversion-1.4.2
> (This shuld solve the problem of apr library mismatch as it will load
> apr library from apache else it would take default apr/apr-utils that
> comes alongwith the dep package)
> ./configure --prefix=/usr/local/subversion --with-apr=/usr/local/apache2
> --with-apr-util=/usr/local/apache2 --with-apxs=/usr/local/apache2/bin/apxs
>
> Hope this helps
>
> Cheers !!
> HImanshu Raina
>
> ----- Original Message ----
> From: Jonathan Coles <jcoles0727_at_rogers.com>
> To: Himanshu Raina <raina_himanshu_at_yahoo.com>
> Cc: Subversion users list <users_at_subversion.tigris.org>
> Sent: Thursday, January 11, 2007 7:27:16 AM
> Subject: Re: --with-apxs --with-apr --with-apr-util - what do I need?
>
> Thanks. I added the subversion-deps-1.4.0.tar.gz files to the
> subversion-1.4.0.tar.gz files before compiling. The problem seems
> to be that the resulting mod_dav_svn.so uses different APR libraries
> than the Apache server provided in Fedora Core 5.
>
> Fedora hasn't released any RPM packages for SVN beyond 1.3, so
> maybe it is not possible.
>
> Next, I will try removing Fedora's Apache and install the latest
> Apache from the source .tar.gz. Thanks for the suggested configure
> command line. When I compile SVN, should I leave out the
> subversion-deps files so that the apr from apache is used?
> It seems the most likely way to match mod_dav_svn with Apache.
>
>
>
> Himanshu Raina wrote:
> > Hi,
> >
> > The complete info is available in the INSTALL file still you can make
> > use of following switches
> >
> > cd httpd.x.x.x
> > ./configure --prefix=/usr/local/apache2 --enable-dav --enable-dav-fs
> > --enable-so
> > make && make install
> >
> > cd subversion-1.4.0
> > ./configure --with-apr=/usr/local/apache2
> > --with-apr-util=/usr/local/apache2
> --with-apxs=/usr/local/apache2/bin/apxs
> >
> > Hope this helps.In case it doesn't make use of subversion and subversion
> > dependency source in which case you don't have to specify the
> > apr/apr-utils path separately since it is compiled as part of subversion
> > application.I used subversion-1.4.2.tar.gz &&
> subversion-deps-1.4.2.tar.gz
> >
> > regards
> > Himanshu Raina
> >
> > ----- Original Message ----
> > From: Jonathan Coles <jcoles0727_at_rogers.com>
> > To: Subversion users list <users_at_subversion.tigris.org>
> > Sent: Wednesday, January 10, 2007 7:32:48 AM
> > Subject: --with-apxs --with-apr --with-apr-util - what do I need?
> >
> > I am having trouble compiling Subversion-1.4.0 with Apache-2.2.2
> > as supplied on Fedora Core 5. From other correspondence, I have
> > learned that the problem is to get a mod_dav_svn.so based on the
> > same libraries as httpd.
> >
> > The --with-xxxx options are very confusing. Some people use --with-apr
> > and sometimes also --with-apr-util, others specify --with-apxs alone.
> >
> > --with-apr pointed at the only apr-config on the machine didn't help
> > there was a segfault because of SVN's mod_dav_svn. Removing the SVN
> > httpd .conf file restored normal use of the webserver.
> >
> > --with-apxs pointed to /usr/bin/apxs (the only one) I broke Apache.
> > There was a segfault that didn't go away when I removed the Apache
> > .conf file for SVN. The only solution I can see is to re-install
> Apache.
> > Should this option have crippled another application like this?
> > A warning is in order if it is that dangerous.
> >
> > Can someone explain, better than the configure file, which of these
> > options we need under what circumstances and how to figure out the
> > correct settings?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> > For additional commands, e-mail: users-help_at_subversion.tigris.org
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
>
> ------------------------------------------------------------------------
> Check out the all-new Yahoo! Mail beta
> <http://us.rd.yahoo.com/evt=43257/*http://advision.webevents.yahoo.com/mailbeta>
> - Fire up a more powerful email and get things done faster.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.