🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #63135

Can't `make' dejagnu-1.2 on linux, either.

#63135
From: Bill Hogan
Date: Thu, 02 Mar 1995 21:22
60 lines
2882 bytes
  It was suggested to me that I might fare better trying to `make'
dejagnu-1.2 on linux (kernel 1.0.9) than I did with dejagnu-1.1.1, so
I tried it.

  Once again, the `./configure' step ran fine but this time the `make'
bombed as follows:

make[1]: Entering directory `/E/GNU/dejagnu-1.2/dejagnu'
[...]
make[1]: Entering directory `/E/GNU/dejagnu-1.2/expect'
cc -c  -I. -I. -I./../tcl   -DVERSION=\"5.7.0\" -DDFLT_STTY=\"sane\" -DSCRIPTDIR=\"/usr/local/lib/expect\" -DEXECSCRIPTDIR=\"/usr/local/lib/expect\" -DTCL_DEBUGGER -g  exp_command.c
cc -c  -I. -I. -I./../tcl   -DVERSION=\"5.7.0\" -DDFLT_STTY=\"sane\" -DSCRIPTDIR=\"/usr/local/lib/expect\" -DEXECSCRIPTDIR=\"/usr/local/lib/expect\" -DTCL_DEBUGGER -g  expect.c
make[1]: *** No rule to make target `pty_.c'.  Stop.
make[1]: Leaving directory `/E/GNU/dejagnu-1.2/expect'
make: *** [all-expect] Error 2
------------------------------- end hohup.out ---------------------------

  A little digging around shows this:

bedlam:[*root*]/E/GNU/dejagnu-1.2 # find / -type f -iname 'pty*'
/usr/lib/term116/pty.c
/usr/src/linux/drivers/char/pty.c
/E/GNU/dejagnu-1.2/expect/pty_sgttyb.c
/E/GNU/dejagnu-1.2/expect/pty_termios.c
/E/GNU/dejagnu-1.2/expect/pty_unicos.c

  And this:

bedlam:[*root*]/E/GNU/dejagnu-1.2/expect # grep PTY Makefile
PTY = pty_$(PTY_TYPE)
CFILES = exp_command.c expect.c $(PTY).c \
OFILES = exp_command.o expect.o $(PTY).o exp_inter.o exp_regexp.o
exp_tty.o \
PTY_TYPE =
bedlam:[*root*]/E/GNU/dejagnu-1.2/expect #

  Ok, PTY_TYPE not defined.

  So, I try this:

bedlam:[*root*]/E/GNU/dejagnu-1.2/expect # make PTY_TYPE=unicos
cc -c  -I. -I. -I./../tcl   -DVERSION=\"5.7.0\" -DDFLT_STTY=\"sane\"
-DSCRIPTDIR=\"/usr/local/lib/expect\"
-DEXECSCRIPTDIR=\"/usr/local/lib/expect\" -DTCL_DEBUGGER -g
pty_unicos.c
pty_unicos.c:46: sys/pty.h: No such file or directory
make: *** [pty_unicos.o] Error 1
bedlam:[*root*]/E/GNU/dejagnu-1.2/expect #

  And that's where I was yesterday, looking for `sys/pty.h'.

  Something to do with `/usr/src/linux/drivers/char/pty.c'?
   
  Bill



--
Bill Hogan <bhogan@rahul.net>
Technical Details
Message-ID: <BHOGAN.95Mar2132219@bedlam.bedlam.rahul.net>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!news.clark.net!rahul.net!a2i!hustle.rahul.net!bhogan

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1103af,34810595e95a7b1,start
X-Google-Attributes: gid1103af,public
X-Google-Thread: 1025b4,34810595e95a7b1,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1995-03-04 21:32:44 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!news.clark.net!rahul.net!a2i!hustle.rahul.net!bhogan
From: bhogan@bedlam.rahul.net (Bill Hogan)
Newsgroups: gnu.misc.discuss,comp.os.linux.misc
Subject: Can't `make' dejagnu-1.2 on linux, either.
Date: 02 Mar 1995 21:22:19 GMT
Organization: Reasonable Systems
Lines: 62
Distribution: world
Message-ID: <BHOGAN.95Mar2132219@bedlam.bedlam.rahul.net>
Reply-To: bhogan@rahul.net
NNTP-Posting-Host: bedlam.rahul.net
NNTP-Posting-User: bhogan