[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: configure script fails to locate apr

From: Vlad Skvortsov <vss_at_smarts-gsm.ru>
Date: 2001-11-28 17:30:48 CET

On Wed, Nov 28, 2001 at 09:58:25AM -0500, Kevin Pilch-Bisson wrote:

        CC to me, please ! :-)

> > CC to me, please ! :-)
> Strange, unfortunately I don't know anything about how the mailing lists
> are managed. Karl, or someone could you see if there is a log or anything
> (or maybe add Vlad manually)...

        Anybody ?

> > What should I do to compile subversion ? ;-)
> That's to be expected: /usr/local/apache2 is not in the list of places
> configure checks for apr. You *should* be able to build with:

        As I've said today, /local is symlink to /usr/local.

> ./configure --enable-maintainer-mode \
> --with-apxs=/usr/local/apache2/bin/apxs \
> --with-apr=/usr/local/apache2.
>
> If apache is installed at /usr/local/apache2. You did mention yesterday that
> it was installed at just /local/apache2 (no /usr), and those were the arguments
> you passed to configure. Check where it is, either /usr/local/apache2, or
> /local/apache2, and run ./configure appropriately. I tested this yesterday,
> and it worked fine on my system.
>
> If it doesn't work, can you send a log of the commands and output to this list
> and I'll see what I can do? If you are really stuck, you could always check

        Here it is:

[vss@spelio:~/subversion]>./configure --enable-maintainer-mode
--with-apxs=/usr
/local/apache2/bin/apxs --with-apr=/usr/local/apache2
creating config.nice
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
configure: Apache Portable Runtime (APR) library configuration
./configure: /usr/local/apache2: permission denied
checking for apr.h... no
configure: WARNING: APRVARS not found
No Apache Portable Runtime (APR) library can be found.
Either install APR on this system and supply appropriate
--with-apr-libs and --with-apr-includes options

        Strange, that message about permission denial. Unfortunately I don't
remember if similar message was reported before.

        # ls -ld /local/apache2
        drwxr-xr-x 15 root wheel 512 26 ��� 13:49 /local/apache2
                  
        # ls -l /local/apache2
        total 22
        drwxr-xr-x 15 root wheel 512 26 ��� 13:49 .
        drwxr-xr-x 16 root wheel 512 26 ��� 13:48 ..
        drwxr-xr-x 2 root wheel 512 26 ��� 13:49 bin
        drwxr-xr-x 2 root wheel 512 26 ��� 13:49 build
        drwxr-xr-x 2 root wheel 512 26 ��� 13:49 cgi-bin
        drwxr-xr-x 2 root wheel 512 26 ��� 13:48 conf
        drwxr-xr-x 3 root wheel 1024 26 ��� 13:48 error
        drwxr-xr-x 2 root wheel 1536 26 ��� 13:48 htdocs
        drwxr-xr-x 3 root wheel 3584 26 ��� 13:49 icons
        drwxr-xr-x 2 root wheel 2560 26 ��� 13:49 include
        drwxr-xr-x 2 root wheel 512 26 ��� 13:48 lib
        drwxr-xr-x 2 root wheel 512 26 ��� 13:49 logs
        drwxr-xr-x 4 root wheel 512 26 ��� 13:49 man
        drwxr-xr-x 13 root wheel 1536 26 ��� 13:48 manual
        drwxr-xr-x 2 root wheel 512 26 ��� 13:48 modules

> out the apr project from cvs and put it in the subversion source tree.

        It seems to me the right way is to solve the problem, not to work it
around. I'm not the last user installing subversion from scratch. ;-)

-- 
Vlad Skvortsov, vss@smarts-gsm.ru, vss@high.net.ru
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:49 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.