[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: C++ no more...

Damon Muller wrote:
> On Sat, 12 Dec 1998 14:30:28 +0100
> "J.H.M. Dassen \(Ray\)" <jdassen@wi.leidenuniv.nl> wrote:
> > You don't quote the relevant part of the "config.log" configure generates,
> > so it's very difficult for anyone to tell you what's wrong.
> Opps... sorry. 
> rei$ cat config.log 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> configure:562: checking for gcc
> configure:639: checking whether the C compiler (gcc  ) works
> configure:653: gcc -o conftest    conftest.c  1>&5
> configure:673: checking whether the C compiler (gcc  ) is a cross-compiler
> configure:678: checking whether we are using GNU C
> configure:687: gcc -E conftest.c
> configure:702: checking whether gcc accepts -g
> configure:730: checking how to run the C preprocessor
> configure:751: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:795: checking for c++
> configure:795: checking for g++
> configure:795: checking for gcc
> configure:826: checking whether the C++ compiler (gcc  ) works
> configure:840: gcc -o conftest    conftest.C  1>&5
> gcc: installation problem, cannot exec `cc1plus': No such file or directory
> configure: failed program was:
> #line 836 "configure"
> #include "confdefs.h"
> main(){return(0);}
> rei$ 

gcc is not the c++ compiler used in Debian.  Egcs (g++) is.
Change your configure.in (or just configure, if you wont/cant regenerate
it) so that it uses g++ as the c++ compiler.  Also, change the Makefile
if needed to do the same thing.


Reply to: