You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Lee Fellows <lf...@4lane.com> on 2003/04/11 18:15:53 UTC

RE: [users@httpd] unable to build apache binary on either linux orsolaris

On Fri, 2003-04-11 at 10:55, Lee Fellows wrote:
> On Fri, 2003-04-11 at 10:10, Eugen Leitl wrote:
> > Thanks for the quick reply.
> > 
> > Unsurprisingly, <http://httpd.apache.org/dev/binaries.html>
> > is not applicable to more recent Apache versions.
> > 
> > I've tried several from the 2.0 branch, but the current
> > one is httpd-2.0.45.tar.gz 1f33e9a2e2de06da190230fa72738d75
> > I'm using gcc (GCC) 3.2.2 on SunOS u03 5.7 Generic_106541-15
> > sun4u sparc SUNW,Ultra-250 and gcc (GCC) 3.2 20020903
> > (Red Hat Linux 8.0 3.2-7) on Linux hydrogen.leitl.org
> > 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
> > 
> > I have the full configuration options, here they are again:
> > I've tried ./build/binbuild.sh prior to running ./configure
> > and after running ./configure --prefix=/some/me-writable/dir
> > and also after
> > ./configure --prefix=/home/eugen/download/apache2 --with-layout=Apache
> > 
> > If I do (under above RH Linux):
> > 	tar zxvf httpd-2.0.45.tar.gz
> > 	httpd-2.0.45
> > 	./build/binbuild.sh
> > 
> > I get:
> > Building Apache 2.0.45 binary distribution...
> > Platform is "i686-pc-linux-gnu"...
> > Build log for Apache binary distribution
> > ----------------------------------------------------------------------
> > checking for chosen layout... Apache
> > checking for working mkdir -p... yes
> > checking build system type... i686-pc-linux-gnu
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... i686-pc-linux-gnu
> > 
> > Configuring Apache Portable Runtime library ...
> > 
> > checking for APR... reconfig
> > configuring package in srclib/apr now
> > checking build system type... i686-pc-linux-gnu
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... i686-pc-linux-gnu
> > Configuring APR library
> > Platform: i686-pc-linux-gnu
> > checking for working mkdir -p... yes
> > APR Version: 0.9.3
> > ** Error: unable to find layout Apache
> > configure failed for srclib/apr
> > ----------------------------------------------------------------------
> > make: *** No targets specified and no makefile found.  Stop.
> > ERROR: Failed to build Apache. See "build.log" for details.
> > 
> 
>   running build/binbuild.sh produces the same error for me on SuSE 8.1.
> 
>   This is one for the Apache developers as there is a problem with
>   config.layout as it exists in srclib/apr and srclib/apr-lib at least.
>   The 'Apache' section of config.layout is missing in at least thses
>   two copies, perhaps others also.
> 
>   You could try copying the missing section into the config.layouts in
>   the subdirectories, but I have not pursued this to a full build.  
> 
> 
>   Not sure what build/binbuild.sh gives you that running a normal 
>   configure/make/install would not do?


  I copied config.layout over srclib/apr/config.layout and
  srclib/apr-lib/config.layout and the build completed OK.

  Would seem this is a bug with the build/binbuild.sh procedure.
-- 
Lee Fellows <lf...@4lane.com>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: SUCCESS: RE: [users@httpd] unable to build apache binary on either linux or solaris

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Friday, April 11, 2003 7:16 PM +0200 Eugen Leitl <el...@infochem.de> wrote:

> I've verified for both Linux and Solaris (details see below) that
>
> 	cp config.layout srclib/apr
> and
> 	cp config.layout srclib/apr-util/ (I think this alone is sufficient)
>
> in root directory of the source tarball prior to
> invoking
>
> 	./build/binbuild.sh
>
> results in a successful (though I haven't tested both binaries
> for functionality yet) build. Maybe this can be fixed in
> forthcoming Apache versions?

You really wanted to go here first:

http://www.apache.org/dist/httpd/patches/apply_to_2.0.45/

Jeff Trawick spotted this problem right after we rolled - the fix was 
available before we announced.  Just follow the directions and use 
layout.patch.  And, it's already been fixed properly in CVS (in a slightly 
different manner than layout.patch).

FWIW, your solution is wrong, but it just happens to work.  =)  -- justin

SUCCESS: RE: [users@httpd] unable to build apache binary on either linux or solaris

Posted by Eugen Leitl <el...@infochem.de>.
I've verified for both Linux and Solaris (details see below) that

	cp config.layout srclib/apr
and
	cp config.layout srclib/apr-util/ (I think this alone is sufficient)

in root directory of the source tarball prior to
invoking 

	./build/binbuild.sh

results in a successful (though I haven't tested both binaries
for functionality yet) build. Maybe this can be fixed in
forthcoming Apache versions?

Mad props to Lee Fellows <lf...@4lane.com>!

Thanks much,
-- Eugene


-----Original Message-----
From: Lee Fellows [mailto:lfellows@4lane.com]
Sent: Freitag, 11. April 2003 18:16
To: users@httpd.apache.org
Subject: RE: [users@httpd] unable to build apache binary on either
linuxorsolaris


On Fri, 2003-04-11 at 10:55, Lee Fellows wrote:
> On Fri, 2003-04-11 at 10:10, Eugen Leitl wrote:
> > Thanks for the quick reply.
> > 
> > Unsurprisingly, <http://httpd.apache.org/dev/binaries.html>
> > is not applicable to more recent Apache versions.
> > 
> > I've tried several from the 2.0 branch, but the current
> > one is httpd-2.0.45.tar.gz 1f33e9a2e2de06da190230fa72738d75
> > I'm using gcc (GCC) 3.2.2 on SunOS u03 5.7 Generic_106541-15
> > sun4u sparc SUNW,Ultra-250 and gcc (GCC) 3.2 20020903
> > (Red Hat Linux 8.0 3.2-7) on Linux hydrogen.leitl.org
> > 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
> > 
> > I have the full configuration options, here they are again:
> > I've tried ./build/binbuild.sh prior to running ./configure
> > and after running ./configure --prefix=/some/me-writable/dir
> > and also after
> > ./configure --prefix=/home/eugen/download/apache2 --with-layout=Apache
> > 
> > If I do (under above RH Linux):
> > 	tar zxvf httpd-2.0.45.tar.gz
> > 	httpd-2.0.45
> > 	./build/binbuild.sh
> > 
> > I get:
> > Building Apache 2.0.45 binary distribution...
> > Platform is "i686-pc-linux-gnu"...
> > Build log for Apache binary distribution
> > ----------------------------------------------------------------------
> > checking for chosen layout... Apache
> > checking for working mkdir -p... yes
> > checking build system type... i686-pc-linux-gnu
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... i686-pc-linux-gnu
> > 
> > Configuring Apache Portable Runtime library ...
> > 
> > checking for APR... reconfig
> > configuring package in srclib/apr now
> > checking build system type... i686-pc-linux-gnu
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... i686-pc-linux-gnu
> > Configuring APR library
> > Platform: i686-pc-linux-gnu
> > checking for working mkdir -p... yes
> > APR Version: 0.9.3
> > ** Error: unable to find layout Apache
> > configure failed for srclib/apr
> > ----------------------------------------------------------------------
> > make: *** No targets specified and no makefile found.  Stop.
> > ERROR: Failed to build Apache. See "build.log" for details.
> > 
> 
>   running build/binbuild.sh produces the same error for me on SuSE 8.1.
> 
>   This is one for the Apache developers as there is a problem with
>   config.layout as it exists in srclib/apr and srclib/apr-lib at least.
>   The 'Apache' section of config.layout is missing in at least thses
>   two copies, perhaps others also.
> 
>   You could try copying the missing section into the config.layouts in
>   the subdirectories, but I have not pursued this to a full build.  
> 
> 
>   Not sure what build/binbuild.sh gives you that running a normal 
>   configure/make/install would not do?


  I copied config.layout over srclib/apr/config.layout and
  srclib/apr-lib/config.layout and the build completed OK.

  Would seem this is a bug with the build/binbuild.sh procedure.
-- 
Lee Fellows <lf...@4lane.com>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



[users@httpd] SUCCESS: RE: [users@httpd] unable to build apache binary on either linux or solaris

Posted by Eugen Leitl <el...@infochem.de>.
I've verified for both Linux and Solaris (details see below) that

	cp config.layout srclib/apr
and
	cp config.layout srclib/apr-util/ (I think this alone is sufficient)

in root directory of the source tarball prior to
invoking 

	./build/binbuild.sh

results in a successful (though I haven't tested both binaries
for functionality yet) build. Maybe this can be fixed in
forthcoming Apache versions?

Mad props to Lee Fellows <lf...@4lane.com>!

Thanks much,
-- Eugene


-----Original Message-----
From: Lee Fellows [mailto:lfellows@4lane.com]
Sent: Freitag, 11. April 2003 18:16
To: users@httpd.apache.org
Subject: RE: [users@httpd] unable to build apache binary on either
linuxorsolaris


On Fri, 2003-04-11 at 10:55, Lee Fellows wrote:
> On Fri, 2003-04-11 at 10:10, Eugen Leitl wrote:
> > Thanks for the quick reply.
> > 
> > Unsurprisingly, <http://httpd.apache.org/dev/binaries.html>
> > is not applicable to more recent Apache versions.
> > 
> > I've tried several from the 2.0 branch, but the current
> > one is httpd-2.0.45.tar.gz 1f33e9a2e2de06da190230fa72738d75
> > I'm using gcc (GCC) 3.2.2 on SunOS u03 5.7 Generic_106541-15
> > sun4u sparc SUNW,Ultra-250 and gcc (GCC) 3.2 20020903
> > (Red Hat Linux 8.0 3.2-7) on Linux hydrogen.leitl.org
> > 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
> > 
> > I have the full configuration options, here they are again:
> > I've tried ./build/binbuild.sh prior to running ./configure
> > and after running ./configure --prefix=/some/me-writable/dir
> > and also after
> > ./configure --prefix=/home/eugen/download/apache2 --with-layout=Apache
> > 
> > If I do (under above RH Linux):
> > 	tar zxvf httpd-2.0.45.tar.gz
> > 	httpd-2.0.45
> > 	./build/binbuild.sh
> > 
> > I get:
> > Building Apache 2.0.45 binary distribution...
> > Platform is "i686-pc-linux-gnu"...
> > Build log for Apache binary distribution
> > ----------------------------------------------------------------------
> > checking for chosen layout... Apache
> > checking for working mkdir -p... yes
> > checking build system type... i686-pc-linux-gnu
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... i686-pc-linux-gnu
> > 
> > Configuring Apache Portable Runtime library ...
> > 
> > checking for APR... reconfig
> > configuring package in srclib/apr now
> > checking build system type... i686-pc-linux-gnu
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... i686-pc-linux-gnu
> > Configuring APR library
> > Platform: i686-pc-linux-gnu
> > checking for working mkdir -p... yes
> > APR Version: 0.9.3
> > ** Error: unable to find layout Apache
> > configure failed for srclib/apr
> > ----------------------------------------------------------------------
> > make: *** No targets specified and no makefile found.  Stop.
> > ERROR: Failed to build Apache. See "build.log" for details.
> > 
> 
>   running build/binbuild.sh produces the same error for me on SuSE 8.1.
> 
>   This is one for the Apache developers as there is a problem with
>   config.layout as it exists in srclib/apr and srclib/apr-lib at least.
>   The 'Apache' section of config.layout is missing in at least thses
>   two copies, perhaps others also.
> 
>   You could try copying the missing section into the config.layouts in
>   the subdirectories, but I have not pursued this to a full build.  
> 
> 
>   Not sure what build/binbuild.sh gives you that running a normal 
>   configure/make/install would not do?


  I copied config.layout over srclib/apr/config.layout and
  srclib/apr-lib/config.layout and the build completed OK.

  Would seem this is a bug with the build/binbuild.sh procedure.
-- 
Lee Fellows <lf...@4lane.com>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org