httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Medina <>
Subject RE: [users@httpd] Apache build
Date Wed, 18 Nov 2009 22:59:04 GMT

Yes. But I build the APR and the APU libraries myself (and include them in my tar.gz file).
Since I also enable SSL, I also build OpenSSL and pass the path to it at build time with -with-ssl
and with LD_LIBRARY_PATH at runtime.

export CPPFLAGS="-m64 -O3"
export CXXFLAGS="-m64 -O3"
export CFLAGS="-m64 -O3"

configure \
    --with-ldap \
    --quiet \
    --srcdir=${HTTPD_ROOT} \
    --with-port=80 \
    --enable-mods-shared="all headers ssl ldap authnz_ldap info echo mime proxy proxy_ajp
proxy_balancer" \
    --prefix=/home/user/opt/apache \
    --with-apr=${APR_DIR} \
    --with-apr-util=${APU_DIR} \
    --with-expat=builtin \
    --with-mpm=worker \
    --with-ssl=${OPENSSL_TARGET_DIR} \
From: Aruna Gummalla []
Sent: Wednesday, November 18, 2009 3:29 PM
Subject: RE: [users@httpd] Apache build

Thanks Jorge.

Is it possible to build for x86-64 machine?

I am trying to build with --host=x86_64-linux-gnu --enable-lib64=yes
It builds but when I look at the modules file They are all 32 bit only.

What could be the mistake that I am doing.

Please let me know.

Thanks & Regards,

--- On Thu, 11/19/09, Jorge Medina <> wrote:

From: Jorge Medina <>
Subject: RE: [users@httpd] Apache build
To: "" <>
Date: Thursday, November 19, 2009, 1:49 AM

It is doable. I compile my own apache and provide it as a tar.gz file bundled with other set
of scripts.

If the paths on the target machine do not match the paths on your build machine, then you
will need to define LD_LIBRARY_PATH

From: Aruna Gummalla []
Sent: Wednesday, November 18, 2009 3:11 PM
Subject: [users@httpd] Apache build


I want to build httpd server and install on some other machine with my own build scripts.

Does it hard codes any paths internally?

Thanks & Regards,

View raw message