On Wed, Mar 29, 2000 at 10:53:53PM +0200, Thomas Roessler wrote:
> Against 1.1.9, a couple of bugs is fixed.  I really hope
> we can release this code as-is as 1.2 - so please report
> eventual bugs and problems as soon as possible to this
> list.
> 
OK, here's a report on my build on a Solaris 2.6 system, not quite so
smooth as the Linux build I'm afraid.


System reports as:-
    SunOS borg 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-1


Compiler used:-
    gcc version 2.95.1 19990816 (release)


Configured with:-
    ./configure  --prefix=/usr/chris --with-slang --with-domain=kbss.bt.co.uk 
--enable-pop --enable-imap


There were quite a lot of compiler warnings:-
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl  -I../intl  -Wall -pedantic -g -O2 
-c command.c
    command.c: In function `imap_handle_untagged':
    command.c:165: warning: subscript has type `char'
    command.c:216: warning: subscript has type `char'

    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl  -I../intl  -Wall -pedantic -g -O2 
-c imap.c
    imap.c: In function `imap_reopen_mailbox':
    imap.c:229: warning: subscript has type `char'
    imap.c:233: warning: subscript has type `char'
    imap.c: In function `imap_open_mailbox':
    imap.c:609: warning: subscript has type `char'
    imap.c:613: warning: subscript has type `char'
    imap.c: In function `imap_check_mailbox':
    imap.c:1157: warning: `t' might be used uninitialized in this function
    imap.c: In function `imap_mailbox_check':
    imap.c:1278: warning: subscript has type `char'

    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl  -I../intl  -Wall -pedantic -g -O2 
-c message.c
    message.c: In function `msg_parse_fetch':
    message.c:788: warning: subscript has type `char'

    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl  -I../intl  -Wall -pedantic -g -O2 
-c util.c
    util.c: In function `imap_get_literal_count':
    util.c:98: warning: subscript has type `char'

    gcc -DSHAREDIR=\"/usr/chris/share/mutt\" -DSYSCONFDIR=\"/usr/chris/etc\"       
-DBINDIR=\"/usr/chris/bin\" -DHAVE_CONFIG_H=1 -I. -I. -I. -I./imap -Iintl 
-I/usr/chris/include -I./intl  -Wall -pedantic -g -O2 -c rfc2231.c
    rfc2231.c: In function `rfc2231_decode_parameters':
    rfc2231.c:136: warning: subscript has type `char'
    rfc2231.c: In function `rfc2231_decode_one':
    rfc2231.c:209: warning: subscript has type `char'
    rfc2231.c:209: warning: subscript has type `char'

    gcc -DSHAREDIR=\"/usr/chris/share/mutt\" -DSYSCONFDIR=\"/usr/chris/etc\"       
-DBINDIR=\"/usr/chris/bin\" -DHAVE_CONFIG_H=1 -I. -I. -I. -I./imap -Iintl 
-I/usr/chris/include -I./intl  -Wall -pedantic -g -O2 -c pgpkey.c
    pgpkey.c: In function `pgp_entry_fmt':
    pgpkey.c:139: warning: subscript has type `char'

    gcc -DSHAREDIR=\"/usr/chris/share/mutt\" -DSYSCONFDIR=\"/usr/chris/etc\"       
-DBINDIR=\"/usr/chris/bin\" -DHAVE_CONFIG_H=1 -I. -I. -I. -I./imap -Iintl 
-I/usr/chris/include -I./intl  -Wall -pedantic -g -O2 -c gnupgparse.c
    gnupgparse.c: In function `fix_uid':
    gnupgparse.c:77: warning: subscript has type `char'
    gnupgparse.c:77: warning: subscript has type `char'


Then 'make install' breaks completely on the missing pgp6.rc file:-
    Making install in contrib
    ../mkinstalldirs /usr/chris/doc/mutt/samples
    for f in Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc ; do \
            .././install-sh -c -m 644 ./$f /usr/chris/doc/mutt/samples ; \
    done
    install:  ./pgp6.rc does not exist
    *** Error code 1
    make: Fatal error: Command failed for target `install'
    Current working directory /usr/chris/mutt-1.1.10/contrib
    *** Error code 1
    make: Fatal error: Command failed for target `install-recursive'


Finally I get the same error as on the Linux install regarding the
mutt_dotlock file:-

    if test -f /usr/chris/bin/mutt_dotlock && test x != x ; then \
            chgrp  /usr/chris/bin/mutt_dotlock && \
            chmod 755 /usr/chris/bin/mutt_dotlock || \
            { echo "Can't fix mutt_dotlock's permissions!" >&2 ; exit 1 ; } \
    fi


All this is using the Solaris make in /usr/ccs/bin/make, using (a rather
old) GNU make is even worse:-
    /tools/bin/make  all-recursive
    Making all in m4
    make[2]: Nothing to be done for `all'.
    Making all in po
    cd .. && /tools/bin/make keymap_alldefs.h
    ./gen_defs ./OPS ./OPS.PGP ./OPS.MIX > keymap_alldefs.h
    PATH=../src:$PATH : --default-domain=mutt --directory=..  --add-comments 
--keyword=_ --keyword=N_ --files-from=./POTFILES.in && test ! -f mutt.po || ( rm -f 
./mutt.pot && mv mutt.po ./mutt.pot )
    make[2]: :: Command not found
    make[2]: *** [cat-id-tbl.c] Error 127
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive-am] Error 1



I have worked around this by putting a dummy pgp6.rc file in the
contrib directory, mutt then installs OK.  I haven't noticed any
problems with the installed executable, I will report any that I find.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/

Reply via email to