Sponsored Content
Top Forums UNIX for Dummies Questions & Answers HoHow to compile Linux dialog - "curses.h" missing ? Post 302275416 by darius2 on Saturday 10th of January 2009 10:23:59 AM
Old 01-10-2009
HoHow to compile Linux dialog - "curses.h" missing ?

Hi,

I tried native compile Linux dialog for Linux embedded device
and got "curses.h" error message.

As Linux dialog is already compiled and working as Debian .deb package (installed it).
What is a way to import curses.h from other package sources to work for dialog sources compilation in my case ?

What is missing and I was advised to look for
ncurses-devel package.
Unfortunately ncurses-devel has not been compiled as a package either.


Happy New Year

Darius
 

2 More Discussions You Might Find Interesting

1. Programming

do you believe X-application will "kill" the CDE and come back to login dialog

1 . Thanks you for reading the letter 2 . I have programe a X-application .Sometimes, I run it from terminal of CDE ,it "kill" the CDE and I meet the login dialog . I debug it . I find that the SIGHUP caused the X-app died .I do not run it from terminal of CDE ,I run it "click button" from panel ,... (3 Replies)
Discussion started by: chenhao_no1
3 Replies

2. Programming

compile fails in linux ... "No rule to make target" ... HELP

hello all, attached you can find a tool (written in C) that i really need to make it compile under linux i am able to compile and run it successfully in mac os x, but in linux the compilation fails the only thing that i did so far is to change the following #include <sys/malloc.h> to... (13 Replies)
Discussion started by: OneDreamCloser
13 Replies
getstring(3tk)					     A dialog which prompts for a string input					    getstring(3tk)

__________________________________________________________________________________________________________________________________________________

NAME
getstring - A string dialog SYNOPSIS
package require Tcl 8.4 package require getstring ?0.1? ::getstring::tk_getString pathName variable text ?options? _________________________________________________________________ DESCRIPTION
This package provides a dialog which consists of an Entry, OK, and Cancel buttons. ::getstring::tk_getString pathName variable text ?options? Creates a dialog which prompts the user with text to input a text string. The contents of the entry are put in the variable upon closure of the dialog. The command returns a boolean indicating if the user pressed OK or not. If -geometry is not specified, the dialog is centered in its parent toplevel unless its parent is . in which case the dialog is centered in the screen. Options: -title -allowempty a boolean argument indicating if the dialog should accept an empty entry -entryoptions simply passes its argu- ments through to the entry widget. This is valuble for performing extra validation using the Entry widget validation hooks. -geome- try specifies the geometry of the window EXAMPLE
package require getstring namespace import getstring::* if {[tk_getString .gs text "Feed me a string please:"]} { puts "user entered: $text" } KEYWORDS
dialog, entry, string getstring 0.1 getstring(3tk)
All times are GMT -4. The time now is 01:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy