LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   while installing ncurses .... (https://www.linuxquestions.org/questions/linux-newbie-8/while-installing-ncurses-4175479558/)

sunny.karthi 10-03-2013 11:58 PM

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..??????

colucix 10-04-2013 12:02 AM

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?

sunny.karthi 10-04-2013 12:40 AM

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 ...

jdkaye 10-04-2013 01:37 AM

Is there any reason for compiling ncurses? Why not just install the (lib)ncurses packages?
jdk

colucix 10-04-2013 02:18 AM

Quote:

Originally Posted by sunny.karthi (Post 5039780)
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?


All times are GMT -5. The time now is 10:52 PM.