NEXTSTEP



Title: Building SATAN for NEXTSTEP
Entry Number: 1893
Last Modified: <<Date June 17, 1997>>

tested with satan-1.0, perl5.001, OmniWeb 1.0, and
NEXTSTEP 3.3 on Sun SPARCstation 20

1. Get NEXTSTEP 3.3 for Intel, Suns, or HPs.  Install NEXTSTEP 3.3
2. Get perl5, build for NEXTSTEP, and install.
3. Get satan-1.0 and untar
4. Create executable shell script /bin/Mosaic containing:

#!/bin/sh
echo "Run web broswer as root and open $1"
echo -n "Hit return to end satan: "
read a

5. Edit satan-1.0/config/paths.sh
change
BASENAME=/bin/basename
to
BASENAME=/usr/bin/basename

6. run reconfig

7. Edit satan-1.0/src/misc/Makefile
change
$(BIN)/timeout: timeout.c
$(CC) $(CFLAGS) -o $@ $?
to
$(BIN)/timeout: timeout.c
$(CC) $(CFLAGS) -o $@ $? -posix
and
$(BIN)/safe_finger: safe_finger.c
to
$(BIN)/safe_finger: safe_finger.c putenv.c

8. Save this as satan-1.0/src/misc/putenv.c

9. Edit satan-1.0/perl/html.pl
After line 158
($HTML_CWD = "file:$script") =~ s/\/[^\/]*$//;
add
$HTML_CMD="/$HTML_CMD";
$script="/$script";

10. do make bsd
11. run ./satan