<<< Date Index >>>     <<< Thread Index >>>

mutt 1.5.6i doesn't compile?



I downloaded the latest mutt from cvs as well as using ftp. Compiling
using the prepare script, I gave the following options to the script:

./prepare --enable-pop --enable-imap --with-gss --with-ssl --with-sasl
--enable-nfs-fix --with-exec-shell=/bin/bash

After it configured and prepared, and asked me to run make && make
install, I ran make but soon I got an error that said something about
the gss, so thinking I could do without gss support, I again ran the
above command without the --with-gss option to prepare. All seemed
okay, but after a few minutes, I got this error:


muttlib.o(.text+0xb8): In function `mutt_adv_mktemp':
/home/mutter/mutt/frommuttftp/mutt-1.5.6/muttlib.c:76: warning: the use
of `mktemp' is dangerous, better use `mkstemp'
imap/libimap.a(auth.o)(.data+0x8): In function `imap_authenticate':
/home/mutter/mutt/frommuttftp/mutt-1.5.6/imap/auth.c:48: undefined
reference to `imap_auth_gss'
collect2: ld returned 1 exit status
make[2]: *** [mutt] Error 1
make[2]: Leaving directory `/home/mutter/mutt/frommuttftp/mutt-1.5.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mutter/mutt/frommuttftp/mutt-1.5.6'
make: *** [all-recursive-am] Error 2

I tried to compile mutt that I downloaded thru ftp, even though it was
the same version. Had put it in another directory. Same things
here. Same two errors. Would anyone please tell me how to remove these
errors and do a successful compile?

On a side note, I remember this mkstemp warning from trying to compile
links-hacked with framebuffer support and changing the mktemp to
mkstemp would give different errors. I wonder what needs to be changed
in muttlib.c. I don't know how to C :/

Regards,
Mutter