httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: cvs snapshot troubles
Date Mon, 25 Aug 1997 23:36:49 GMT
Yeah do something like this:

#if SOLARIS2 >= 250
#define USE_PTHREAD_SERIALIZED_ACCEPT
#else
#define USE_FCNTL_SERIALIZED_ACCEPT
#endif

or... whatever it used to use. I think I left the old value commented out. 

Dean

On Mon, 25 Aug 1997, Marc Slemko wrote:

> On Mon, 25 Aug 1997, Doug MacEachern wrote:
> 
> > with the latest cvs snapshot, and nothing more than:
> 
> Don't use snapshots, use anoncvs.
> 
> (no, that isn't your problem.  I just like saying to use anoncvs.)
> 
> > cp Configuration.tmpl Configuration
> > ./Configure && make
> > 
> > under hpux-10-10 I get:
> > 
> >         make CC='gcc' AUX_CFLAGS=' -DHPUX10 ' RANLIB='ranlib')
> >         (cd standard; make CC='gcc' AUX_CFLAGS=' -DHPUX10 ' RANLIB='ranlib')
> > Make: line 48: syntax error.  Stop.
> > *** Error exit code 1
> 
> What if you do a "cd standard; make" from the command line?  What if you
> do one with the above flags from the command line?  What if you remove the
> spaces from -DHPUX10?
> 
> > 
> > Stop.
> > *** Error exit code 1
> > 
> > Stop.                 
> > 
> > under solaris I get:
> > 
> > cd main; make CC='gcc' AUX_CFLAGS=' -DSOLARIS2=240 ' RANLIB='ranlib'
> > make[1]: Entering directory `/tmp/apache_1.3a2-dev/src/main'
> > gcc -c -I/tmp/apache_1.3a2-dev/src/main   -DSOLARIS2=240   alloc.c
> > gcc -c -I/tmp/apache_1.3a2-dev/src/main   -DSOLARIS2=240   http_main.c
> > http_main.c:337: pthread.h: No such file or directory
> > make[1]: *** [http_main.o] Error 1
> > make[1]: Leaving directory `/tmp/apache_1.3a2-dev/src/main'
> > make: *** [core-dir] Error 2      
> > 
> > I have not looked into either, am I missing a new configuration/build
> > step or is it a "work-in-progress" problem(s)?
> 
> Your solaris is too old.  Well, more to the point Dean's code is to new.
> It appears that 2.4 doesn't support pthreads, so you will have to change
> conf.h to use another serialized accept.  I guess this should be changed
> to only use pthread serialized accept for v2.5(?) and greater.
> 
> 


Mime
View raw message