Cannot make metamail on newer versions of Linux (termio)
metamail.c: In function `StartRawStdin': metamail.c:2694: storage size of `ts' isn't known metamail.c:2696: `RAW' undeclared (first use in this function) metamail.c: At top level: metamail.c:2381: storage size of `MyTtyStateIn' isn't known metamail.c:2381: storage size of `MyTtyStateOut' isn't known make: *** [metamail.o] Error 1 make: Leaving directory `/home/jgriffiths/mm2.7.orig/src/metamail' make: *** [basics] Error 2
Google returned numerous queries regarding the problem, but the only solution I could find was in an ond newsgroup post from 1997 by Gary Geling. He suggested changing all the TC…A ioctl request codes to TC…S in metmail.c. That didn’t work for me.
If that doesn’t work for you either, or if you prefer an RPM, you can download the source rpm metamail-2.7-9.ker.rhel3.src.rpm. I have a limited version of the binary RPM (metamail-2.7-9.ker.rhel3.i386.rpm), but it lacks support for XFree since I didn’t have a RHEL box with X Windows.