I have been using mutt on DG/UX through several versions and have
two problems.
1) I cannot compile curs_lib.c. When I try to, I get error
messages saying:
In file included from /usr/include/termios.h:15,
from curs_lib.c:25:
/usr/include/sys/termios.h:444: #error Incompatible duplicate baud rate
definitions.
/usr/include/sys/termios.h:465: warning: `CBAUD' redefined
/usr/include/sys/_int_termio_tty_ioctl.h:304: warning: this is the location of
the previous definition
/usr/include/sys/termios.h:538: warning: `B50' redefined
/usr/include/sys/_int_termio_tty_ioctl.h:314: warning: this is the location of
the previous definition
/usr/include/sys/termios.h:551: warning: `B75' redefined
/usr/include/sys/_int_termio_tty_ioctl.h:319: warning: this is the location of
the previous definition
/usr/include/sys/termios.h:564: warning: `B110' redefined
/usr/include/sys/_int_termio_tty_ioctl.h:324: warning: this is the location of
the previous definition
(etc.)
This problem is solved by modifying Makefile.in as follows:
$ rcsdiff Makefile.in
===================================================================
RCS file: RCS/Makefile.in,v
retrieving revision 1.1
diff -r1.1 Makefile.in
121c121
< DEFS=-DSHAREDIR=\"$(sharedir)\" -DSYSCONFDIR=\"$(sysconfdir)\"
---
> DEFS=-DSHAREDIR=\"$(sharedir)\" -DSYSCONFDIR=\"$(sysconfdir)\"
>-D_SYSV3_BAUD_RATE_FLAVOR
$
The comments in my /usr/include/sys/termios.h explain this
as follows:
** Note that the baud rate related values defined here are incompatible
** with those defined in _int_termio_tty_ioctl.h. Thus, programs
** should avoid including both <termio.h> and <termios.h>. If
** this is impossible, the program should define either
** _SYSV3_BAUD_RATE_FLAVOR or _POSIX_BAUD_RATE_FLAVOR before
** including any system headers, to clarify whether baud rates
** will be manipulated within termio structures (using CBAUD) or
** termios structures (using cfgetospeed() et al.).
2) Since version ? I get an error message saying:
Error sending message, child exited 0 ().
when sending a letter. In spite of this message the
letter is indeed sent. I haven't been able to find out
why this happens.
Version info:
$ mutt -v
Mutt 0.95.1us (1999-01-04)
Copyright (C) 1996-8 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: dgux R4.11MU05
Compile options:
-DOMAIN
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +USE_FCNTL -USE_FLOCK
-USE_IMAP -USE_POP +HAVE_REGCOMP +USE_GNU_RX +HAVE_COLOR -BUFFY_SIZE
-EXACT_ADDRESS +ENABLE_NLS
SENDMAIL="/usr/bin/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
ISPELL="/usr/local/bin/ispell"
To contact the developers, please mail to <[EMAIL PROTECTED]>.
$
Best regards,
--
Ejnar Zacho Rath, | Out of the midst of the gloom came a
Maersk Data AS, Postbox 176,| voice: Smile, for things could be worse.
DK-5100 Odense C, Denmark | So I smiled and lo, behold,
e-mail: [EMAIL PROTECTED] | things did get worse.