[CWB] Still a problem with CWB installation on linux 64-bit Ubuntu

Stefan Evert stefan.evert at uos.de
Tue Feb 5 12:22:31 CET 2008


> gertrud at faasz-desktop:/usr/bin/cwb-2.2.b99-RC1/editline$ sudo ./ 
> configure
> creating cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for c++... no
> checking for g++... no
> checking for gcc... gcc
> checking whether the C++ compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C++  
> compiler cannot create executables.

I suppose the problem is that you haven't installed a C++ compiler,  
or perhaps the C++ header files and standard library are missing.   
The CWB should _not_ require C++ at all, but the configure script  
seems to think that if you have gcc, it should also work as a C++  
compiler (which it normally does, so I guess Ubuntu is a really weird  
distribution that is lacking most essential files).

I'm afraid I don't know enough about autoconf to fix this problem,  
perhaps anyone else on this list has experience with it and can  
improve editline's configure script (note that this is only for  
command-line editing; the CWB code doesn't use autoconf yet).

For the moment, please try to install the necessary packages for C++  
development.

Best,
Stefan


More information about the CWB mailing list