You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Cliff Woolley <jw...@virginia.edu> on 2002/06/11 19:03:03 UTC

tarballs are up for testing

... in http://httpd.apache.org/dev/dist/

--Cliff


Re: makefile question (was Re: tarballs are up for testing)

Posted by Cliff Woolley <jw...@virginia.edu>.
On Mon, 17 Jun 2002, jean-frederic clere wrote:

> The next thing to arrange is the libtool. ReliantUnix needs a
> -Wl,-Blargedynsym flag (used to be in LDFLAGS_SHLIB_EXPORT). I have
> copied my own libtool to the srclib/apr/libtool to get a running
> httpd-2.0).

That can be fixed in the binbuild, same as for the other platforms with
libtool problems.

Not a showstopper.

--Cliff


Re: makefile question (was Re: tarballs are up for testing)

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Cliff Woolley wrote:
> On Mon, 17 Jun 2002, jean-frederic clere wrote:
> 
> 
>>"-@" works on ReliantUnix.
>>"- @" doesn't:
> 
> 
> But your original patch said "- @".

The environment was wrong... That was using a gnu make.

> Oh well.  Anyway, in other words, I
> made the right choice, and 2.0.38 builds correctly on ReliantUnix,
> correct?

2.0.38 should build correctly. (with gnu make and native make).
I am building for the moment.

The next thing to arrange is the libtool. ReliantUnix needs a -Wl,-Blargedynsym 
flag (used to be in LDFLAGS_SHLIB_EXPORT).
I have copied my own libtool to the srclib/apr/libtool to get a running httpd-2.0).

> 
> --Cliff
> 
> 




Re: makefile question (was Re: tarballs are up for testing)

Posted by Cliff Woolley <jw...@virginia.edu>.
On Mon, 17 Jun 2002, jean-frederic clere wrote:

> "-@" works on ReliantUnix.
> "- @" doesn't:

But your original patch said "- @".  Oh well.  Anyway, in other words, I
made the right choice, and 2.0.38 builds correctly on ReliantUnix,
correct?

--Cliff


Re: makefile question (was Re: tarballs are up for testing)

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Cliff Woolley wrote:
> On Sat, 15 Jun 2002, Cliff Woolley wrote:
> 
> 
>>On FreeBSD:
> 
> 
> "-@" seems to work, but "- @" doesn't.  I'll try the -@ on all the
> platforms I have access to and see if that one works.  Will it work on
> ReliantUnix?
> 
> 


"-@" works on ReliantUnix.

"- @" doesn't:
+++
$ make
         @ rm toto

make: Fatal error: cannot load @ (bu24).
make: *** Error code 2 (ignored)
make: *** Error code 2 (bu21) (ignored)
+++


Re: makefile question (was Re: tarballs are up for testing)

Posted by Cliff Woolley <jw...@virginia.edu>.
On Sat, 15 Jun 2002, Cliff Woolley wrote:

> On FreeBSD:

"-@" seems to work, but "- @" doesn't.  I'll try the -@ on all the
platforms I have access to and see if that one works.  Will it work on
ReliantUnix?


Re: makefile question (was Re: tarballs are up for testing)

Posted by Cliff Woolley <jw...@virginia.edu>.
On Sat, 15 Jun 2002, Cliff Woolley wrote:

> I just noticed that the '- ' prefix isn't being used anywhere else in our
> Makefiles.  Are we sure it's portable?

Mmmmmmm..... not 100%.

On FreeBSD:

mkdir /x1/home/jwoolley/test-38p1/manual
@test "x/x1/home/jwoolley/test-38p1/htdocs" != "x" && cd
/x1/home/jwoolley/test-38p1/htdocs && find . -name "CVS" -print | xargs rm
-rf
@test: not found
*** Error code 127 (ignored)

[etc].  I'll try it without the @ and see what happens.

--Cliff


makefile question (was Re: tarballs are up for testing)

Posted by Cliff Woolley <jw...@virginia.edu>.
On Sat, 15 Jun 2002, Cliff Woolley wrote:

> On Wed, 12 Jun 2002, jean-frederic clere wrote:
>
> > I have noted the following on ReliantUnix:
> > +++
> > Installing configuration files
> > Installing HTML documents
> > Usage: rm [-firR] file ...
> > make[1]: *** [install-htdocs] Error 2
> > make[1]: Leaving directory `/home1/apache20/httpd-2.0.37'
> > make: *** [install-recursive] Error 1
> > +++
> > The fix is easy. Find it attached.
>
> Committed, thanks!

I just noticed that the '- ' prefix isn't being used anywhere else in our
Makefiles.  Are we sure it's portable?

--Cliff


Re: tarballs are up for testing

Posted by Cliff Woolley <jw...@virginia.edu>.
On Wed, 12 Jun 2002, jean-frederic clere wrote:

> I have noted the following on ReliantUnix:
> +++
> Installing configuration files
> Installing HTML documents
> Usage: rm [-firR] file ...
> make[1]: *** [install-htdocs] Error 2
> make[1]: Leaving directory `/home1/apache20/httpd-2.0.37'
> make: *** [install-recursive] Error 1
> +++
> The fix is easy. Find it attached.

Committed, thanks!

--Cliff


Re: tarballs are up for testing

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Cliff Woolley wrote:
> ... in http://httpd.apache.org/dev/dist/
> 
> --Cliff
> 
> 

I have noted the following on ReliantUnix:
+++
Installing configuration files
Installing HTML documents
Usage: rm [-firR] file ...
make[1]: *** [install-htdocs] Error 2
make[1]: Leaving directory `/home1/apache20/httpd-2.0.37'
make: *** [install-recursive] Error 1
+++
The fix is easy. Find it attached.

Cheers

Jean-frederic


Re: --with-mpm=worker on freebsd

Posted by Jeff Trawick <tr...@attglobal.net>.
Doug MacEachern <do...@covalent.net> writes:

> On Tue, 11 Jun 2002, Cliff Woolley wrote:
>  
> > Because threads are forced to be disabled on FreeBSD.  I believe there's a
> > warning message about this in the ./configure output... you might just not
> > have noticed it as it scrolled by.
> 
> that's odd, why not just abort with a message "sorry only prefork 
> supported".

+1 to that

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Re: --with-mpm=worker on freebsd

Posted by Greg Ames <gr...@apache.org>.
Doug MacEachern wrote:
> 
> On Tue, 11 Jun 2002, Cliff Woolley wrote:
> 
> > Because threads are forced to be disabled on FreeBSD.  I believe there's a
> > warning message about this in the ./configure output... you might just not
> > have noticed it as it scrolled by.
> 
> that's odd, why not just abort with a message "sorry only prefork
> supported".  anyhow, if threads are always disabled on freebsd, then
> APR_HAS_THREADS should always be 0, right?  

The _default_ on FreeBSD is no threads.  You can override this with
--enable-threads if you are brave.

Greg

Re: --with-mpm=worker on freebsd

Posted by Doug MacEachern <do...@covalent.net>.
On Tue, 11 Jun 2002, Cliff Woolley wrote:
 
> Because threads are forced to be disabled on FreeBSD.  I believe there's a
> warning message about this in the ./configure output... you might just not
> have noticed it as it scrolled by.

that's odd, why not just abort with a message "sorry only prefork 
supported".  anyhow, if threads are always disabled on freebsd, then 
APR_HAS_THREADS should always be 0, right?  a guy on the modperl list 
compiled --with-mpm=worker on freebsd, his apr.h has:
#define APR_HAS_THREADS           1

he's running freebsd 4.5-release

also, aren't the thread issues solved in newer freebsd's?
icarus is running FreeBSD 4.6-RC #11: Mon Jun  3 17:17:13 PDT 2002


Re: --with-mpm=worker on freebsd

Posted by Cliff Woolley <jw...@virginia.edu>.
On Tue, 11 Jun 2002, Doug MacEachern wrote:

> why is it on freebsd --with-mpm=worker actually compiles the prefork
> mpm? i just tried building on icarus with the 2.0.37 tarball, same thang
> with 2.0.36

Because threads are forced to be disabled on FreeBSD.  I believe there's a
warning message about this in the ./configure output... you might just not
have noticed it as it scrolled by.

--Cliff


Re: --with-mpm=worker on freebsd

Posted by Pier Fumagalli <pi...@betaversion.org>.
"Doug MacEachern" <do...@covalent.net> wrote:

> why is it on freebsd --with-mpm=worker actually compiles the prefork mpm?
> i just tried building on icarus with the 2.0.37 tarball, same thang with
> 2.0.36
> 
> % cat config.nice
> #! /bin/sh
> #
> # Created by configure
> 
> CFLAGS="-g"; export CFLAGS
> "./configure" \
> "--prefix=/home/dougm/apache2-worker" \
> "--with-mpm=worker" \
> "$@"
> 
> % ~/apache2-worker/bin/httpd -V
> Server version: Apache/2.0.37
> Server built:   Jun 11 2002 10:18:20
> Server's Module Magic Number: 20020602:1
> Architecture:   32-bit
> Server compiled with....
> -D APACHE_MPM_DIR="server/mpm/prefork"
> ...
> 
> % ~/apache2-worker/bin/httpd -l | grep prefork
> prefork.c

Hmm.. The latest HEAD distribution works great on solaris with worker

$ /opt/apache/bin/httpd -l | grep worker
worker.c
$

    Pier


--with-mpm=worker on freebsd

Posted by Doug MacEachern <do...@covalent.net>.
why is it on freebsd --with-mpm=worker actually compiles the prefork mpm?
i just tried building on icarus with the 2.0.37 tarball, same thang with 
2.0.36

% cat config.nice 
#! /bin/sh
#
# Created by configure

CFLAGS="-g"; export CFLAGS
"./configure" \
"--prefix=/home/dougm/apache2-worker" \
"--with-mpm=worker" \
"$@"

% ~/apache2-worker/bin/httpd -V
Server version: Apache/2.0.37
Server built:   Jun 11 2002 10:18:20
Server's Module Magic Number: 20020602:1
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 ...

% ~/apache2-worker/bin/httpd -l | grep prefork
  prefork.c