LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Andrew Burrow <alburrow@cs.adelaide.edu.au>
To : andrew williss <bigwill@riverland.net.au>
Date: Thu, 17 Jun 1999 00:57:30 +0930
Re: Compiling problem...
> Im trying to compile a program ( It's a Packet Radio Terminal Program
> called LinPac)
> and i'm getting the following message when compiling...
>
> configure: error: installation or configuration problem: C++ compiler
> cannot create executables.
>
> This message appears when I run the supplied configure script
> (./configure)
>
> I have included the config.log file for anyone who is interested.
[snip]
> configure:1015: checking for c++
> configure:1047: checking whether the C++ compiler (c++ ) works
> configure:1063: c++ -o conftest conftest.C 1>&5
> /usr/i386-linux/bin/ld: cannot open -lstdc++: No such file or directory
The configure script is trying to determine values for the variables
that parameterise the make file. In this case it is trying to set the
variable CXX which points to the compiler. It does this by first
checking how the variable is set in the environment and then using a
builtin list of defaults to try. You can help it by setting CXX. On
a linux system it is a safe bet that the C++ compiler is in fact the
GNU C++ compiler, aka g++. So under bash you would help it out by
saying
CXX=g++ ./configure
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page