Subject: Re: installation help?
To: None <>
From: Dave Burgess <>
List: current-users
Date: 06/19/1995 12:43:21
> >During the last make I got some errors compiling tn3270, lex, and some
> >of the games, but I skipped over them and continued.  I also had to
> >copy fmt.c from 1.0 to compile w (ps apparently doesn't need that file
> >in -current).
> The first time you build lex, you have to copy initscan.c to scan.c
> (obj/scan.c if you use obj dirs), because the older version of flex
> that came with 1.0 can't handle the newer flex's scan.l.
> The missing fmt.c was a bug that has since been fixed.

I also had a problem building lex, but decided that it just wasn't
important enough to worry about; the old lex works fine for most things.
I had used initscan.c after the initial failure, and it didn't help.

I just tried it again, and I got this:

burgess {22} make
yacc -d parse.y
mv parse.c
mv parse.h
cc -O -I. -I/usr/src/usr.bin/lex   -c scan.c
sh /usr/src/usr.bin/lex/ /usr/src/usr.bin/lex/flex.skl > skel.c
cc -O -I. -I/usr/src/usr.bin/lex   -c skel.c
cc -O -I. -I/usr/src/usr.bin/lex   -c ccl.c
cc -O -I. -I/usr/src/usr.bin/lex   -c dfa.c
cc -O -I. -I/usr/src/usr.bin/lex   -c ecs.c
cc -O -I. -I/usr/src/usr.bin/lex   -c gen.c
cc -O -I. -I/usr/src/usr.bin/lex   -c main.c
cc -O -I. -I/usr/src/usr.bin/lex   -c misc.c
cc -O -I. -I/usr/src/usr.bin/lex   -c nfa.c
cc -O -I. -I/usr/src/usr.bin/lex   -c parse.c
cc -O -I. -I/usr/src/usr.bin/lex   -c sym.c
cc -O -I. -I/usr/src/usr.bin/lex   -c tblcmp.c
cc -O -I. -I/usr/src/usr.bin/lex   -c yylex.c
cc   -o lex scan.o skel.o ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o
parse.o sym.o tblcmp.o yylex.o -ll
nroff -mandoc flex.1 > flex.cat1

It seems to be workig just fine now....  Like I said, I had a problem
building it for a couple of days (weekend before last?) but it is fixed
now.  I recommend that anyone that did have trouble try again.

Dave Burgess  (The man of a thousand E-Mail addresses)
386bsd FAQ Maintainer / SysAdmin for the NetBSD system in my spare bedroom
"Just because something is stupid doesn't mean that there isn't someone
that wants to do it...."