Apache build

Apache build

am 18.11.2009 21:10:51 von Aruna Gummalla

--0-285596855-1258575051=:85233
Content-Type: text/plain; charset=us-ascii

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.




--0-285596855-1258575051=:85233
Content-Type: text/html; charset=us-ascii

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.




--0-285596855-1258575051=:85233--

RE: Apache build

am 18.11.2009 21:19:14 von Jorge Medina

--_000_B8E384888845E847AAF71F54C119EDED30546C00eeyoreadedial og_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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_B8E384888845E847AAF71F54C119EDED30546C00eeyoreadedial og_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable






rial=20
color=3D#0000ff size=3D2>It is doable. I compile my own apache and provide =
it as a=20
tar.gz file bundled with other set of scripts.

rial=20
color=3D#0000ff size=3D2>
 

rial=20
color=3D#0000ff size=3D2>If the paths on the target machine do not match th=
e paths=20
on your build machine, then you will need to define LD_LIBRARY_PATH=20

rial=20
color=3D#0000ff size=3D2>
 





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






Hi,

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

Does it hard codes a=
ny=20
paths internally?

Thanks &=20
Regards,
Aruna.



--_000_B8E384888845E847AAF71F54C119EDED30546C00eeyoreadedial og_--

RE: Apache build

am 18.11.2009 21:28:45 von Aruna Gummalla

--0-2106255482-1258576125=:66277
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

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.=20

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

=0AIt is doable. I compile my own apache and provide it as a =0Atar.=
gz file bundled with other set of scripts.  =0AIf the paths on the targ=
et machine do not match the paths =0Aon your build machine, then you will n=
eed to define LD_LIBRARY_PATH =A0
=0AFrom: Aruna Gummalla =0A[mailto:aruna_gummalla@yahoo.com]=20
Sent: Wednesday, November 18, 2009 =0A3:11 PM
To: users@httpd.apache.org
Subject: [users@httpd] =0AApache build

=0A =0A =0A Hi,

I want to build httpd server and install on some =0A other machine wit=
h my own build scripts.=20

Does it hard codes any =0A paths internally?

Thanks & =0ARegards,
Aruna.

=0A
--0-2106255482-1258576125=:66277
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

=0A =0A =
top" style=3D"font: inherit;">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 m=
od_ssl.so. They are all 32 bit only.

What could be the mistake that=
I am doing.

Please let me know.

Thanks & Regards,
Aru=
na.

--- On Thu, 11/19/09, Jorge Medina <jmedina@e-dialog.co=
m>
wrote:
16, 255); margin-left: 5px; padding-left: 5px;">
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

=0A
dir=3D"ltr" align=3D"left"> =3D"#0000ff" face=3D"Arial" size=3D"2">It is doable. I compile my own apach=
e and provide it as a =0Atar.gz file bundled with other set of scripts. nt>
=0A
-18112009">=
 
=0A
12009">If the paths on th=
e target machine do not match the paths =0Aon your build machine, then you =
will need to define LD_LIBRARY_PATH =0A
=0A
tr" align=3D"left"> f" face=3D"Arial" size=3D"2"> 

=0A
"OutlookMessageHeader" dir=3D"ltr" align=3D"left" lang=3D"en-us">=0A
index=3D"-1">=0AFrom: Aruna Gummall=
a =0A[mailto:aruna_gummalla@yahoo.com]
Sent: Wednesday, November=
18, 2009 =0A3:11 PM
To: users@httpd.apache.org
Subject: > [users@httpd] =0AApache build

=0A
=0A border=3D"0" cellpadding=3D"0" cellspacing=3D"0">=0A
Hi,

I want to build httpd server and install o=
n some =0A other machine with my own build scripts.

Does it ha=
rd codes any =0A paths internally?

Thanks & =0ARegards,
=
Aruna.

e>

--0-2106255482-1258576125=:66277--

RE: Apache build

am 18.11.2009 23:59:04 von Jorge Medina

--_000_B8E384888845E847AAF71F54C119EDED30546C7Beeyoreadedial og_
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_B8E384888845E847AAF71F54C119EDED30546C7Beeyoreadedial og_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable






AN=20
class=3D513514822-18112009>
=20
size=3D2>
 

color=3D#0000ff>Yes. But I =
build the=20
APR and the APU libraries myself (and include them in my tar.gz file). =
;=20

class=3D513514822-18112009>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.

class=3D513514822-18112009> 

class=3D513514822-18112009>export CPPFLAGS=3D"-m64=20
-O3"

class=3D513514822-18112009>export CXXFLAGS=3D"-m64=20
-O3"

class=3D513514822-18112009>export CFLAGS=3D"-m64=20
-O3"

class=3D513514822-18112009> 

configure \
  =
; =20
--with-ldap \
    --quiet \
   =20
--srcdir=3D${HTTPD_ROOT} \
    --with-port=3D class=3D513514822-18112009>80 \
   =20
--enable-mods-shared=3D"all headers ssl ld=
ap=20
authnz_ldap info echo mime proxy proxy_ajp proxy_balancer
"=20
\
    --prefix=3D class=3D513514822-18112009>/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:

style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,=
255) 2px solid">
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



face=3DArial=20
color=3D#0000ff size=3D2>It is doable. I compile my own apache and =
provide=20
it as a tar.gz file bundled with other set of=20
scripts.

face=3DArial=20
color=3D#0000ff size=3D2>
 

face=3DArial=20
color=3D#0000ff size=3D2>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

face=3DArial=20
color=3D#0000ff size=3D2>
 


ft>


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.

LOCKQUOTE>



--_000_B8E384888845E847AAF71F54C119EDED30546C7Beeyoreadedial og_--

RE: Apache build

am 19.11.2009 01:14:32 von Aruna Gummalla

--0-871894608-1258589672=:49706
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

I am giving a --PREFIX option to install in a particular directory. But I i=
nstall the build at two different locations on two different machines.=20

Even if i give the LD_LIBRARY_PATH it does not start. Actually in all the c=
onfiguration files it uses the PREFIX directory. But I want to install in d=
ifferent directories for the same build.

Is it possible?

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, 4:29 AM

 =0AYes. But I build the =0AAPR and the APU libraries myself (a=
nd include them in my tar.gz file).=A0 Since I also enable SSL, I als=
o build OpenSSL and pass =0Athe path to it at build time with -with-ssl and=
with LD_LIBRARY_PATH at =0Aruntime.  =0Aexport CPPFLAGS=3D"-m64 =0A-O3=
"=0Aexport CXXFLAGS=3D"-m64 =0A-O3"=0Aexport CFLAGS=3D"-m64 =0A-O3"  =
=0Aconfigure \
  =A0 =0A--with-ldap \
  =A0 --quiet \
  =A0 =0A--srcdir=3D${HTTPD_ROOT} \
  =A0 --with-port=3D80 \
  =A0 =0A--enable-mods-shared=3D"all headers ssl ldap =0Aauthnz_ldap in=
fo echo mime proxy proxy_ajp proxy_balancer" =0A\
  =A0 --prefix=3D/home/user/opt/apache \
  =A0 =0A--with-apr=3D${APR_DIR} \
  =A0 --with-apr-util=3D${APU_DIR} =0A\
  =A0 --with-expat=3Dbuiltin \
  =A0 =0A--with-mpm=3Dworker \
  =A0 --with-ssl=3D${OPENSSL_TARGET_DIR} =0A\
  =A0 --enable-lib64
=0AFrom: Aruna Gummalla =0A[mailto:aruna_gummalla@yahoo.com]=20
Sent: Wednesday, November 18, 2009 =0A3:29 PM
To: users@httpd.apache.org
Subject: RE: =0A[users@httpd] Apache build

=0A =0A =0A Thanks Jorge.

Is it possible to build for x86-64 =0A machine?

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

What could be the mistake =0A that I am doing.

Please let me know.

Thanks & =0A Regards,
Aruna.

--- On Thu, 11/19/09, Jorge Medina =0A wrote:
=0A =20
From: =0A Jorge Medina
Subject: RE: [users@httpd] =0A Apache build
To: "users@httpd.apache.org" =0A
Date: Thursday, November 19, 2009, =0A 1:49 AM

=0A =0A It is doable. I compile my own apache and provide =0A=
it as a tar.gz file bundled with other set of =0A scripts.=
=0A   If the paths on the target machine do not match th=
e =0A paths on your build machine, then you will need to define =0A =
LD_LIBRARY_PATH =0A =A0
=0A =0A =0A From: Aruna Gummalla =0A [mailto:ar=
una_gummalla@yahoo.com]=20
Sent: Wednesday, November =0A 18, 2009 3:11 PM
To: users@httpd.apache.org
Subject: =0A [users@httpd] Apache build

=0A =0A =0A =0A =0A Hi,

I want to build httpd server and install =0A on some other mac=
hine with my own build scripts.=20

Does it =0A hard codes any paths internally?

Thanks & =0A Regards,
Aruna.


=0A
--0-871894608-1258589672=:49706
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

=0A =
=0A le>
top" style=3D"font: inherit;">I am giving a --PREFIX option to install in a=
particular directory. But I install the build at two different locations o=
n two different machines.

Even if i give the LD_LIBRARY_PATH it doe=
s not start. Actually in all the configuration files it uses the PREFIX dir=
ectory. But I want to install in different directories for the same build.<=
br>
Is it possible?

Thanks & Regards,
Aruna.

--- On=
Thu, 11/19/09, Jorge Medina <jmedina@e-dialog.com> wro=
te:
-left: 5px; padding-left: 5px;">
From: Jorge Medina <jmedina@e-dialog=
..com>
Subject: RE: [users@httpd] Apache build
To: "users@httpd.apa=
che.org" <users@httpd.apache.org>
Date: Thursday, November 19, 200=
9, 4:29 AM

=0A
n=3D"left"> "513514822-18112009"> ize=3D"2"> 
=0A<=
div> lor=3D"#0000ff">Yes. Bu=
t I build the =0AAPR and the APU libraries myself (and include them in my t=
ar.gz file).  =0A
=0A
=3D"Arial"> 2-18112009">Since I also enable SSL, I also build OpenSSL and pass =0Athe p=
ath to it at build time with -with-ssl and with LD_LIBRARY_PATH at =0Arunti=
me.
=0A
or=3D"#0000ff"><=
/font>
 
=0A
"#0000ff">export CPPFLA=
GS=3D"-m64 =0A-O3"
=0A
rial"> 12009">export CXXFLAGS=3D"-m64 =0A-O3"
=0A=
ass=3D"513514822-18112009">export CFLAGS=3D"-m64 =0A-O3" t>
=0A
ize=3D"2">&n=
bsp;
=0A
configu=
re \
    =0A--with-ldap \
    --quiet \=

    =0A--srcdir=3D${HTTPD_ROOT} \
    =
--with-port=3D80 \
  =
;  =0A--enable-mods-shared=3D"all h=
eaders ssl ldap =0Aauthnz_ldap info echo mime proxy proxy_ajp proxy_balance=
r
" =0A\
    --prefix=3D 112009">/home/user/opt/apache \
    =0A--with-apr=
=3D${APR_DIR} \
    --with-apr-util=3D${APU_DIR} =0A\
=
    --with-expat=3Dbuiltin \
    =0A--with=
-mpm=3Dworker \
    --with-ssl=3D${OPENSSL_TARGET_DIR} =
=0A\
    --enable-lib64

=0A
OutlookMessageHeader" dir=3D"ltr" align=3D"left" lang=3D"en-us">=0A
ndex=3D"-1">=0AFrom: Aruna Gummalla=
=0A[mailto:aruna_gummalla@yahoo.com]
Sent: Wednesday, November =
18, 2009 =0A3:29 PM
To: users@httpd.apache.org
Subject:=
RE: =0A[users@httpd] Apache build

=0A
=0A ble border=3D"0" cellpadding=3D"0" cellspacing=3D"0">=0A
Thanks Jorge.

Is it possible to build for =
x86-64 =0A machine?

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

What co=
uld be the mistake =0A that I am doing.

Please let me know.
=

Thanks & =0A Regards,
Aruna.

--- On Thu, 11/19/09=
, Jorge Medina =0A <jmedina@e-dialog.com>
wrote:
=
=0A
ing-left: 5px; margin-left: 5px;">
From: =0A Jorge Medina <jme=
dina@e-dialog.com>
Subject: RE: [users@httpd] =0A Apache build=

To: "users@httpd.apache.org" =0A <users@httpd.apache.org><=
br>Date: Thursday, November 19, 2009, =0A 1:49 AM

=0A =
=0A
lass=3D"676591520-18112009"> 2">It is doable. I compile my own apache and provide =0A it as a tar=
..gz file bundled with other set of =0A scripts.
=
=0A
9">  div>=0A
12009">If the paths on th=
e target machine do not match the =0A paths on your build machine, t=
hen you will need to define =0A LD_LIBRARY_PATH
=
=0A
9">  div>
=0A
"left" lang=3D"en-us">=0A
=0A =3D"Tahoma" size=3D"2">From: Aruna Gummalla =0A [mailto:aruna=
_gummalla@yahoo.com]
Sent: Wednesday, November =0A 18, 20=
09 3:11 PM
To: users@httpd.apache.org
Subject: =0A =
[users@httpd] Apache build

=0A
=0A=
=0A =
=0A =0A
Hi,

I wa=
nt to build httpd server and install =0A on some other machine=
with my own build scripts.

Does it =0A hard codes any=
paths internally?

Thanks & =0A Regards,
Aruna.<=
br>



--0-871894608-1258589672=:49706--

RE: Apache build

am 19.11.2009 07:55:54 von ef-lists

Hi,

have you verified, that your platform compiler can compile in 64-bit mode? In case of gcc, you can forcce it with -m64. Create a little helloworld-program and compile it with -m64. If the compiler complains, you can't build 64-bit executables.

You may also want to try to set CFLAGS to "-m64" (for gcc).

Regards,
Edgar

> 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 * 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
> 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.
>
>
>



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

RE: Apache build

am 19.11.2009 16:21:22 von Jorge Medina

--_000_B8E384888845E847AAF71F54C119EDED30546D00eeyoreadedial og_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

On the build machine

a) Execute configure
b) Execute make
c) Execute make install

then create your package (in my case a tar.gz file).

On the runtime machine:

Use LD_LIBRARY_PATH and provide the path to your *customized* httpd.conf. =
(option -f)
You may want to rewrite apachectl to set the appropiate environment


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

I am giving a --PREFIX option to install in a particular directory. But I i=
nstall the build at two different locations on two different machines.

Even if i give the LD_LIBRARY_PATH it does not start. Actually in all the c=
onfiguration files it uses the PREFIX directory. But I want to install in d=
ifferent directories for the same build.

Is it possible?

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, 4:29 AM


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_B8E384888845E847AAF71F54C119EDED30546D00eeyoreadedial og_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable






rial=20
color=3D#0000ff size=3D2>On the build machine

rial=20
color=3D#0000ff size=3D2>
 

rial=20
color=3D#0000ff size=3D2>a) Execute configure

rial=20
color=3D#0000ff size=3D2>b) Execute make

rial=20
color=3D#0000ff size=3D2>c) Execute make install

rial=20
color=3D#0000ff size=3D2>
 

rial=20
color=3D#0000ff size=3D2>then create your package (in my case a tar.gz=20
file).

rial=20
color=3D#0000ff size=3D2>
 

rial=20
color=3D#0000ff size=3D2>On the runtime machine:

rial=20
color=3D#0000ff size=3D2>
 

rial=20
color=3D#0000ff size=3D2>Use LD_LIBRARY_PATH and provide the path to your=20
*customized* httpd.conf.  (option -f)

rial=20
color=3D#0000ff size=3D2>You may want to rewrite apachectl to set the appro=
piate=20
environment

rial=20
color=3D#0000ff size=3D2>
 
=3D#0000ff=20
size=3D2>





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






TBODY>
I am giving a --PREFIX option to install in a particul=
ar=20
directory. But I install the build at two different locations on two=
=20
different machines.

Even if i give the LD_LIBRARY_PATH it doe=
s not=20
start. Actually in all the configuration files it uses the PREFIX=20
directory. But I want to install in different directories for the sam=
e=20
build.

Is it possible?

Thanks &=20
Regards,
Aruna.

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

style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,=
255) 2px solid">
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
4:29 AM



=3D2> class=3D513514822-18112009> =3D#0000ff=20
size=3D2>
  >
NT=20
color=3D#0000ff>Yes=
.. But I=20
build the APR and the APU libraries myself (and include them in my=
=20
tar.gz file). 

=20
class=3D513514822-18112009>Since I also enable SSL, I also build Op=
enSSL=20
and pass the path to it at build time with -with-ssl and with=20
LD_LIBRARY_PATH at runtime.

=20
class=3D513514822-18112009>
 

=20
class=3D513514822-18112009>export CPPFLAGS=3D"-m64=20
-O3"

=20
class=3D513514822-18112009>export CXXFLAGS=3D"-m64=20
-O3"

=20
class=3D513514822-18112009>export CFLAGS=3D"-m64=20
-O3"

=20
class=3D513514822-18112009>
 

configure=20
\
    --with-ldap \
    --quiet=
=20
\
    --srcdir=3D${HTTPD_ROOT} \
  &=
nbsp;=20
--with-port=3D80=20
\
    --enable-mods-shared=3D" class=3D513514822-18112009>all headers ssl ldap authnz_ldap info ec=
ho mime=20
proxy proxy_ajp proxy_balancer" \
   =20
--prefix=3D/home/user/opt/apache SPAN>=20
\
    --with-apr=3D${APR_DIR} \
  &n=
bsp;=20
--with-apr-util=3D${APU_DIR} \
    --with-expat=
=3Dbuiltin=20
\
    --with-mpm=3Dworker \
   =
=20
--with-ssl=3D${OPENSSL_TARGET_DIR} \
   =20
--enable-lib64


ft>


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






Thanks Jorge.

Is it possible to build f=
or=20
x86-64 machine?

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


What could be the mistake that I am doing.

Ple=
ase=20
let me know.

Thanks & Regards,
Aruna.

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

style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rg=
b(16,16,255) 2px solid">
From:=20
Jorge Medina <jmedina@e-dialog.com>
Subject: RE:=20
[users@httpd] Apache build
To: "users@httpd.apache.org"=
=20
<users@httpd.apache.org>
Date: Thursday, November =
19,=20
2009, 1:49 AM



9> face=3DArial color=3D#0000ff size=3D2>It is doable. I compi=
le my own=20
apache and provide it as a tar.gz file bundled with other s=
et of=20
scripts.

9> face=3DArial color=3D#0000ff size=3D2> <=
/DIV>
9> face=3DArial color=3D#0000ff size=3D2>If the paths on the t=
arget=20
machine do not match the paths on your build machine, then =
you=20
will need to define LD_LIBRARY_PATH

9> face=3DArial color=3D#0000ff size=3D2> <=
/DIV>

ign=3Dleft>


From: Aruna Gummalla=20
[mailto:aruna_gummalla@yahoo.com]
Sent: Wednesda=
y,=20
November 18, 2009 3:11 PM
To:=20
users@httpd.apache.org
Subject: [users@httpd] Apa=
che=20
build






Hi,

I want to build httpd serve=
r and=20
install on some other machine with my own build scrip=
ts.=20


Does it hard codes any paths=20
internally?

Thanks &=20
Regards,
Aruna.

>




--_000_B8E384888845E847AAF71F54C119EDED30546D00eeyoreadedial og_--