[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't complile ncurses
From: |
Thomas Dickey |
Subject: |
Re: can't complile ncurses |
Date: |
Mon, 27 Feb 2012 17:09:24 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Feb 26, 2012 at 07:49:49PM -0800, Allan Lindh wrote:
> Dear Ncurses
> Trying to compile ncurses in a linux/lime12 system
> have been through the configure w/o obvious errors
> but the makefile bombs with following error messages
> (At this point many many screens of makefile gibberish had scrolled
> by, so it was working)
The error message tells me that the configure script did not find a C++
compiler.
(This problem comes up occasionally - I should modify the script to warn and
omit C++ from the configuration, though I seem to recall there were arguments
against it).
To get back on track, you will have to first
make distclean
Then, you can either
a) re-run configure using "--without-cxx" option, or
b) install the C++ compiler (probably g++, based on the "-D_GNU_SOURCE")
> cd ../objects; -I../c++ -I../include -I. -DHAVE_CONFIG_H
> -D_GNU_SOURCE -DNDEBUG -I. -I../include -c ../c++/cursesf.cc
> /bin/sh: -I../c++: not found
> make[1]: *** [../objects/cursesf.o] Error 127
> make[1]: Leaving directory `/home/allan/ncurses-5.9/c++'
> make: *** [all] Error 2
> address@hidden ~/ncurses-5.9 $ ls test*
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature