You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Doug MacEachern <do...@opengroup.org> on 1997/08/26 01:55:31 UTC
Re: cvs snapshot troubles
Marc Slemko <ma...@worldgate.com> 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.)
I tried with both from-cvs and 'cvs checkout apachen'
> > 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?
Thats not it, OBJS is empty:
OBJS=
...
all: $(OBJS)
...
#line 48 below
$(OBJS): Makefile
mod_access.o: mod_access.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
$(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_core.h \
$(INCDIR)/http_config.h $(INCDIR)/http_log.h \
$(INCDIR)/http_request.h
under solaris, OBJS=mod_env.o mod_log_config.o ...
If I copy-n-paste this line into the hpux Makefile, now I get:
modules.c:9: garbage at end of number
modules.c:9: parse error before `500_module'
...
hmm, looking at modules.c _everything_ is `500_module' except
core_module. Looks like Configure under hpux 10.10 is broken, I can't
look further at the moment.
> 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.
eek. With Dean's #ifdef fix and taking -lpthread out of LIBS, all is
well with my old solaris.
-Doug
Re: cvs snapshot troubles
Posted by Dean Gaudet <dg...@arctic.org>.
On Mon, 25 Aug 1997, Doug MacEachern wrote:
> eek. With Dean's #ifdef fix and taking -lpthread out of LIBS, all is
> well with my old solaris.
Oh yeah. To fix -lpthread automatically you'd have to hack around in
Configure... I won't be able to do it until next week, hopefully someone
else will do it before then.
Dean
Re: cvs snapshot troubles
Posted by Marc Slemko <ma...@worldgate.com>.
You are still having this problem, right?
Works for me on HPUX 10.20. Which make/awk/sed/etc. are you using? GNU
stuff or HP stuff?
On Mon, 25 Aug 1997, Doug MacEachern wrote:
> > > 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?
>
> Thats not it, OBJS is empty:
>
> OBJS=
> ...
> all: $(OBJS)
> ...
> #line 48 below
> $(OBJS): Makefile
> mod_access.o: mod_access.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
> $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_core.h \
> $(INCDIR)/http_config.h $(INCDIR)/http_log.h \
> $(INCDIR)/http_request.h
>
> under solaris, OBJS=mod_env.o mod_log_config.o ...
>
> If I copy-n-paste this line into the hpux Makefile, now I get:
> modules.c:9: garbage at end of number
> modules.c:9: parse error before `500_module'
> ...
>
> hmm, looking at modules.c _everything_ is `500_module' except
> core_module. Looks like Configure under hpux 10.10 is broken, I can't
> look further at the moment.
>
> > 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.
>
> eek. With Dean's #ifdef fix and taking -lpthread out of LIBS, all is
> well with my old solaris.
>
> -Doug
>