LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-02-2003, 08:01 AM   #1
bush
LQ Newbie
 
Registered: Feb 2003
Posts: 12

Rep: Reputation: 0
problem with Ncurses installation


Hello all,

I have installed ncurses-5.2 with command:

cd /usr/src/ncurses-5.2

./configure --prefix=/usr/local/ncurses-5.2
--disable-overwrite --enable-symlinks --with-shared
--without-debug --with-develop --with-libtool --without-cxx-binding

make

make install

After installation, my system displays the following configuration summary:

bin directory: /usr/local/ncurses-5.2/bin
include directory: /usr/local/ncurses-5.2/include/ncurses
... ....

include - directory is not in a standard location.

Then I write a small code to test it:
#include <stdio.h>
#include <curses.h>

void main()
{
printf('this ia a test');

}

When I use gcc to compile it, system displays:
bash: curses.h: file or directory not found or exist.

What's wrong about this?

Thank you for your any answer.

Bush
 
Old 06-02-2003, 08:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well as the message clearly states it is a non standard location... why have you done this? that's what's causing it - the --prefix you gave.
 
Old 06-02-2003, 08:08 AM   #3
bush
LQ Newbie
 
Registered: Feb 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for your answer.
But I erase '--prefix=/usr/local/ncurses-5.2' when installing

./configure
--disable-overwrite --enable-symlinks --with-shared
--without-debug --with-develop --with-libtool --without-cxx-binding

make

make install

After installation, my system still displays the following configuration summary:

bin directory: /usr/bin
include directory: /usr/include/ncurses
... ....

include - directory is not in a standard location.

thanks again.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ncurses problem Sushy Slackware 4 10-20-2005 12:09 PM
ncurses problem sjp Programming 7 01-26-2005 06:15 AM
ncurses problem ina Linux - Software 2 09-30-2002 11:26 AM
Problem ncurses ina Linux - Software 1 09-19-2002 02:37 AM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:39 AM.

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