[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#517866: marked as done (ncursesw UI support not compiled. "No usable driver found; exiting.")

Your message dated Sat, 11 Apr 2009 23:46:42 +0100
with message-id <200904112246.n3BMkgje012585@kmos.homeip.net>
and subject line mped has been removed from Debian, closing #517866
has caused the Debian Bug report #517866,
regarding ncursesw UI support not compiled. "No usable driver found; exiting."
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

517866: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517866
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mped
Version: 5.1.1-1

The package description states that "Minimum Profit is a curses/GTK text editor for programmers."  Running "mped" from Konsole (the X terminal from KDE) loads the GTK version of mped and it seems to work, but running the same command on a text-only virtual terminal (Ctrl+Alt+F1) I get:

foo@bar:~$ mped
No usable driver found; exiting.

Grepping the mped source, I see that this message is specified on line 1013 of mp_core.c in the following "if" statement:

    if (!TRY_DRIVERS()) {
        printf("No usable driver found; exiting.\n");

and "#define TRY_DRIVERS()" is created in config.h by config.sh based on the value of $DRIVERS in that script.

Looking at the build log for mped, there is the output from config.sh :

Testing for win32... No
Testing for ncursesw... No
Testing for KDE4... No
Testing for GTK... OK (2.0)

Configured drivers: gtk

where "Testing for ncursesw..." is line 198 of config.sh and the subsequent "No" is line 218, which is inside the "else" cases of two nested "if"s.

The first "if" checks the value of $WITHOUT_CURSES (and it would print "Disabled" if the ncurses interface had been deliberately deactivated) and the second "if" checks the return value of:

$CC $TMP_CFLAGS .tmp.c $TMP_LDFLAGS -o .tmp.o 2>> .config.log

which probably expands to:

gcc -I/usr/local/include .tmp.c -L/usr/local/lib -lncursesw -o .tmp.o 2>> .config.log

It is this command which is failing, leading to the "No" being printed and $DRIVERS not including "ncursesw".

The build log also contains the line:

Build-Depends: debhelper (>= 5.0.0), libgtk2.0-dev, libncurses5-dev

so maybe the build-depends should be libncursesw5-dev instead.

Perhaps looking in .config.log would also provide some useful information.

Best regards,
Edwin Taylor

--- End Message ---
--- Begin Message ---
Version: 5.1.1-1+rm

The mped package has been removed from Debian so we are closing
the bugs that were still opened against it.

For more information about this package's removal, read
http://bugs.debian.org/515563 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Kind regards,
Marco Rodrigues

--- End Message ---

Reply to: