pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/41790 (mail/mutt-devel does not compile on NetBSD 4.0.1)
Tonnerre LOMBARD wrote:
All ncurses versions worked, but no non-n curses header was ever
included, causing the error. It appears to work now though.
mutt-devel now compiles again on NetBSD 4.0.1 (and probably 5.0).
On Solaris 10 and OpenSolaris I get:
gcc -DPKGDATADIR=\"/opt/pkg/share/mutt\" -DSYSCONFDIR=\"/opt/pkg/etc\"
-DBINDIR=\"/opt/pkg/bin\" -DMUTTLOCALEDIR=\"/opt/pkg/lib/locale\"
-DHAVE_CONFIG_H=1 -I. -I. -I. -I./imap -Iintl -I/usr/include
-I/opt/pkg/include -I/opt/pkg/gcc34/include
-I/opt/pkg/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include
-I/opt/pkg/include -I/opt/pkg/include -I./intl -Wall -pedantic
-Wno-long-long -O -I/usr/include -I/opt/pkg/include
-I/opt/pkg/gcc34/include
-I/opt/pkg/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include -MT mvchgat.o
-MD -MP -MF .deps/mvchgat.Tpo -c -o mvchgat.o mvchgat.c
In file included from
/opt/pkgsrc/pkgsrc/mail/mutt-devel/work.solstice/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include/limits.h:11,
from mutt.h:35,
from mvchgat.c:5:
/opt/pkgsrc/pkgsrc/mail/mutt-devel/work.solstice/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include/syslimits.h:43:
warning: ignoring #pragma ident
In file included from mutt.h:45,
from mvchgat.c:5:
/opt/pkgsrc/pkgsrc/mail/mutt-devel/work.solstice/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include/wchar.h:39:
warning: ignoring #pragma ident
In file included from mutt_curses.h:52,
from mvchgat.c:6:
/opt/pkgsrc/pkgsrc/mail/mutt-devel/work.solstice/.buildlink/gcc34/lib/gcc/i386-pc-solaris2.11/3.4.6/include/curses.h:52:
warning: ignoring #pragma ident
mvchgat.c:10: error: syntax error before "attr_t"
mvchgat.c: In function `mvwchgat':
mvchgat.c:13: error: `win' undeclared (first use in this function)
mvchgat.c:13: error: (Each undeclared identifier is reported only once
mvchgat.c:13: error: for each function it appears in.)
mvchgat.c:13: error: `y' undeclared (first use in this function)
mvchgat.c:13: error: `x' undeclared (first use in this function)
mvchgat.c:14: warning: implicit declaration of function `wattr_set'
mvchgat.c:14: error: `attr' undeclared (first use in this function)
mvchgat.c:14: error: `color' undeclared (first use in this function)
mvchgat.c:14: error: `opts' undeclared (first use in this function)
mvchgat.c: At top level:
mvchgat.c:20: error: syntax error before "attr_t"
mvchgat.c: In function `mvchgat':
mvchgat.c:23: error: `y' undeclared (first use in this function)
mvchgat.c:23: error: `x' undeclared (first use in this function)
mvchgat.c:23: error: `count' undeclared (first use in this function)
mvchgat.c:23: error: `attr' undeclared (first use in this function)
mvchgat.c:23: error: `color' undeclared (first use in this function)
mvchgat.c:23: error: `opts' undeclared (first use in this function)
*** Error code 1
Requesting ncurses via
$ env PKG_OPTIONS.mutt='-curses ncurses' bmake
does not help. No symlinks in work/.buildlink are created, so the native
curses implementation is still used. Just checked: When requesting
ncurses on NetBSD, the symlinks are created.
This is also true when selecting slang instead of (n)curses.
devel/libslang gets built (wasn't installed yet), but it's not picked up
by mutt afterwards. I don't know, maybe this was already broken before
your patch.
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index