[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Porting akcl to SGI Personal Iris 4d20



I am trying to build akcl on a SGI personal Iris 4d20.  I have signed and
mailed the license agreement.  I got kcl from rascal.ics.utexas.edu and
I got akcl-1-222.tar.Z from cli.com.  I have kcl in the directory
usr/pat/kcl and akcl is in the directory /usr/pat/akcl.  As per the
directions for installing akcl, I edited h/sgi.defs as below:

******** /usr/pat/h/sgi.defs ************
LBINDIR=/usr/local/bin
#defs for the makefiles

# for sun3,sun2r3
OFLAG	=  -O 
LIBS	= -lm -lg 
ODIR_DEBUG=  -O3

CHTAB	= sgi_chtab.s
CC = cc  -DVOL= -I$(AKCLDIR)/o -temp=.
# If you don't have gcc use CC = cc -DVOL= 


MAINDIR = /usr/pat/kcl
CFLAGS	= -c $(DEFS)  -I../h

# The fast loading currently works for ATT and BSD with 68000 or 386
# architectures.  Unless you have these, leave these undefined.
RSYM	=
SFASL	=

# When using SFASL it is good to have (si::build-symbol-table)
INITFORM=(si::build-symbol-table)

# Use symbolic links
SYMB=-s
******** end-of-file ********************

This is what happened when I tried to make akcl:

******** begin wallpaper file ***********

% add-defs sgi
using sgi.defs
        cc -O merge.c -o ./merge
ccom: Warning: merge.c, line 360: illegal combination of pointer and integer, op =
        nxt=lim=(char)0;
      -----------------^
ccom: Warning: merge.c, line 374: statement not reached
               {        ( _sproced ? _semputc(*cp,file) :                       (--(file)->_cnt < 0 ? _flsbuf((unsigned char) (*cp), (file))) :                  (int) (*(file)->_ptr++ = (unsigned char) (*cp)))) ; return 0;}};
      ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
inserting h/sgi.defs in ..
-n  Smakefile,
-n  V/makefile,
-n  V/o/makefile,
-n  V/lsp/makefile,
-n  V/unixport/makefile,
-n  V/cmpnew/makefile,
-n  unixport/make_kcn,

cmp: cannot open h/config.h
h/sgi.h and h/config.h were not the same.
ln h/sgi.h h/config.h
tmpx and V/h/cmpinclude.h were not the same.
ln tmpx V/h/cmpinclude.h
% make -f Smakefile
        xbin/relink-files /usr/pat/kcl -s
Making links /usr/pat/akcl --> /usr/pat/kcl
Using for the new kcl directory :NEWKCL = /usr/pat/akcl
Assuming the KCL_DISTRIB is KCL_DISTRIB = /usr/pat/kcl
        (cd bin; make clean)
        rm -f dpp core a.out *.o
No match.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

******** note ***********

Already things are not going well.
Undaunted by these errors,  I proceeded:

******** end note ***********

% make -f Smakefile
        xbin/relink-files /usr/pat/kcl -s
        make -f Smakefile merge
`merge' is up to date.
        make -f Smakefile sources
        xbin/make-Vmake > Vmakefile
        make -f Vmakefile
        ./merge /usr/pat/kcl/./makefile V/./makefile ./makefile
        ./merge /usr/pat/kcl/./bin/dpp.c V/./bin/dpp.c ./bin/dpp.c
        ./merge /usr/pat/kcl/./bin/makefile V/./bin/makefile ./bin/makefile
        ./merge /usr/pat/kcl/./c/alloc.c V/./c/alloc.c ./c/alloc.c
        ./merge /usr/pat/kcl/./c/array.c V/./c/array.c ./c/array.c
        ./merge /usr/pat/kcl/./c/assignment.c V/./c/assignment.c ./c/assignment.c
        ./merge /usr/pat/kcl/./c/backq.c V/./c/backq.c ./c/backq.c
        ./merge /usr/pat/kcl/./c/bds.c V/./c/bds.c ./c/bds.c
        ./merge /usr/pat/kcl/./c/big.c V/./c/big.c ./c/big.c
        ./merge /usr/pat/kcl/./c/bind.c V/./c/bind.c ./c/bind.c
        ./merge /usr/pat/kcl/./c/bitop.c V/./c/bitop.c ./c/bitop.c
        ./merge /usr/pat/kcl/./c/block.c V/./c/block.c ./c/block.c
        ./merge /usr/pat/kcl/./c/cfun.c V/./c/cfun.c ./c/cfun.c
        ./merge /usr/pat/kcl/./c/character.d V/./c/character.d ./c/character.d
        ./merge /usr/pat/kcl/./c/cmpaux.c V/./c/cmpaux.c ./c/cmpaux.c
        ./merge /usr/pat/kcl/./c/earith.c V/./c/earith.c ./c/earith.c
        ./merge /usr/pat/kcl/./c/error.c V/./c/error.c ./c/error.c
        ./merge /usr/pat/kcl/./c/eval.c V/./c/eval.c ./c/eval.c
        ./merge /usr/pat/kcl/./c/file.d V/./c/file.d ./c/file.d
        ./merge /usr/pat/kcl/./c/format.c V/./c/format.c ./c/format.c
        ./merge /usr/pat/kcl/./c/gbc.c V/./c/gbc.c ./c/gbc.c
        ./merge /usr/pat/kcl/./c/hash.d V/./c/hash.d ./c/hash.d
        ./merge /usr/pat/kcl/./c/iteration.c V/./c/iteration.c ./c/iteration.c
        ./merge /usr/pat/kcl/./c/list.d V/./c/list.d ./c/list.d
        ./merge /usr/pat/kcl/./c/macros.c V/./c/macros.c ./c/macros.c
        ./merge /usr/pat/kcl/./c/main.c V/./c/main.c ./c/main.c
        ./merge /usr/pat/kcl/./c/num_co.c V/./c/num_co.c ./c/num_co.c
        ./merge /usr/pat/kcl/./c/num_log.c V/./c/num_log.c ./c/num_log.c
        ./merge /usr/pat/kcl/./c/num_rand.c V/./c/num_rand.c ./c/num_rand.c
        ./merge /usr/pat/kcl/./c/package.d V/./c/package.d ./c/package.d
        ./merge /usr/pat/kcl/./c/pathname.d V/./c/pathname.d ./c/pathname.d
        ./merge /usr/pat/kcl/./c/predicate.c V/./c/predicate.c ./c/predicate.c
        ./merge /usr/pat/kcl/./c/print.d V/./c/print.d ./c/print.d
        ./merge /usr/pat/kcl/./c/read.d V/./c/read.d ./c/read.d
        ./merge /usr/pat/kcl/./c/sequence.d V/./c/sequence.d ./c/sequence.d
        ./merge /usr/pat/kcl/./c/string.d V/./c/string.d ./c/string.d
        ./merge /usr/pat/kcl/./c/structure.c V/./c/structure.c ./c/structure.c
        ./merge /usr/pat/kcl/./c/symbol.d V/./c/symbol.d ./c/symbol.d
        ./merge /usr/pat/kcl/./c/toplevel.c V/./c/toplevel.c ./c/toplevel.c
        ./merge /usr/pat/kcl/./c/typespec.c V/./c/typespec.c ./c/typespec.c
        ./merge /usr/pat/kcl/./c/unixfasl.c V/./c/unixfasl.c ./c/unixfasl.c
        ./merge /usr/pat/kcl/./c/unixfsys.c V/./c/unixfsys.c ./c/unixfsys.c
        ./merge /usr/pat/kcl/./c/unixint.c V/./c/unixint.c ./c/unixint.c
        ./merge /usr/pat/kcl/./c/unixsave.c V/./c/unixsave.c ./c/unixsave.c
        ./merge /usr/pat/kcl/./c/unixsys.c V/./c/unixsys.c ./c/unixsys.c
        ./merge /usr/pat/kcl/./c/unixtime.c V/./c/unixtime.c ./c/unixtime.c
        ./merge /usr/pat/kcl/./cmpnew/cmpbind.lsp V/./cmpnew/cmpbind.lsp ./cmpnew/cmpbind.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpblock.lsp V/./cmpnew/cmpblock.lsp ./cmpnew/cmpblock.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpcall.lsp V/./cmpnew/cmpcall.lsp ./cmpnew/cmpcall.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpcatch.lsp V/./cmpnew/cmpcatch.lsp ./cmpnew/cmpcatch.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpenv.lsp V/./cmpnew/cmpenv.lsp ./cmpnew/cmpenv.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpeval.lsp V/./cmpnew/cmpeval.lsp ./cmpnew/cmpeval.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpflet.lsp V/./cmpnew/cmpflet.lsp ./cmpnew/cmpflet.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpfun.lsp V/./cmpnew/cmpfun.lsp ./cmpnew/cmpfun.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpif.lsp V/./cmpnew/cmpif.lsp ./cmpnew/cmpif.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpinit.lsp V/./cmpnew/cmpinit.lsp ./cmpnew/cmpinit.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpinline.lsp V/./cmpnew/cmpinline.lsp ./cmpnew/cmpinline.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmplabel.lsp V/./cmpnew/cmplabel.lsp ./cmpnew/cmplabel.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmplam.lsp V/./cmpnew/cmplam.lsp ./cmpnew/cmplam.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmplet.lsp V/./cmpnew/cmplet.lsp ./cmpnew/cmplet.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmploc.lsp V/./cmpnew/cmploc.lsp ./cmpnew/cmploc.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpmain.lsp V/./cmpnew/cmpmain.lsp ./cmpnew/cmpmain.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpmulti.lsp V/./cmpnew/cmpmulti.lsp ./cmpnew/cmpmulti.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpopt.lsp V/./cmpnew/cmpopt.lsp ./cmpnew/cmpopt.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmptag.lsp V/./cmpnew/cmptag.lsp ./cmpnew/cmptag.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmptop.lsp V/./cmpnew/cmptop.lsp ./cmpnew/cmptop.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmptype.lsp V/./cmpnew/cmptype.lsp ./cmpnew/cmptype.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmputil.lsp V/./cmpnew/cmputil.lsp ./cmpnew/cmputil.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpvar.lsp V/./cmpnew/cmpvar.lsp ./cmpnew/cmpvar.lsp
        ./merge /usr/pat/kcl/./cmpnew/cmpwt.lsp V/./cmpnew/cmpwt.lsp ./cmpnew/cmpwt.lsp
        ./merge /usr/pat/kcl/./cmpnew/lfun_list.lsp V/./cmpnew/lfun_list.lsp ./cmpnew/lfun_list.lsp
        ./merge /usr/pat/kcl/./cmpnew/makefile V/./cmpnew/makefile ./cmpnew/makefile
        ./merge /usr/pat/kcl/./h/att_ext.h V/./h/att_ext.h ./h/att_ext.h
        ./merge /usr/pat/kcl/./h/bds.h V/./h/bds.h ./h/bds.h
        ./merge /usr/pat/kcl/./h/cmpinclude.h V/./h/cmpinclude.h ./h/cmpinclude.h
        ./merge /usr/pat/kcl/./h/eval.h V/./h/eval.h ./h/eval.h
        ./merge /usr/pat/kcl/./h/external.h V/./h/external.h ./h/external.h
        ./merge /usr/pat/kcl/./h/frame.h V/./h/frame.h ./h/frame.h
        ./merge /usr/pat/kcl/./h/include.h V/./h/include.h ./h/include.h
        ./merge /usr/pat/kcl/./h/num_include.h V/./h/num_include.h ./h/num_include.h
        ./merge /usr/pat/kcl/./h/object.h V/./h/object.h ./h/object.h
        ./merge /usr/pat/kcl/./h/symbol.h V/./h/symbol.h ./h/symbol.h
        ./merge /usr/pat/kcl/./h/vs.h V/./h/vs.h ./h/vs.h
        ./merge /usr/pat/kcl/./ild/ild.c V/./ild/ild.c ./ild/ild.c
        ./merge /usr/pat/kcl/./lsp/arraylib.lsp V/./lsp/arraylib.lsp ./lsp/arraylib.lsp
        ./merge /usr/pat/kcl/./lsp/assert.lsp V/./lsp/assert.lsp ./lsp/assert.lsp
        ./merge /usr/pat/kcl/./lsp/autoload.lsp V/./lsp/autoload.lsp ./lsp/autoload.lsp
        ./merge /usr/pat/kcl/./lsp/cmpinit.lsp V/./lsp/cmpinit.lsp ./lsp/cmpinit.lsp
        ./merge /usr/pat/kcl/./lsp/defmacro.lsp V/./lsp/defmacro.lsp ./lsp/defmacro.lsp
        ./merge /usr/pat/kcl/./lsp/defstruct.lsp V/./lsp/defstruct.lsp ./lsp/defstruct.lsp
        ./merge /usr/pat/kcl/./lsp/describe.lsp V/./lsp/describe.lsp ./lsp/describe.lsp
        ./merge /usr/pat/kcl/./lsp/evalmacros.lsp V/./lsp/evalmacros.lsp ./lsp/evalmacros.lsp
        ./merge /usr/pat/kcl/./lsp/iolib.lsp V/./lsp/iolib.lsp ./lsp/iolib.lsp
        ./merge /usr/pat/kcl/./lsp/makefile V/./lsp/makefile ./lsp/makefile
        ./merge /usr/pat/kcl/./lsp/packlib.lsp V/./lsp/packlib.lsp ./lsp/packlib.lsp
        ./merge /usr/pat/kcl/./lsp/predlib.lsp V/./lsp/predlib.lsp ./lsp/predlib.lsp
        ./merge /usr/pat/kcl/./lsp/seqlib.lsp V/./lsp/seqlib.lsp ./lsp/seqlib.lsp
        ./merge /usr/pat/kcl/./lsp/setf.lsp V/./lsp/setf.lsp ./lsp/setf.lsp
        ./merge /usr/pat/kcl/./lsp/top.lsp V/./lsp/top.lsp ./lsp/top.lsp
        ./merge /usr/pat/kcl/./lsp/trace.lsp V/./lsp/trace.lsp ./lsp/trace.lsp
        ./merge /usr/pat/kcl/./o/makefile V/./o/makefile ./o/makefile
        ./merge /usr/pat/kcl/./unixport/init_kcl.lsp V/./unixport/init_kcl.lsp ./unixport/init_kcl.lsp
        ./merge /usr/pat/kcl/./unixport/makefile V/./unixport/makefile ./unixport/makefile
        ./merge /usr/pat/kcl/./unixport/sys_kcl.c V/./unixport/sys_kcl.c ./unixport/sys_kcl.c
        make -f Smakefile cmpinclude  
        for v in c lsp o cmpnew unixport; do \
                rm -f $v/cmpinclude.h ; \
                ln  h/cmpinclude.h  $v/cmpinclude.h ; \
        done
for: Command not found.
*** Error code 1

Stop.
*** Error code 1

Stop.

******** note ***********

Well, I got this far by pressing on, so I proceeded again:

******** end note ***********

% make -f Smakefile
        xbin/relink-files /usr/pat/kcl -s
        make -f Smakefile merge
`merge' is up to date.
        make -f Smakefile sources
        make -f Vmakefile
        make -f Smakefile cmpinclude  
        for v in c lsp o cmpnew unixport; do \
                rm -f $v/cmpinclude.h ; \
                ln  h/cmpinclude.h  $v/cmpinclude.h ; \
        done
for: Command not found.
*** Error code 1

Stop.
*** Error code 1

Stop.
% 

********** end of wallpaper file *************

I seem to be in a stuck state.  Can anybody help?

Thanks.

Pat Gatewood
SETD@PAXRV-NES.ARPA
(301)863-4157