You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Kevac Marko <ma...@kevac.org> on 2010/03/14 09:46:11 UTC

Building httpd trunk. Problem with apr-util.

Hello.

After cloning httpd git repository (mirror of svn one), I have tried
to build trunk, but I don't know hot to tell build sripts what
apr-util library to use.

----------------------------------------------------------------------------
$ ./configure --with-apr=/usr/bin/apr-1-config
--with-apr-util=/usr/bin/apu-1-config
--prefix=/home/marko/micex/opt/httpd/trunk/ 2>&1 | tee configure.log
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... yes
  setting CC to "x86_64-linux-gnu-gcc"
  setting CPP to "x86_64-linux-gnu-gcc -E"
  setting CFLAGS to "  -pthread"
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
  setting LDFLAGS to " "

Configuring Apache Portable Runtime Utility library...

configure: error: APR-util not found.  Please read the documentation
----------------------------------------------------------------------------

There is no "--with-apr-util" in "./configure --help", so it is just guessing.

----------------------------------------------------------------------------
marko@marko-desktop:~/micex/distr/git/httpd$ which apr-1-config
/usr/bin/apr-1-config
marko@marko-desktop:~/micex/distr/git/httpd$ which apu-1-config
/usr/bin/apu-1-config
----------------------------------------------------------------------------

By the way, what version of apr and apr-util httpd-trunk requires?

-- 
Marko Kevac

Re: Building httpd trunk. Problem with apr-util.

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 3/14/2010 3:46 AM, Kevac Marko wrote:
> 
> By the way, what version of apr and apr-util httpd-trunk requires?

If you check out branches/1.4.x you'll be fine.

buildconf.sh, as pointed out in recent dev posts, has not caught up to trunk.
There is no apr-util trunk, but a single apr library with all of the prior
functionality of apr and apr-util.

The trouble is that ./buildconf.sh isn't ready for the apu_ macros to up and
disappear, and they really shouldn't.

Perhaps the apr-util m4 macros should live in apr/build/?

Re: Building httpd trunk. Problem with apr-util.

Posted by Kevac Marko <ma...@kevac.org>.
Built httpd-trunk with apr-trunk and apr-util-trunk.

But still, some questions remained:

1) Where information about what version of apr and apr-util is needed
for each verson of httpd could be found?
2) Where is --with-apr-util or --with-apu configuration option?

On Sun, Mar 14, 2010 at 11:46 AM, Kevac Marko <ma...@kevac.org> wrote:
> Hello.
>
> After cloning httpd git repository (mirror of svn one), I have tried
> to build trunk, but I don't know hot to tell build sripts what
> apr-util library to use.
>
> ----------------------------------------------------------------------------
> $ ./configure --with-apr=/usr/bin/apr-1-config
> --with-apr-util=/usr/bin/apu-1-config
> --prefix=/home/marko/micex/opt/httpd/trunk/ 2>&1 | tee configure.log
> checking for chosen layout... Apache
> checking for working mkdir -p... yes
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
>
> Configuring Apache Portable Runtime library ...
>
> checking for APR... yes
>  setting CC to "x86_64-linux-gnu-gcc"
>  setting CPP to "x86_64-linux-gnu-gcc -E"
>  setting CFLAGS to "  -pthread"
>  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
>  setting LDFLAGS to " "
>
> Configuring Apache Portable Runtime Utility library...
>
> configure: error: APR-util not found.  Please read the documentation
> ----------------------------------------------------------------------------
>
> There is no "--with-apr-util" in "./configure --help", so it is just guessing.
>
> ----------------------------------------------------------------------------
> marko@marko-desktop:~/micex/distr/git/httpd$ which apr-1-config
> /usr/bin/apr-1-config
> marko@marko-desktop:~/micex/distr/git/httpd$ which apu-1-config
> /usr/bin/apu-1-config
> ----------------------------------------------------------------------------
>
> By the way, what version of apr and apr-util httpd-trunk requires?
>
> --
> Marko Kevac
>



-- 
Marko Kevac