Mailing List Archive

Compiling Ncurses
Hi again. I'd like to remove a little of what I said from before (it
hasn't shown up to me yet from gentoo-user list, so I'm starting
another thread...sorry).

Removing the userlocales flag did not help and emerging ncurses
(5.4-r5) failed again on both the 2004.3-stage1 file and the
2004.2-stage1 file. I removed all of my USE flags and tried to emerge
ncurses; it didn't work. I ran the bootstrap script without any USE
flags, and it again failed.

I even tried compiling it myself (using ./configure && make && make
install)...and that failed, both times.

I am on a friend's computer, so I can type in the exact error I'm
getting...I will try my best not to make any typos:

make[1]: Entering directory
`/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++'
cd ../objects; -I../c++ -I. -DHAVE_CONFIG_H -I. -I../include
-D_GNU_SOURCE -DNDEBUG -c ../c++/cursesf.cc
/bin/sh: line 1: -I../c++: No such file or directory
make[1]: *** [../objects/cursesf.o] Error 127
make[1]: Leaving directory
`/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++'
make: *** [all] Error 2

the directory /var/tmp/ncruses-5.4-r5/work/ncurses-5.4/c++ does indeed
exist. What could be causing this error? What can I do to fix this?

--
gentoo-user@gentoo.org mailing list
Re: Compiling Ncurses [ In reply to ]
On 9 Oct 2004, at 14:16, Jamie R. McPeek wrote:
> make[1]: Entering directory
> `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++'
> cd ../objects; -I../c++ -I. -DHAVE_CONFIG_H -I. -I../include
> -D_GNU_SOURCE -DNDEBUG -c ../c++/cursesf.cc
> /bin/sh: line 1: -I../c++: No such file or directory
> make[1]: *** [../objects/cursesf.o] Error 127
> make[1]: Leaving directory
> `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++'
> make: *** [all] Error 2
>
> the directory /var/tmp/ncruses-5.4-r5/work/ncurses-5.4/c++ does indeed
> exist. What could be causing this error? What can I do to fix this?
>

Well, the issue is that there's no GCC invocation in there! The shell is
interpreting the command as a call to a program called "-I../c++".

No idea what could be causing this, though.