LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2005, 03:01 AM   #1
krsnachaitanya
LQ Newbie
 
Registered: Jan 2005
Posts: 16

Rep: Reputation: 0
Angry unable to install ncurses in fedora core 2


hi all,

I want to install rtlinux ( real time linux ). for this I am following the instructions available on the net. For this I need download kernel 2.4.4 . On this kernel I need to apply a patch for rtlinux3.1.

After applying the patch, I was able clean all the old .o files and stale dependencies using make mrproper..

This is every thing is fine...

Now in order to configure my linux kernel when I tried using
make menuconfig

I was exiting saying that ncurses not found and asking me to install ncurses before proceeding with any further installation. I download an rpm file for ncurses5.2 and tar.gz file for ncurses5.4. I tried installing 5.4 after 5.2.. Now my system says conflicting with ncurses5.4..

I am stuck up at this point. Please help me out by saying how to install ncurses properly. It would of help, if you can point out how I can uninstall my previous versions of ncurses...

More information about what I am actually trying to do can be found at:
http://www.geocities.com/krsnachaitanya/index.html

Thanks in advance..
You can add me into your yahoo messenger --- krsnachaitanya

Last edited by krsnachaitanya; 01-26-2005 at 04:17 AM.
 
Old 01-27-2005, 06:39 PM   #2
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Rep: Reputation: 30
Hi,

You need ncurses because the menu-config program uses it to draw its terminal graphics.
There exist a text version of the program as well:

make config
**"basic config from terminal"**
make menuconfig
**"for ncurses GUI in the terminal"**
make xconfig
**"for X-based GUI with modular explanations"** (QT Based)
make gconfig

or you may edit the /usr/src/linux/.config file in vim/nano/...

Good Luck
 
Old 01-27-2005, 07:09 PM   #3
krsnachaitanya
LQ Newbie
 
Registered: Jan 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Hi,

As you said I used make config instead of make menuconfig. It worked fine, but the problem came at a later stage when I was running make dep after that.

The command that I used was and the sample ouput I got is shown below. Please guide me...

[root@localhost linux]# make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
scripts/mkdep.c:33:19: ctype.h: No such file or directory
scripts/mkdep.c:34:19: fcntl.h: No such file or directory
In file included from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:11,
from scripts/mkdep.c:35:
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:122:75: limits.h: No such file or directory
scripts/mkdep.c:36:19: stdio.h: No such file or directory
scripts/mkdep.c:37:20: stdlib.h: No such file or directory
scripts/mkdep.c:38:20: string.h: No such file or directory
scripts/mkdep.c:39:20: unistd.h: No such file or directory
scripts/mkdep.c:41:23: sys/fcntl.h: No such file or directory
scripts/mkdep.c:42:22: sys/mman.h: No such file or directory
scripts/mkdep.c:43:22: sys/stat.h: No such file or directory
scripts/mkdep.c:44:23: sys/types.h: No such file or directory
scripts/mkdep.c:68: error: `NULL' undeclared here (not in a function)
scripts/mkdep.c: In function `do_depname':
scripts/mkdep.c:77: warning: implicit declaration of function `printf'
scripts/mkdep.c: In function `grow_config':
scripts/mkdep.c:92: warning: implicit declaration of function `realloc'
scripts/mkdep.c:92: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:93: error: `NULL' undeclared (first use in this function)
scripts/mkdep.c:93: error: (Each undeclared identifier is reported only once
scripts/mkdep.c:93: error: for each function it appears in.)
scripts/mkdep.c:94: warning: implicit declaration of function `perror'
scripts/mkdep.c:94: warning: implicit declaration of function `exit'
scripts/mkdep.c: In function `is_defined_config':
scripts/mkdep.c:110: warning: implicit declaration of function `memcmp'
scripts/mkdep.c: In function `define_config':
scripts/mkdep.c:125: warning: implicit declaration of function `memcpy'
scripts/mkdep.c: At top level:
scripts/mkdep.c:147: error: `NULL' undeclared here (not in a function)
scripts/mkdep.c: In function `grow_precious':
scripts/mkdep.c:162: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:163: error: `NULL' undeclared (first use in this function)
scripts/mkdep.c: In function `define_precious':
scripts/mkdep.c:175: warning: implicit declaration of function `strlen'
scripts/mkdep.c: In function `handle_include':
scripts/mkdep.c:203: warning: implicit declaration of function `access'
scripts/mkdep.c:203: error: `F_OK' undeclared (first use in this function)
scripts/mkdep.c: In function `add_path':
scripts/mkdep.c:220: error: `PATH_MAX' undeclared (first use in this function)
scripts/mkdep.c:223: warning: implicit declaration of function `strcmp'
scripts/mkdep.c:224: warning: implicit declaration of function `realpath'
scripts/mkdep.c:224: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:226: warning: implicit declaration of function `fprintf'
scripts/mkdep.c:226: error: `stderr' undeclared (first use in this function)
scripts/mkdep.c:234: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:242: warning: implicit declaration of function `malloc'
scripts/mkdep.c:242: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:247: warning: implicit declaration of function `strcpy'
scripts/mkdep.c:220: warning: unused variable `resolved_path'
scripts/mkdep.c: In function `use_config':
scripts/mkdep.c:270: warning: implicit declaration of function `isupper'
scripts/mkdep.c:270: warning: implicit declaration of function `tolower'
scripts/mkdep.c: In function `state_machine':
scripts/mkdep.c:492: warning: implicit declaration of function `isalnum'
scripts/mkdep.c: In function `do_depend':
scripts/mkdep.c:525: warning: implicit declaration of function `getpagesize'
scripts/mkdep.c:527: error: storage size of `st' isn't known
scripts/mkdep.c:530: warning: implicit declaration of function `open'
scripts/mkdep.c:530: error: `O_RDONLY' undeclared (first use in this function)
scripts/mkdep.c:531: warning: implicit declaration of function `fstat'
scripts/mkdep.c:537: error: `stderr' undeclared (first use in this function)
scripts/mkdep.c:538: warning: implicit declaration of function `close'
scripts/mkdep.c:544: warning: implicit declaration of function `mmap'
scripts/mkdep.c:544: error: `NULL' undeclared (first use in this function)
scripts/mkdep.c:544: error: `PROT_READ' undeclared (first use in this function)
scripts/mkdep.c:544: error: `MAP_PRIVATE' undeclared (first use in this function)
scripts/mkdep.c:544: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:561: warning: implicit declaration of function `lstat'
scripts/mkdep.c:571: warning: implicit declaration of function `S_ISLNK'
scripts/mkdep.c:573: warning: initialization makes pointer from integer without a cast
scripts/mkdep.c:578: warning: implicit declaration of function `sprintf'
scripts/mkdep.c:584: warning: implicit declaration of function `system'
scripts/mkdep.c:586: warning: implicit declaration of function `free'
scripts/mkdep.c:591: warning: implicit declaration of function `fputs'
scripts/mkdep.c:591: error: `stdout' undeclared (first use in this function)
scripts/mkdep.c:596: warning: implicit declaration of function `putchar'
scripts/mkdep.c:600: warning: implicit declaration of function `munmap'
scripts/mkdep.c:527: warning: unused variable `st'
scripts/mkdep.c: In function `main':
scripts/mkdep.c:614: warning: implicit declaration of function `getenv'
scripts/mkdep.c:614: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:617: error: `stderr' undeclared (first use in this function)
scripts/mkdep.c:624: warning: implicit declaration of function `strncmp'
make: *** [scripts/mkdep] Error 1

What should I do now? Thanx a lot for all the help that you are providing.

King Krsna
 
Old 01-28-2005, 04:09 AM   #4
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Rep: Reputation: 30
It looks like you need to install a standardc compiler like gcc and the standard librares.
 
Old 01-28-2005, 05:49 AM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
what distro is this again??? those headers come with glibc. I guess check for some glibc-devel package for your distro.
 
Old 01-28-2005, 07:52 AM   #6
krsnachaitanya
LQ Newbie
 
Registered: Jan 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Hi,

Mine is fedora core 2. how should I check whether glibc is installed on my system.. I am able to compile all my c files using cc, gcc and g++. Please help me out...
Thanks a lot...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Unable to install Fedora Core 4 on Toshiba Satellite M65 MrPeterC Linux - Laptop and Netbook 4 02-24-2006 09:52 AM
unable to use xmms and xine on Fedora core 3 manishbendre Linux - Newbie 4 03-30-2005 01:42 PM
Unable to install fedora core on Del Latitude Notebook cyclegar Fedora - Installation 1 03-15-2005 07:18 PM
Cannot install fedora core 1 or core 2: Initial setup crashes: "Unable to mount root" ovelasco Linux - Newbie 10 07-15-2004 07:19 PM
Unable to access the network in Fedora core 1 Menestrel Linux - Newbie 1 03-30-2004 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 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