[All under FreeBSD 3.2-RELEASE]

Running ./configure I get:

checking for BSD pty names... sort: read error: Bad file descriptor
done

Then a 'make':

unix_user.c:393: structure has no member named `ut_user'

<utmp.h> needs <sys/types.h>; could be causing problems in the configure
script?

I #defined HAVE_UT_NAME/HAVE_UT_HOST in config.h

Wrapped line 393 in unix_user.c with #ifdefs for HAVE_UT_USER and added
a line with ut_user replaced by ut_name and an elsif HAVE_UT_NAME.

After that compiles ok, but again no u/wtmp entry and I don't get a shell
prompt and some things complain "stdin is not a tty".

If I define PTY_BSD_SCHEME_FIRST_CHARS and PTY_BSD_SCHEME_SECOND_CHARS
in config.h then I get listed in 'last' but not 'w' (so that's wtmp
stuff working, but not utmp, right?) and I get a prompt ok.

Getting there. I'll see if I can figure out why the configure script
doesn't grab the PTY stuff properly and also poke utmp.

J.

-- 
Programmer, |  "I will not send lard through the  | Tel/SMS (Orange):
student and |     mail." - Bart's Blackboard      |  +44-7974-678646
BHMF.       |                                     | Made by HuggieTag

Reply via email to