pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/34777: mutt lacks curses dependency
>Number: 34777
>Category: pkg
>Synopsis: mutt lacks curses dependency
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 11 03:00:00 +0000 2006
>Originator: Ben Collver
>Release: Linux 2.6.17 i386
>Organization:
>Environment:
System: Linux sanctum.terrorpin.net 2.6.17-1.2187_FC5 #1 Mon Sep 11 01:17:06
EDT 2006 i686 i686 i386 GNU/Linux
>Description:
When building mutt on a system that lacks curses, or that has the ncurses
library but lacks the development headers, the build fails. Also, pkgsrc lacks
ncursesw. If the system has ncursesw, then mutt will use that no matter what.
>How-To-Repeat:
Try building pkgsrc/mail/mutt on Fedora Core 5 base system.
...
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I/pkg/include
-I/usr/include -I/pkg/include -I../intl -Wall -pedantic -O2 -I/pkg/include
-I/usr/include -MT imap.o -MD -MP -MF ".deps/imap.Tpo" -c -o imap.o imap.c;
then mv -f ".deps/imap.Tpo" ".deps/imap.Po"; else rm -f ".deps/imap.Tpo"; exit
1; fi
In file included from imap.c:24:
../mutt_curses.h:45:20: error: curses.h: No such file or directory
>Fix:
Here is a fix, tested on Fedora Core 5/i386 and NetBSD 3.0/sparc64
http://terrorpin.net/~ben/docs/comp/os/linux/pkgsrc/mutt.diff
This makes the following changes:
adds display type "curses"
(the mutt README does state that one of curses, ncurses, or slang are required)
require that a display option is set, and default to curses
add display option for ncursesw
remove mutt preference for ncursesw, unless the display option for ncursesw is
set
note that ncursesw will need to be provided, since pkgsrc does not offer it
Home |
Main Index |
Thread Index |
Old Index