On Thu, Nov 18, 1999 at 01:25:26PM +0000, Lars Hecking wrote:
> Chris Green writes:
> > I am trying to compile mutt 1.1.1 with S-Lang on Solaris 2.6.
> > 
> > All goes well until compiling curs_lib.c when I get an error:-
> > 
> > gcc -DSHAREDIR=\"/usr2/chris/share/mutt\" -DSYSCONFDIR=\"/usr2/chris/etc\"     
>-DBINDIR=\"/usr2/chris/bin\" -DHAVE_CONFIG_H=1 -I. -I/usr2/chris/include  
>-I/usr2/chris/mutt-1.1.1/imap -I/usr2/chris/mutt-1.1.1/intl  -Wall -pedantic -g -O2 
>-c curs_lib.c
> > curs_lib.c: In function `mutt_endwin':
> > curs_lib.c:258: parse error before `SLcurses_wattrset'
> > *** Error code 1
>  
>  A semicolon is missing after move () in line 252.
> 
Aha!  Thanks, I didn't look too hard at the code, I should have spotted
that.

> > I have S-Lang 1.3.10 installed and slrn compiles with that quite happily,
> > I can also compile mutt without S-Lang OK.
> 
>  I have always prefered ncurses-5.0 over S-Lang on Solaris.
> 
I may go to ncurses but I have/need S-Lang for slrn to build and if I
can get away with just that then it's easier.

> > One other (very minor) build problem is that 'make distclean' removes sgml2html 
>and you have to get it back from the tarball to build successfully.
>  
>  [ Please wrap your lines. ]
> 
Oops, sorry, I'd turned wrapping off to paste the error message.


>  sgml2html is not part of the mutt distribution.

Oops again, I mis-remembered the error, it removes manual.sgml.tail or
something that it shouldn't, the error produced is as follows:-

test -f manual.html || make manual.html || cp
/usr2/chris/mutt-1.1.1/doc/manual*.html ./
( sed -e "s/@VERSION@/`cat /usr2/chris/mutt-1.1.1/VERSION`/"
manual.sgml.head ;\
  gcc -E -I. -I/usr2/chris/include -I/usr2/chris/mutt-1.1.1
-DSHAREDIR=\"/usr2/chris/share/mutt\" -DSYSCONFDIR=\"\"
-DBINDIR=\"/usr2/chris/bin\" -DHAVE_CONFIG_H=1
-I/usr2/chris/mutt-1.1.1/doc/imap -I/usr2/chris/mutt-1.1.1/doc/intl
-D_MAKEDOC -C /usr2/chris/mutt-1.1.1/init.h | ../makedoc -s ) |      \
        cat - /usr2/chris/mutt-1.1.1/doc/manual.sgml.tail >
manual.sgml
sh: manual.sgml: cannot create


If you untar the tarball again the error goes away.

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

Reply via email to