Hi folks,

I'm currently dabbling with mutt 1.3.22.1 on Red Hat Linux 5.2 in
preparation for the RPM team and I ran into build problems.

mutt builds fine if "configured" with no options, but it fails if I
add "--enable-pop":

[...]
gcc -DPKGDATADIR=\"/usr/local/share/mutt\"
-DSYSCONFDIR=\"/usr/local/etc\"     -DBINDIR=\"/usr/local/bin\"
-DMUTTLOCALEDIR=\"/usr/local/share/locale\"  -DHAVE_CONFIG_H=1 -I. -I.
-Iintl  -I/usr/include/ncurses -I./intl -I/usr/local/include  -Wall
-pedantic -g -O2 -c mutt_socket.c
In file included from mutt.h:39,
                 from mutt_socket.c:21:
/usr/include/wctype.h:83: warning: ANSI C restricts enumerator values
to range of `int'
In file included from /usr/include/sys/socket.h:34,
                 from /usr/include/netinet/in.h:24,
                 from mutt_socket.c:30:
/usr/include/socketbits.h:173: warning: ANSI C forbids zero-size array
`__cmsg_data'
mutt_socket.c: In function `socket_connect':
mutt_socket.c:309: sizeof applied to an incomplete type
make[2]: *** [mutt_socket.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/mutt-1.3.22.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/mutt-1.3.22.1'
make: *** [all-recursive-am] Error 2

I do actually get a *LOT* of those warnings about wctype.h, BTW.

Any idea what's going on here? This is a fresh install of Red Hat
Linux 5.2 (kernel 2.0.36, glibc 2.0.7), with all current updates applied,
libiconv 1.7 installed and automake updated to 1.4/autoconf to 2.13.
I can't see anything unusual in the configure run.
As another data point: On RHL 6.2, there're no problems with the
build.

Thanks in advance,

Thomas
-- 
-----------------------------------------------------------------------------
        Thomas Ribbrock       http://mutt.linuxatwork.at (mutt RPMs)
                  http://www.ribbrock.org    ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"

Reply via email to