home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!sh.wide!ascwide!ascgw!uitecgw!nemossan
- From: nemossan@uitec.ac.jp (Sakurao NEMOTO)
- Newsgroups: comp.os.minix
- Subject: problems on creating the "minix-1.6.24b"
- Message-ID: <1648@uitecgw.uitec.ac.jp>
- Date: 4 Jan 93 05:14:39 GMT
- Organization: Univ. Industrial Tech., Sagamihara, JAPAN
- Lines: 215
-
- The following are the report from kh@mix on minix-1.6.24b, which is
- written by him originally in English.
- ------------------------------------------------------------------------
- [1] The "unshar" problem
-
- 1) Doubly archived shell scripts (*.sh)
-
- The "unshar" command fails to un-archive doubly archived shell
- scripts such as "*.sh" files in the "1.6.24b" kit. Only the first
- "*.d" file is gotten, and all the rests are discarded from "*.cd" files.
-
- 2) Archived binary file (hyphenate.c)
-
- Also the "unshar" command fails to get the "hyphenate.c" file
- in the "commands.sh" archive. This file contains some non-ascii
- characters which is considered to be binary file by the "unshar" command.
-
-
- [2] The "Install" script
-
- 1) Removing necessary files
-
- The "Install" script removes original files to be patched by "*.d"
- files. So we get no files in the commands/bawk directory etc.
-
- 2) Un-quoted "&"
-
- In the line bellow in the "Install" script,
-
- echo unpacking complete Now install files for K&R compiler
-
- the "&" character is interpreted by the "sh" command.
-
- 3) Same line (harmless)
-
- The "Install" script contains the two same lines as bellow.
-
- cp kernel/Makefile.kr Makefile
- cp kernel/Makefile.ansi Makefile
-
-
- [3] The "patch" problem (memory over)
-
- The "patch" commands in 16-bit Minix fails with these files.
-
- commands/ic/ic.c.d
- commands/ls.c.d
- commands/mined/mined1.c
- commands/nroff/command.c.d, escape.c.d
-
-
- [4] Un-matched files in "1.6.24b.crc"
-
- The "crc"s of these files are not matched with the "crc" valudes
- in the "1.6.24b" file.
-
- commands/elvis/Doc.sh, Man.sh (not present)
- commands/fixbin.sh
- commands/kermit/READ_ME
- commands/m4/READ_ME
- commands/whatis.sh (not present)
- lib/ansi/malloc.c, wctomb.c
- lib/em/Makefile, adi.s, stb.c
- lib/math/Makefile
- lib/rts/fphook.c (Makefile.ansi and Makefile.kr are not present)
- lib/stdio/Makefile, ecvt.c
-
- The original Malloc.c, wctomb.c, adi.s, stb.c, fphook.c files are taken
- from the "Unipress" version (25 JUNE-91) of the "ANSI-ACK-C" compiler.
-
-
- [5] Possible fixes for the "commands/unshar.c" and "Install" script.
-
-
- ---------------------------------------------------------------------------
- *** ORGunshar.c Fri Jan 1 12:38:33 1993
- --- unshar.c Sat Jan 2 11:43:47 1993
- ***************
- *** 75,84 ****
- --- 75,86 ----
- *buf = 0;
- return(EOF);
- }
- + /*
- if (ch > 127) {
- binfile = 1;
- return(0);
- }
- + */
- *buf++ = ch;
- }
-
- ***************
- *** 177,188 ****
- fclose(zout);
- return;
- }
- - if ((how == YESX) && (*temp == lead)) temp++; /* Skip any lead */
- -
- if (strcmp(temp, end) == 0) { /* If end word */
- fclose(zout); /* close the file */
- return;
- }
- fprintf(zout, "%s\n", temp);
- }
- }
- --- 179,190 ----
- fclose(zout);
- return;
- }
- if (strcmp(temp, end) == 0) { /* If end word */
- fclose(zout); /* close the file */
- return;
- }
- + if ((how == YESX) && (*temp == lead)) temp++; /* Skip any lead */
- +
- fprintf(zout, "%s\n", temp);
- }
- }
- ----------------------------------------------------------------------------
- *** ORGInstall Thu Dec 31 18:13:55 1992
- --- Install Sat Jan 2 11:13:38 1993
- ***************
- *** 96,112 ****
- do mv $i.sh lib/$i
- done
- mv commands.sh commands
- ! rm -rf commands/ibm; mkdir commands/ibm ; mv ibm.sh commands/ibm/ibm.sh
- ! for i in aal advent bawk bc de dis88 elle elvis ic indent kermit m4 \
- ! make mined nroff patch sh zmodem
- ! do rm -rf commands/$i
- ! mkdir commands/$i
- mv $i.sh commands/$i
- done
-
- # Everything is present. Unpack the shar files
- echo Begin unpacking files
- ! for i in include kernel fs mm tools
- do cd $i;
- unshar $i.sh >log; unshar $i.cd >>log
- for j in *.d; do patch <$j >>log 2>&1; done
- --- 96,113 ----
- do mv $i.sh lib/$i
- done
- mv commands.sh commands
- ! #rm -rf commands/ibm; mkdir commands/ibm ; mv ibm.sh commands/ibm/ibm.sh
- ! mv ibm.sh commands/ibm/ibm.sh
- ! for i in aal advent bawk bc de dis88 elle elvis ic indent kermit m4 \
- ! make mined nroff patch sh zmodem
- ! do #rm -rf commands/$i
- ! #mkdir commands/$i
- mv $i.sh commands/$i
- done
-
- # Everything is present. Unpack the shar files
- echo Begin unpacking files
- ! for i in include kernel fs mm tools test
- do cd $i;
- unshar $i.sh >log; unshar $i.cd >>log
- for j in *.d; do patch <$j >>log 2>&1; done
- ***************
- *** 162,168 ****
- # Fix up ANSI vs. K&R stuff
- case $1 in
- kr)
- ! echo Unpacking complete. Now install files for K&R compiler
- suffix=a
- archiver=ar
- cp include/ctype.h.kr include/ctype.h
- --- 163,169 ----
- # Fix up ANSI vs. K&R stuff
- case $1 in
- kr)
- ! echo "Unpacking complete. Now install files for K&R compiler"
- suffix=a
- archiver=ar
- cp include/ctype.h.kr include/ctype.h
- ----------------------------------------------------------------------------
-
-
- [6] Some hints
-
- 1) Check these directories to be exist before running the "Install" script.
-
- $old/lib/stdio
- $old/commands/aal
- $old/comamnds/advent
- $old/commands/bc
- $old/elle
-
- 2) The "-x" option in the "unshar" command
-
- We can extract only specified files by the "-x" option from any
- shell archive file, i.e
-
- unshar -xls.c.d commands.sh
-
-
-
- ps. This is only my view, ..
-
- 1) I hope the next official Minix will be supported both the real mode
- and 32-bit mode. Most of the numerical application need more memory
- than 64K+64K.
-
- 2) There are many people who can not access by "ftp". It seems to me
- that many people lost interest this news group because of this situation.
- Perhaps distributing cdifs by network-news make active this news group
- and it is cheaper than ftp. (Is this situation Japn only ?)
- ------------------------------------------------------------------------
- Originally written in English by kh@mix.
-
- (Mon) Jan 04 14:13 JST(+0900) 1993 nemossan@uitec.ac.jp
- (NEMOTO Sakurao, Univ.Indust.Tech. Sagamihara 229 JAPAN)
- (Tel: +81 427 63 9136 >DIALin< Fax: +81 427 63 9011)
-