Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Incorporating apr-1.3.2 into httpd-2.2.9 build

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


jap54 at cornell

Jul 1, 2008, 11:29 AM

Post #1 of 5 (225 views)
Permalink
Incorporating apr-1.3.2 into httpd-2.2.9 build

Good afternoon.

Hopefully I'm not about to look like an idiot by asking the
following, but if I do forgive me.

I too am having the issue of the apr install portion of my
httpd-2.2.9 build failing due to an empty APU_MODULES assignment. The
error detail I get is:


Making install in apr-util
make[2]: Entering directory `.../apache_builds/httpd-2.2.9/srclib/apr-util'
.../apache_builds/httpd-2.2.9/srclib/apr/build/mkdir.sh
.../apache_2.2.9_rel01/lib/apr-util-1
/bin/bash: -c: line 1: syntax error near unexpected token `;'
/bin/bash: -c: line 1: `for m in ; do /bin/bash
.../apache_builds/httpd-2.2.9/srclib/apr/libtool --silent --mode=install


I can see where this is an acknowledged issue fixed in apr-1.3.2.
What I can't find anywhere is how to incorporate this updated apr
into my apache build.

Can anyone provide "detailed" directions for me on how to accomplish this?

Thanks in advance

John A. Parker
Cornell University

jap54[at]cornell.edu
607-255-9356


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


wrowe at rowe-clan

Jul 1, 2008, 11:48 AM

Post #2 of 5 (223 views)
Permalink
Re: Incorporating apr-1.3.2 into httpd-2.2.9 build [In reply to]

John A Parker wrote:
>
> I can see where this is an acknowledged issue fixed in apr-1.3.2. What I
> can't find anywhere is how to incorporate this updated apr into my
> apache build.
>
> Can anyone provide "detailed" directions for me on how to accomplish this?

two choices;

1) build and install 1.3.2 apr, then apr-util, then httpd. Seperately.

2) unpack the contents of the 1.3.2 apr and apr-util tarballs on top of your
httpd-2.2.9/srclib/ directories of the name name (be sure you don't keep
the -1.3.2 designations, but use the naked apr/ and apr-util/ dir names)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


Severin.Gehwolf at uibk

Jul 1, 2008, 11:39 PM

Post #3 of 5 (211 views)
Permalink
Re: Incorporating apr-1.3.2 into httpd-2.2.9 build [In reply to]

Hi!

> Making install in apr-util
> make[2]: Entering directory `.../apache_builds/httpd-2.2.9/srclib/apr-util'
> .../apache_builds/httpd-2.2.9/srclib/apr/build/mkdir.sh
> .../apache_2.2.9_rel01/lib/apr-util-1
> /bin/bash: -c: line 1: syntax error near unexpected token `;'
> /bin/bash: -c: line 1: `for m in ; do /bin/bash
> .../apache_builds/httpd-2.2.9/srclib/apr/libtool --silent --mode=install

Let me guess: You are trying to build apache 2.2.9 on a Solaris 2.x box?
The above error appears upon "make install", right?

If so, Solaris 2.x provides some horribly old bash which does not
understand some syntax used here. I ran into a similar problem a few
weeks ago and installed/linked a newer bash version (version 3.x)
in /bin/bash (was bash 2.x) which fixed the problem. With bash 3.2.x
"make install" worked as expected.

Maybe you should give it a try :-)

Severin


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


jap54 at cornell

Jul 2, 2008, 7:49 AM

Post #4 of 5 (208 views)
Permalink
Re: Incorporating apr-1.3.2 into httpd-2.2.9 build [In reply to]

Hi Severin.

You were absolutely correct... the installs failed on both Solaris
5.8 and 5.9 systems. Both were using bash-2.0.17. I built and used
bash-3.2 and the installs worked correctly.

THANKS!

John

At 02:39 AM 7/2/2008, you wrote:
>Hi!
>
> > Making install in apr-util
> > make[2]: Entering directory `.../apache_builds/httpd-2.2.9/srclib/apr-util'
> > .../apache_builds/httpd-2.2.9/srclib/apr/build/mkdir.sh
> > .../apache_2.2.9_rel01/lib/apr-util-1
> > /bin/bash: -c: line 1: syntax error near unexpected token `;'
> > /bin/bash: -c: line 1: `for m in ; do /bin/bash
> > .../apache_builds/httpd-2.2.9/srclib/apr/libtool --silent --mode=install
>
>Let me guess: You are trying to build apache 2.2.9 on a Solaris 2.x box?
>The above error appears upon "make install", right?
>
>If so, Solaris 2.x provides some horribly old bash which does not
>understand some syntax used here. I ran into a similar problem a few
>weeks ago and installed/linked a newer bash version (version 3.x)
>in /bin/bash (was bash 2.x) which fixed the problem. With bash 3.2.x
>"make install" worked as expected.
>
>Maybe you should give it a try :-)
>
>Severin
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> " from the digest: users-digest-unsubscribe[at]httpd.apache.org
>For additional commands, e-mail: users-help[at]httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


jap54 at cornell

Jul 2, 2008, 7:52 AM

Post #5 of 5 (208 views)
Permalink
Re: Incorporating apr-1.3.2 into httpd-2.2.9 build [In reply to]

William,

Thanks for your response. Severin Gehwolf posted an answer about
issues with obsolete bash versions. Using a current bash solved my problem.

John

At 02:48 PM 7/1/2008, you wrote:
>John A Parker wrote:
>>I can see where this is an acknowledged issue fixed in apr-1.3.2.
>>What I can't find anywhere is how to incorporate this updated apr
>>into my apache build.
>>Can anyone provide "detailed" directions for me on how to accomplish this?
>
>two choices;
>
>1) build and install 1.3.2 apr, then apr-util, then httpd. Seperately.
>
>2) unpack the contents of the 1.3.2 apr and apr-util tarballs on top of your
> httpd-2.2.9/srclib/ directories of the name name (be sure you don't keep
> the -1.3.2 designations, but use the naked apr/ and apr-util/ dir names)
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> " from the digest: users-digest-unsubscribe[at]httpd.apache.org
>For additional commands, e-mail: users-help[at]httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.