Re: configure script creating unsolicited dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-01-13 at 16:51 +0100, Michael Ludwig wrote:
> Michael Ludwig schrieb:
> > I want an Apache with the standard modules plus mod_rewrite.
> >
> >   ./configure --prefix=/usr/local/apache22w \
> >     --with-mpm=worker --enable-rewrite
> 
> I solved this by adding the follwing option:
> 
>    --with-included-apr
> 
> > lobster:/usr/local/src/httpd-2.2.11# ldd httpd
> > linux-gate.so.1 =>  (0xffffe000)
> > libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7fb7000)
> > libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb7f9d000)
> 
> This libaprutil is the culprit. As said in another post on this thread,
> there is a Debian Apache 2 with bells and whistles on the system. This
> depends on libaprutil. In turn, libaprutil depends on lots of other
> stuff, like LDAP, PostgreSQL, SQLite, and what have you.
> 
> When configuring my Apache 2, the existing libaprutil is found and used
> by default. So all those dependencies are acquired.
> 
> Using --with-included-apr (which might also make sense as the default),
> the existing libaprutil is ignored, and no unwanted dependencies are
> acquired.
> 
> Michael Ludwig

This is mainly for the archives, but beware that using
--with-included-apr doesn't stop the apr and apr-util libraries from
being installed, which means they could clobber your pre-existing system
apr libraries if installed to the same prefix, potentially stopping
existing programs like svn from running correctly.

Make sure (as you did) to install to a different prefix!

Cheers

Tom


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux