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

Errors when generating the manual



I get:

make[3]: Entering directory `/home/lefevre/software/mutt/mutt/doc'
( sed -e "s/@VERSION\@/`cat ../VERSION`/" ./manual.sgml.head ;\
  gcc -E -I. -I.. -I/home/lefevre/include -I.. 
-DSYSCONFDIR=\"/home/lefevre/etc\" -DBINDIR=\"/home/lefevre/bin\" 
-DHAVE_CONFIG_H=1 -I../intl -D_MAKEDOC -C  ../init.h | ../makedoc -s ) |      \
        cat - ./manual.sgml.tail > manual.sgml
../init.h:1060:15: #if with no expression
touch stamp-doc-man
test -f manual.txt || make manual.txt || cp ./manual.txt ./
../init.h:1060:15: #if with no expression
touch stamp-doc-sgml
sgml2html manual  || true
Processing file manual
html2html: Problem with ref "unmailboxes"
make[3]: Leaving directory `/home/lefevre/software/mutt/mutt/doc'

Concerning the "#if with no expression" problem, init.h contains:

#ifdef _MAKEDOC
# ifndef USE_IMAP
#  define USE_IMAP
# endif
# ifndef MIXMASTER
#  define MIXMASTER "mixmaster"
# endif
# ifndef USE_POP
#  define USE_POP
# endif
# ifndef USE_SSL
#  define USE_SSL
# endif
# ifndef USE_GNUTLS
#  define USE_GNUTLS
# endif
# ifndef USE_SOCKET
#  define USE_SOCKET
# endif
# ifndef USE_DOTLOCK
#  define USE_DOTLOCK
# endif
# ifndef DL_STANDALONE
#  define DL_STANDALONE
# endif
# ifndef USE_HCACHE
#  define USE_HCACHE
# endif
# ifndef HAVE_LIBIDN
#  define HAVE_LIBIDN
# endif
# ifndef HAVE_GETADDRINFO
#  define HAVE_GETADDRINFO
# endif
#endif

IMHO, one should have:

#  define USE_HCACHE 0

and so on.

Concerning the unmailboxes error, a <label id="unmailboxes"> is missing
somewhere.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA