[mew-int 01689] Re: incm
Francesco Scaglioni
fgs at example.com
Sat Dec 6 01:25:31 JST 2003
Hi,
> There appears to be a problem with your incm. You could try to run gsb
> (if you are familiar with the gdb debugger) on incm. Or you could try
> to run strace (linux) or truss(solaris):
>
> strace /usr/local/emacs/mew4/bin/incm -d /var/spool/mail/fgs -i $HOME/Mail/inbox
>
> This will show all system calls. Try to see if you can spot any error
> where you get Permission denied or if files are opened in strange
> locations.
I went back to first principles, recompiled and spotted an error
message -- it seems that incm.c for mew4 is in C++ and gcc was
treating it as C ( I know nothing about either ). I renamed
incm.c to incm.cc and recompiled without error then reinstalled.
Still incm empties /var/spool/mail/fgs but the mail dissappears.
I ran strace as you suggested and to my untutored eye the
following lines seem to be indicative of a problem:
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file
or directory)
.
.
stat64("/home/fgs/Maildir", 0xbffff550) = -1 ENOENT (No such file or directory)
.
.
.
access("/var/run/utmpx", F_OK) = -1 ENOENT (No such file or directory)
open("/var/run/utmp", O_RDWR) = -1 EACCES (Permission
denied)
.
.
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
I guess I have pretty well reached the end of my knowledge ( or
way beyond it ).
Thanks
Francesco
More information about the Mew-int
mailing list