LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 04-09-2007, 11:31 PM   #1
fpd
Member
 
Registered: Aug 2004
Distribution: Mepis
Posts: 70

Rep: Reputation: 15
Mepis 6.5 missing curses.h?


Anyone know how to get the correct curses.h for Mepis 6.5r3, and where I should put it?
Synaptic shows that I have ncurses-base and ncurses-bin. Thank you.
 
Old 04-11-2007, 09:19 AM   #2
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
ncurses-devel or ncurses-dev, buddy.
 
Old 04-11-2007, 09:09 PM   #3
fpd
Member
 
Registered: Aug 2004
Distribution: Mepis
Posts: 70

Original Poster
Rep: Reputation: 15
I did a search in Synaptic for ncurses-dev and it only came up with kernel-source-2.4.27... I don't think I want that.

For a look-see, I selected one libncurses..., but when I looked at 'dependencies', it showed 'conflicts: ncurses-dev' and 'conflicts: ncurses-devel' This makes me believe I have ncurses-dev and ncurses-devel on-board already.

Am I misinterpreting something simple?
 
Old 04-12-2007, 06:10 AM   #4
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
Excuse my delay, I'm in the middle of a project at work.

sudo apt-cache policy ncurses-dev
sudo apt-cache policy libncurses5-dev

will tell you which one you have installed.

Please forgive that I don't use anything except for apt-get.

sudo apt-get install libncurses5-dev

will install it and resolve any dependencies.
Cheers.
 
Old 04-13-2007, 01:04 PM   #5
fpd
Member
 
Registered: Aug 2004
Distribution: Mepis
Posts: 70

Original Poster
Rep: Reputation: 15
Smile

So, I do not have these packages after all...

mybox@1[~]$ sudo apt-cache policy ncurses-dev
ncurses-dev:
Installed: (none)
Candidate: (none)
Version table:

mybox@1[~]$ sudo apt-cache policy libncurses5-dev
libncurses5-dev:
Installed: (none)
Candidate: 5.5-1ubuntu3
Version table:
5.5-1ubuntu3 0
800 http://archive.ubuntu.com dapper/main Packages
5.4-9ubuntu4 0
800 http://archive.ubuntu.com breezy/main Packages

... so I did your apt-get line...

mybox@1[~]$ sudo apt-get install libncurses5-dev
blablahblah
Setting up libncurses5-dev (5.5-1ubuntu3) ...

... and now I have ncurses.h. I proofed by compiling a simple hello.c, with no errors returned.

#include <stdio.h>
#include <ncurses.h>
main ()
{
printf ("Hello, World!\n");
}

Thank you for your help runnerfrog, and thank you for using apt-get. Synaptic is "easy" because it is visual, but it is quiche when all I needed was an egg. I'm a zillion (UK: zilliard) years behind knowing which packages I need, and which packages contain which files... that will only come with repetition, and with help from people like you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: MEPIS founder clarifies MEPIS/Ubuntu relationship LXer Syndicated Linux News 0 02-18-2007 10:16 AM
[SOLVED] Mepis 6 - Strange icon, Missing menu items, etc MBA Whore MEPIS 10 12-28-2006 04:56 PM
Missing Library-Curses Absent darthbob88 Ubuntu 2 04-15-2006 07:32 PM
do I need curses? jake_01 Programming 1 04-28-2005 06:24 AM
Curses nitinkatageri Linux - General 2 08-18-2003 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration