The following reply was made to PR config/666; it has been noted by GNATS.
From: Christian Gilmore <[EMAIL PROTECTED]>
To: Marc Slemko <[EMAIL PROTECTED]>
Subject: Re: config/666
Date: Thu, 5 Jun 1997 13:22:00 -0400
>On Wed, 4 Jun 1997, Christian Gilmore wrote:
>
>> At 9:02 PM -0700 6/3/97, [EMAIL PROTECTED] wrote:
>>
>> >Please send the contents of your src/Makefile.config
>> >and support/Makefile. It should include them...
>>
>> src/Makefile.config:
>>
>> ###############
>> # Platform: SGI IRIX
>
>I assume this is from a different machine? You reported it for SunOS
>5.5.1 originally.
>
>If this is for a different machine, what version of IRIX is it? I would
>prefer to go through this either on SunOS 5.5.x or IRIX 6.2, since those
>are the platforms that I have the easiest access to.
My fault. I have a server running on each platform, SunOS Solaris and Irix
5.3. The problem occurs on both platforms. I'll send you the Makefiles for
the Solaris version as well at the end of this message.
>What is output when you run ./Configure?
Using config file: Confirutation
Using Makefile template file: Makefile.thpl
+ configured for SGI IRIX platform
or
+ configured for Solaris 2 platform
depending on which platform I'm running on.
>What compiler is used when you make the server?
gcc 2.7.2.1
>Did you change the Configuration file? Are you sure you didn't uncomment
>the CC= line but leave it empty?
The CC line reads 'CC=gcc', uncommented. The server compiles just fine and
when I add by hand the CC line into the support/Makefile, things there
compile just fine. It is simply that somehow the CC information is not
included in the creation of support/Makefile.
The makefile.tmpl and support/makefile for the solaris installation:
# Apache makefile template (well, suffix).
# This is combined with the information in the "Configuration" file
# by the configure script to make the actual Makefile.
CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
LIBS=$(EXTRA_LIBS) $(LIBS1)
INCLUDES=$(INCLUDES1) $(EXTRA_INCLUDES)
LFLAGS=$(LFLAGS1) $(EXTRA_LFLAGS)
OBJS= alloc.o http_main.o http_core.o http_config.o http_request.o \
http_log.o http_protocol.o rfc1413.o util.o util_script.o modules.o buff.o\
md5c.o util_md5.o explain.o http_bprintf.o util_date.o util_snprintf.o\
$(MODULES)
.c.o:
$(CC) -c $(INCLUDES) $(CFLAGS) $(SPACER) $<
all: @@Configuration@@ httpd
@@Configuration@@: Configuration.tmpl
@echo "@@Configuration@@ older than Configuration.tmpl, or doesn't
exist."
@echo "Consider copying Configuration.tmpl to @@Configuration@@,
editing and rerunning"
@echo "Configure."
@echo "If not, you will at least have to touch @@Configuration@@."
@false
httpd: $(REGLIB) $(OBJS)
$(CC) $(LFLAGS) -o httpd $(OBJS) $(LIBS) $(REGLIB)
regex/libregex.a:
(cd regex; $(MAKE) lib CC=$(CC) AUX_CFLAGS='$(CFLAGS)'
RANLIB='$(RANLIB)')
modules/last-built:
(cd modules; \
$(MAKE) CC=$(CC) AUX_CFLAGS='$(CFLAGS)' RANLIB='$(RANLIB)')
clean:
rm -f httpd $(OBJS)
cd regex; $(MAKE) clean
cd modules; $(MAKE) clean
dist.tar:
# Assure a semi-sensible configuration going out...
cp Makefile.orig Makefile
cp modules.c.orig modules.c
tar cvf dist.tar README INSTALL CHANGES TODO API.html \
Configuration Configure Makefile.tmpl Makefile *.h *.c
# Work around broken compilers
http_bprintf.o: http_bprintf.c
$(CC) -c $(INCLUDES) $(CFLAGS) $(BROKEN_BPRINTF_FLAGS) http_bprintf.c
#Dependencies
$(OBJS): Makefile
alloc.o: conf.h alloc.h
buff.o: conf.h alloc.h buff.h
explain.o: explain.h
http_bprintf.o: conf.h alloc.h buff.h
http_config.o: httpd.h http_config.h http_core.h http_log.h http_request.h \
http_conf_globals.h explain.h
http_core.o: httpd.h http_config.h http_core.h http_protocol.h scoreboard.h \
http_conf_globals.h http_main.h http_log.h rfc1413.h util_md5.h
http_log.o: httpd.h http_config.h http_core.h http_log.h
http_main.o: httpd.h http_config.h http_core.h http_log.h http_request.h \
http_conf_globals.h http_protocol.h http_main.h scoreboard.h \
explain.h
http_protocol.o: httpd.h http_config.h http_core.h http_protocol.h \
http_main.h http_log.h util_date.h
http_request.o: httpd.h http_config.h http_request.h http_core.h \
http_protocol.h http_log.h http_main.h scoreboard.h
md5c.o: md5.h
mod_access.o: httpd.h http_core.h http_config.h http_log.h
mod_actions.o: httpd.h http_config.h http_request.h http_core.h \
http_protocol.h http_main.h http_log.h util_script.h
mod_alias.o: httpd.h http_config.h
mod_asis.o: httpd.h http_config.h http_protocol.h http_log.h util_script.h \
http_main.h http_request.h
mod_auth.o: httpd.h http_config.h http_core.h http_log.h http_protocol.h
mod_auth_anon.o: httpd.h http_config.h http_core.h http_log.h http_protocol.h
mod_auth_db.o: httpd.h http_config.h http_core.h http_log.h http_protocol.h
mod_auth_dbm.o: httpd.h http_config.h http_core.h http_log.h http_protocol.h
mod_auth_msql.o: httpd.h http_config.h http_core.h http_log.h http_protocol.h
mod_browser.o: httpd.h http_config.h
mod_cern_meta.o: httpd.h http_config.h util_script.h http_log.h
mod_cgi.o: httpd.h http_config.h http_request.h http_core.h http_protocol.h \
http_main.h http_log.h util_script.h
mod_digest.o: httpd.h http_config.h http_core.h http_log.h http_protocol.h \
util_md5.h
mod_dir.o: httpd.h http_config.h http_core.h http_request.h http_protocol.h \
http_log.h http_main.h util_script.h
mod_dld.o: httpd.h http_config.h http_conf_globals.h
mod_env.o: httpd.h http_config.h
mod_expires.o: httpd.h http_config.h http_log.h
mod_headers.o: httpd.h http_config.h
mod_imap.o: httpd.h http_config.h http_request.h http_core.h http_protocol.h \
http_main.h http_log.h util_script.h
mod_include.o: httpd.h http_config.h http_request.h http_core.h http_log.h \
http_protocol.h http_main.h util_script.h
mod_info.o: httpd.h http_config.h http_core.h http_log.h http_main.h \
http_protocol.h util_script.h
mod_log_agent.o: httpd.h http_config.h
mod_log_config.o: httpd.h http_config.h http_core.h
mod_log_referer.o: httpd.h http_config.h
mod_mime.o: httpd.h http_config.h
mod_negotiation.o: httpd.h http_config.h http_request.h http_core.h http_log.h
mod_rewrite.o: httpd.h http_config.h http_request.h http_core.h http_log.h \
mod_rewrite.h
mod_status.o: httpd.h http_config.h http_core.h http_protocol.h http_main.h \
util_script.h scoreboard.h
mod_userdir.o: httpd.h http_config.h
mod_usertrack.o: httpd.h http_config.h http_core.h
modules.o: httpd.h http_config.h
rfc1413.o: httpd.h http_log.h rfc1413.h
util.o: httpd.h http_conf_globals.h
util_date.o: util_date.h
util_md5.o: httpd.h util_md5.h
util_script.o: httpd.h http_config.h http_conf_globals.h http_main.h \
http_log.h http_protocol.h http_core.h http_request.h \
util_script.h
util_snprintf.o: httpd.h
httpd.h: conf.h alloc.h buff.h
util_md5.h: md5.h
###############
# Platform: Solaris 2
# Final Rules:
# Rule WANTHSREGEX=yes
###############
CFLAGS1= -DSOLARIS2
INCLUDES1= -Iregex
LIBS1= -lsocket -lnsl
LFLAGS1=
BROKEN_BPRINTF_FLAGS=
REGLIB=regex/libregex.a
RANLIB=ranlib
SHELL=/bin/sh
#### End of Configure created section ####
# Apache makefile template (well, suffix).
# This is combined with the information in the "Configuration" file
# by the configure script to make the actual Makefile.
CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
LIBS=$(EXTRA_LIBS) $(LIBS1)
INCLUDES=-I../src -I../src/regex $(INCLUDES1) $(EXTRA_INCLUDES)
LFLAGS=$(LFLAGS1) $(EXTRA_LFLAGS)
.c.o:
$(CC) -c $(CFLAGS) $(INCLUDES) $<
TARGETS=htpasswd htdigest httpd_monitor rotatelogs logresolve
all: $(TARGETS)
htpasswd: htpasswd.c
$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(LIBS)
htdigest: htdigest.c
$(CC) $(CFLAGS) htdigest.c -o htdigest
httpd_monitor: httpd_monitor.c
$(CC) $(INCLUDES) $(CFLAGS) httpd_monitor.c -o httpd_monitor
rotatelogs: rotatelogs.c
$(CC) $(INCLUDES) $(CFLAGS) rotatelogs.c -o rotatelogs
logresolve: logresolve.c
$(CC) $(INCLUDES) $(CFLAGS) logresolve.c -o logresolve $(LIBS)
clean:
rm -f $(TARGETS)
----------------------------------------------------------------------
Christian Gilmore | [EMAIL PROTECTED]
Room C047 | http://www.research.att.com/info/cgilmore
180 Park Avenue |
Florham Park, NJ 07932 |
(201) 360 - 8366 | AT&T Research, Florham Park