Status of 2.02-beta (source and binary for sun4)

Andrew J Cole <ajcole@cbl.leeds.ac.uk>
Date:  4 Apr 93 20:02 +0100
From: Andrew J Cole <ajcole@cbl.leeds.ac.uk>
To: timbl <timbl@nxoc01.cern.ch>, www-talk <www-talk@nxoc01.cern.ch>
Cc: j-germuska@nwu.edu
Message-id: <27434.9304041902(a)cbl.leeds.ac.uk>
Subject: Status of 2.02-beta (source and binary for sun4)
Tim,

I am a little confused over the status of httpd_2.02-beta, the sources on
info.cern.ch, and their relationship to httpd_2.02-beta and httpd_2.03-beta
(this is for a sun4).

Neither httpd_2.02-beta nor httpd_2.03-beta correctly return gif, mpeg or ps
files for me.

>-rwxrwxr-x  1 timbl    www       114688 Mar 17 17:01 httpd_2.02-beta
>-rwxrwxr-x  1 timbl    www       114688 Apr  1 18:00 httpd_2.03-beta

a typical error being ....

>HTFormat: Sorry, can't convert from application/postscript to www/present.<BODY>
><H1>Error 501</H1>
>
>  Sorry, can't convert from application/postscript to www/present.</BODY>

so I got the sources ....

>-rw-rw-r--  1 timbl    www       102293 Jan 27 14:47 WWWDaemon_0.9b.tar.Z
>-rw-rw-r--  1 timbl    www       145366 Mar 17 16:06 WWWDaemon_2.02-beta.tar.Z
>-rw-rw-r--  1 timbl    www       122575 Jan  6 16:39 WWWLibrary_1.1a.tar.Z
>-rw-rw-r--  1 timbl    www       168669 Mar 17 16:07 WWWLibrary_2.02-beta.tar.Z
>-rw-rw-r--  1 timbl    www        66881 Dec 14 12:13 WWWLineMode_1.4.tar.Z
>-rw-rw-r--  1 timbl    www        68803 Mar 16 15:27 WWWLineMode_2.0-alpha.tar.Z

and then unpacking WWWDaemon_2.02-beta.tar.Z, WWWLibrary_2.02-beta.tar.Z and
WWWLineMode_2.0-alpha.tar.Z which I had assumed would be sufficient to build
the current copy of httpd_2.02-beta (the dates on the tar files match nicely
with httpd_2.02-beta) ....

Running BUILD makes the sun4 Library then fails...

>mkdir ../../LineMode/sun4
>mkdir: ../../LineMode/sun4: File exists
>*** Error code 1 (ignored)
>(cd ../../LineMode/sun4; \
> make -f ../../All/Implementation/Makefile.product)
>make: Warning: Can't find `../../Specific/sun4/Makefile.include': No such file or directory
>Current working directory /usr/cblelcd/info.cern.ch/WWW/LineMode/sun4
>make: Fatal error in reader: ../../All/Implementation/Makefile.product, line 2: Read of include file `../../Specific/sun4/Makefile.include' failed
>Current working directory /usr/cblelcd/info.cern.ch/WWW/LineMode/sun4
>*** Error code 1
>make: Fatal error: Command failed for target `../../LineMode/sun4/www'

looking at Makefile.product ....

>% more All/Implementation/Makefile.product
>#       Make WWW product
>include ../../Specific/$(WWW_MACH)/Makefile.include
>include ../Implementation/CommonMakefile

its obvious that Specific needs changing to All ....

>mkdir ../../Daemon/sun4
>(cd ../../Daemon/sun4; \
> make -f ../../All/Implementation/Makefile.product)
>make: Fatal error: Don't know how to make target `../../Daemon/Implementation/HTDirRead.h'
>Current working directory /usr/cblelcd/info.cern.ch/WWW/Daemon/sun4
>*** Error code 1
>make: Fatal error: Command failed for target `../../Daemon/sun4/httpd'

missing file so after unpacking WWWDaemon_0.9b.tar.Z and overlaying with
WWWDaemon_2.02-beta.tar.Z ....

>(cd ../../Daemon/sun4; \
> make -f ../../All/Implementation/Makefile.product)
>cc -c -I../../Library/Implementation -DDEBUG  -o HTDaemonDIR.o -DRULES \
>-DRULE_FILE=\""/etc/httpd.conf"\" -DDIR_OPTIONS \
>        ../../Daemon/Implementation/HTDaemon.c
>cc -c -I../../Library/Implementation -DDEBUG  -DRULES -DRULE_FILE=\""/etc/httpd.conf"\" ../../Daemon/Implementation/HTRetrieve.c
>../../Daemon/Implementation/HTRetrieve.c: 37: Can't find include file HTDaemon.h
>*** Error code 2
>make: Fatal error: Command failed for target `HTRetrieve.o'
>Current working directory /usr/cblelcd/info.cern.ch/WWW/Daemon/sun4
>*** Error code 1
>make: Fatal error: Command failed for target `../../Daemon/sun4/httpd'

since I could not find HTDaemon.h and it doesnt appear to be necessary I
edited HTRetrieve.c to comment out the include file and everything then
recompiles ....

After this exercise the newly made httpd delivers both gif and Postscript
correctly but I am still seeing "Error 501" for .mpg files.

Have I missed something here?   

Andrew