I'm trying to build Mailutils 3.12 [1] on a very old Solaris 10 [2]. I see these messages before make gives up.
mbox2dir.c: In function `mkhier': mbox2dir.c:420: error: `O_DIRECTORY' undeclared (first use in this function) mbox2dir.c:420: error: (Each undeclared identifier is reported only once mbox2dir.c:420: error: for each function it appears in.) make[2]: *** [mbox2dir.o] Error 1 Perhaps I missed a dependency or the tool chain is too old. At the moment, I am trying to to use decodemail and mailutils 2047, so if I can avoid the problem by using an older version that provides both those features, I'd be grateful for a pointer to the right version. Thanks for any suggestions. ==================== [1] From: https://ftp.gnu.org/gnu/mailutils/mailutils-3.12.tar.xx ==================== [2] > uname -a SunOS shell3 5.10 Generic_137112-07 i86pc i386 i86pc Solaris > head -1 /etc/release Solaris 10 5/08 s10x_u5wos_10 X86 > /usr/bin/pkginfo -l SUNWsolnm | grep -i version VERSION: 10,REV=2008.03.24.11.33