[freetds] Error when running ./config

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Thu Jan 5 05:16:56 EST 2006


Hi

> 
> Let me first apologize for being a novice :)
> 
> When running ./config I get the following error:
> 

It should be configure, not config

> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> 
> I checked the config.log file and here is what it shows:
> 
> |                      Syntax error
> configure:4772: /lib/cpp  -D_FREETDS_LIBRARY_SOURCE conftest.cc
> cpp: installation problem, cannot exec `cc1plus': No such file or
> directory

Well, probably you haven't installed c++... It should be not required
but I think libtool try to detect this. Please install it. It should be
package gcc-c++.

> configure:4778: $? = 1
> configure: failed program was:
> | #line 4758 "configure"
> | /* confdefs.h.  */
> 
> 
> If I run command above as root I get the following:
> 
> /lib/cpp -D_FREETDS_LIBRARY_SOURCE conftest.cc
> cpp: conftest.cc: No such file or directory
> cpp: no input files
> 
> I think this is a problem with conftest.cc but I am not able to figure
> out exactly what it is or how to fix it. I am running Red Hat 
> Enterprise
> Linux AS (4.4 for 32-bit x86.
> Any help is appreciated - thks!
> 

bye
  freddy77



More information about the FreeTDS mailing list