Perl Curses::Forms don't work on AMD64

Bug #108582 reported by mc^2
2
Affects Status Importance Assigned to Milestone
libcurses-perl (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libcurses-perl

I'm learning curses in perl and to my astonishment I found that one of the demos (namely demo.form) doesn't work - just like any forms I try to do in fact. A quick look in the HISTORY of a downloaded version 1.15:
>New in 1.14 (June 3, 2006)
> Make demo.form work on 64 bit machine.
Version in the repos is 1.13 (I'm using Dapper but I looked that it's the same in Feisty (and in Debian as a matter of fact).
Time to update the repos?

Tags: iso-testing
Revision history for this message
mc^2 (mkoren) wrote :

Hm, next interesting thing in an INSTALL file:
4.2)
   Curses has an interface header file named form.h. If on your system
   this is in a system header file directory such as /usr/include, you
   have a problem. That's because Perl also has a file named form.h
   in a directory that is searched before the system directories in the
   compile of the Perl Curses module.

   So you'll have to fix that. It's better to have your Curses stuff
   in its own directory. /usr/include/ncurses is conventional. Move
   all your Curses header files (curses.h, ncurses.h, form.h, menu.h,
   panel.h) into this directory If you use /usr/include/ncurses,
   Makefile.PL will find them there. Otherwise, set the _CFLAGS
   environment variables below accordingly.

   You can ignore all this if you're not building forms capability
   into the Perl Curses module (by specifying "FORMS" as an option to
   Makefile.PL below).

Of course it is the case in the debian package libncurses5-dev, hence the problem. It would be nice if someone fixed this (I'll do this myself on my machine but probably some other packages look for ncurses headers in /usr/include so it might be a little pain in the ass to do it thoroughly).

Revision history for this message
mc^2 (mkoren) wrote :

Sorry for writing so much - I installed the 1.15 version - I made a symlink form_ncurses.h ->/usr/include/form.h, included it, instead of form.h in the config file and it works fine.
BTW demo.menu makes a segfault both in debian 1.13 and downloaded 1.15 (on AMD64) - but I don't use it.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta?

Changed in libcurses-perl:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in libcurses-perl:
status: Incomplete → Invalid
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/108582

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.