httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Medina <jmed...@e-dialog.com>
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} \
    --enable-lib64
________________________________
From: Aruna Gummalla [mailto:aruna_gummalla@yahoo.com]
Sent: Wednesday, November 18, 2009 3:29 PM
To: users@httpd.apache.org
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 mod_ssl.so. They are all 32 bit only.

What could be the mistake that I am doing.

Please let me know.

Thanks & Regards,
Aruna.

--- On Thu, 11/19/09, Jorge Medina <jmedina@e-dialog.com> wrote:

From: Jorge Medina <jmedina@e-dialog.com>
Subject: RE: [users@httpd] Apache build
To: "users@httpd.apache.org" <users@httpd.apache.org>
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 [mailto:aruna_gummalla@yahoo.com]
Sent: Wednesday, November 18, 2009 3:11 PM
To: users@httpd.apache.org
Subject: [users@httpd] Apache build

Hi,

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,
Aruna.





Mime
View raw message