Hi Tom,

On Wed, Apr 29, 2015 at 11:10 PM, Tom Browder <tom.brow...@gmail.com> wrote:
>
> I'm just trying to work around the current build systems to meet a
> specific goal and I would appreciate anyone who can tell me EXACTLY
> how to:
>
> + use the latest openssl
> + use the latest apr and apr-util
> + use the latest httpd

Your goal is to do that dynamically now, right?

>
> At the moment I am starting again but this time trying:
>
> + building and installing the latest openssl with shared libraries
> + building and installing apr and apr-util to use latest openssl
> + building and installing httpd to use all the above

With shared libraries then, once the first point is done (say in
/opt/openssl), the simplest way is for the two others is to:
1. tar xf httpd-2.4.12.tar.bz2
2. cd httpd-2.4.12
3. tar xf extract apr-1.5.2.tar.bz2 -C srclib && mv srclib/apr-1.5.2 srclib/apr
4. tar xf extract apr-util-1.5.4.tar.bz2 -C srclib && mv
srclib/apr-util-1.5.2 srclib/apr-util
4. ./buildconf
5. ./configure --prefix=/opt/httpd --with-included-apr
--with-ssl=/opt/openssl "LDFLAGS=-Wl,-rpath,/opt/openssl/lib" ...
(the LDFLAGS can be omitted if you plan to somehow include
/opt/openssl/lib in LD_LIBRARY_PATH at runtime, to avoid conflct with
system's own libs)
6. make && make install

Hope I'm not off topic (you meant building statically).

Regards,
Yann.

Reply via email to