[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error in installing ncurses
From: |
Thomas Dickey |
Subject: |
Re: error in installing ncurses |
Date: |
Thu, 05 Dec 2013 04:19:28 -0500 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Thu, Dec 05, 2013 at 12:50:43AM -0600, Jianfeng Menglu wrote:
> When I install ncurses 5.8 and 5.9 in zorin-os-7.1 according to install
> instruction, an error message came up and installing stopped when I type
> "make". This error should not be produced based on the instruction. Is
> there any idea how I can resolve this problem? Thanks.
actually there's a warning before, and it is mentioned in INSTALL
This line in configure.in gives a warning
AC_MSG_WARN([You don't have any C++ compiler, too bad])
INSTALL says:
6. The c++ directory has C++ classes that are built on top of ncurses and
panels. You must have c++ (and its libraries) installed before you can
compile and run the demo.
Use --without-cxx-binding to tell configure to not build the C++ bindings
and demo.
If you do not have C++, you must use the --without-cxx option to tell
the configure script to not attempt to determine the type of 'bool'
which may be supported by C++. IF YOU USE THIS OPTION, BE ADVISED THAT
YOU MAY NOT BE ABLE TO COMPILE (OR RUN) NCURSES APPLICATIONS WITH C++.
>
>
> Jianfeng
>
> error message:
> ......
> installing vt300
> /usr/bin/install -c ncurses-config /home/jianfeng/usr/bin/ncurses5-config
> make[1]: Leaving directory
> `/home/jianfeng/Downloads/samtools-0.1.19/ncurses-5.8/misc'
> cd c++ && make DESTDIR="/home/jianfeng" install
> make[1]: Entering directory
> `/home/jianfeng/Downloads/samtools-0.1.19/ncurses-5.8/c++'
> cd ../obj_s; -I../c++ -I../include -I. -DHAVE_CONFIG_H -D_GNU_SOURCE
> -DNDEBUG -I. -I../include -fPIC -c ../c++/cursesf.cc
> /bin/sh: 1: -I../c++: not found
> make[1]: *** [../obj_s/cursesf.o] Error 127
> make[1]: Leaving directory
> `/home/jianfeng/Downloads/samtools-0.1.19/ncurses-5.8/c++'
> make: *** [install] Error 2
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ncurses
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature