LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-04-2013, 12:58 AM   #1
sunny.karthi
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Rep: Reputation: Disabled
Smile while installing ncurses ....


shared object file: No such file or directory
make[1]: *** [/lib/libncursesw.so.5.6] Error 127
make[1]: Leaving directory `/usr/src/ncurses-5.6/ncurses'
make: *** [install.libs] Error 2



please could help me to solve dis problem..??????
 
Old 10-04-2013, 01:02 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Please post some more lines of the error message. It is not clear from the last lines what's missing. Moreover, what Linux OS are you working on?
 
Old 10-04-2013, 01:40 AM   #3
sunny.karthi
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
i am working on ubuntu 13.04..............
while installing ncurses-5.9
after ./configure
when execute 'make' command
then i get the error


gcc -O2 --param max-inline-insns-single=1200 -o worm ../objects/worm.o -I. -I. -I../test -DHAVE_CONFIG_H -D_GNU_SOURCE -DNDEBUG -I. -I../include -O2 --param max-inline-insns-single=1200 `echo "-static -L../lib -lform -lmenu -lpanel -lncurses -dynamic " | sed -e 's/-lform.*-lpanel[^ ]*//'` -lutil -lm
gcc -I. -I. -I../test -DHAVE_CONFIG_H -D_GNU_SOURCE -DNDEBUG -I. -I../include -O2 --param max-inline-insns-single=1200 -c ../test/xmas.c -o ../objects/xmas.o
gcc -O2 --param max-inline-insns-single=1200 -o xmas ../objects/xmas.o -I. -I. -I../test -DHAVE_CONFIG_H -D_GNU_SOURCE -DNDEBUG -I. -I../include -O2 --param max-inline-insns-single=1200 `echo "-static -L../lib -lform -lmenu -lpanel -lncurses -dynamic " | sed -e 's/-lform.*-lpanel[^ ]*//'` -lutil -lm
make[1]: Leaving directory `/home/bheemappa/ncurses-5.9/test'
cd misc && make DESTDIR="" all
make[1]: Entering directory `/home/bheemappa/ncurses-5.9/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/bheemappa/ncurses-5.9/misc'
cd c++ && make DESTDIR="" all
make[1]: Entering directory `/home/bheemappa/ncurses-5.9/c++'
cp ./etip.h.in etip.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h etip.h
substituting autoconf'd values from ../include/ncurses_cfg.h into etip.h
... CPP_HAS_PARAM_INIT 0
... CPP_HAS_STATIC_CAST 0
... ETIP_NEEDS_MATH_EXCEPTION 0
... ETIP_NEEDS_MATH_H 0
... HAVE_BUILTIN_H 0
... HAVE_GPP_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_IOSTREAM 0
... HAVE_TYPEINFO 0
... HAVE_VALUES_H 0
... IOSTREAM_NAMESPACE 0
cd ../objects; -I../c++ -I../include -I. -DHAVE_CONFIG_H -D_GNU_SOURCE -DNDEBUG -I. -I../include -c ../c++/cursesf.cc
/bin/sh: 1: -I../c++: not found
make[1]: *** [../objects/cursesf.o] Error 127
make[1]: Leaving directory `/home/bheemappa/ncurses-5.9/c++'
make: *** [all] Error 2




please help to solve this ...

Last edited by sunny.karthi; 10-04-2013 at 01:51 AM.
 
Old 10-04-2013, 02:37 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Is there any reason for compiling ncurses? Why not just install the (lib)ncurses packages?
jdk
 
Old 10-04-2013, 03:18 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by sunny.karthi View Post
cd ../objects; /usr/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -D_GNU_SOURCE -DNDEBUG -I. -I../include -c ../c++/cursesf.cc
For some reason this line lacks the /usr/bin/g++ command. Check the Makefile under subdirectories c++ and look if some lines miss the $(CXX) command.

Anyway, I second the suggestion by jdkaye: why not install ncurses 5.9 from the official Ubuntu repositories?
 
  


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
[SOLVED] Installing RHEL 6.3 through ncurses menu dazdaz Linux - Server 2 12-11-2012 04:54 PM
how to print text in color by ncurses without opening a ncurses window Greatrebel Programming 0 12-20-2006 10:15 AM
Uninstalled ncurses, need help re-installing. splufdaddy Linux - Software 9 04-13-2006 03:30 PM
installing rtlinux - problem with ncurses krsnachaitanya Programming 4 01-26-2005 12:27 PM
installing lmps into fc3 with ncurses 5? anachronon Linux - Software 0 01-08-2005 02:54 AM


All times are GMT -5. The time now is 10:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration