Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 28347 invoked from network); 18 Nov 2009 22:59:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Nov 2009 22:59:38 -0000 Received: (qmail 59278 invoked by uid 500); 18 Nov 2009 22:59:35 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 59259 invoked by uid 500); 18 Nov 2009 22:59:35 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 59250 invoked by uid 99); 18 Nov 2009 22:59:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 22:59:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jmedina@e-dialog.com designates 208.94.20.29 as permitted sender) Received: from [208.94.20.29] (HELO corp-mail.e-dialog.com) (208.94.20.29) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 22:59:26 +0000 Received: from eeyore.ad.e-dialog.com ([::1]) by eeyore.ad.e-dialog.com ([::1]) with mapi; Wed, 18 Nov 2009 17:59:05 -0500 From: Jorge Medina To: "users@httpd.apache.org" Date: Wed, 18 Nov 2009 17:59:04 -0500 Thread-Topic: [users@httpd] Apache build Thread-Index: AcpojdMkJfp+iorbSnKNm9kFnUQ79QAE3lOg Message-ID: References: <959935.66277.qm@web110604.mail.gq1.yahoo.com> In-Reply-To: <959935.66277.qm@web110604.mail.gq1.yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_B8E384888845E847AAF71F54C119EDED30546C7Beeyoreadedialog_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Apache build --_000_B8E384888845E847AAF71F54C119EDED30546C7Beeyoreadedialog_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 bu= ild time with -with-ssl and with LD_LIBRARY_PATH at runtime. export CPPFLAGS=3D"-m64 -O3" export CXXFLAGS=3D"-m64 -O3" export CFLAGS=3D"-m64 -O3" configure \ --with-ldap \ --quiet \ --srcdir=3D${HTTPD_ROOT} \ --with-port=3D80 \ --enable-mods-shared=3D"all headers ssl ldap authnz_ldap info echo mime= proxy proxy_ajp proxy_balancer" \ --prefix=3D/home/user/opt/apache \ --with-apr=3D${APR_DIR} \ --with-apr-util=3D${APU_DIR} \ --with-expat=3Dbuiltin \ --with-mpm=3Dworker \ --with-ssl=3D${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=3Dx86_64-linux-gnu --enable-lib64=3Dyes It builds but when I look at the modules file mod_ssl.so. They are all 32 b= it only. What could be the mistake that I am doing. Please let me know. Thanks & Regards, Aruna. --- On Thu, 11/19/09, Jorge Medina wrote: From: Jorge Medina Subject: RE: [users@httpd] Apache build To: "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 bundl= ed with other set of scripts. If the paths on the target machine do not match the paths on your build mac= hine, 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. --_000_B8E384888845E847AAF71F54C119EDED30546C7Beeyoreadedialog_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
 
Yes. But I = build the=20 APR and the APU libraries myself (and include them in my tar.gz file). = ;=20
Since I also enable SSL, I also build OpenSSL an= d pass=20 the path to it at build time with -with-ssl and with LD_LIBRARY_PATH at=20 runtime.
 
export CPPFLAGS=3D"-m64=20 -O3"
export CXXFLAGS=3D"-m64=20 -O3"
export CFLAGS=3D"-m64=20 -O3"
 
configure \
  = ; =20 --with-ldap \
    --quiet \
   =20 --srcdir=3D${HTTPD_ROOT} \
    --with-port=3D80 \
   =20 --enable-mods-shared=3D"all headers ssl ld= ap=20 authnz_ldap info echo mime proxy proxy_ajp proxy_balancer"=20 \
    --prefix=3D/home/user/opt/apache \
  &n= bsp;=20 --with-apr=3D${APR_DIR} \
    --with-apr-util=3D${APU_DIR= }=20 \
    --with-expat=3Dbuiltin \
   =20 --with-mpm=3Dworker \
    --with-ssl=3D${OPENSSL_TARGET_D= IR}=20 \
    --enable-lib64


From: Aruna Gummalla=20 [mailto:aruna_gummalla@yahoo.com]
Sent: Wednesday, November 18, = 2009=20 3:29 PM
To: users@httpd.apache.org
Subject: RE:=20 [users@httpd] Apache build

Thanks Jorge.

Is it possible to build for x86-6= 4=20 machine?

I am trying to build with --host=3Dx86_64-linux-gnu=20 --enable-lib64=3Dyes
It builds but when I look at the modules file= =20 mod_ssl.so. They are all 32 bit only.

What could be the mista= ke=20 that I am doing.

Please let me know.

Thanks &=20 Regards,
Aruna.

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

From:=20 Jorge Medina <jmedina@e-dialog.com>
Subject: RE: [users@ht= tpd]=20 Apache build
To: "users@httpd.apache.org"=20 <users@httpd.apache.org>
Date: Thursday, November 19, 2009= ,=20 1:49 AM

It is doable. I compile my own apache and = provide=20 it as a tar.gz file bundled with other set of=20 scripts.
 
If the paths on the target machine do not = match the=20 paths on your build machine, then you will need to define=20 LD_LIBRARY_PATH
 


From: Aruna Gummalla=20 [mailto:aruna_gummalla@yahoo.com]
Sent: Wednesday, Novem= ber=20 18, 2009 3:11 PM
To: users@httpd.apache.org
Subject= :=20 [users@httpd] Apache build

Hi,

I want to build httpd server and in= stall=20 on some other machine with my own build scripts.

Does= it=20 hard codes any paths internally?

Thanks &=20 Regards,
Aruna.


--_000_B8E384888845E847AAF71F54C119EDED30546C7Beeyoreadedialog_--