Compilation problem with sdl 1.2 gcc 2.95.3

Hi,

I’m trying to run configure on sdl 1.2.0
I am using linux kernel 2.2.17, and gcc 2.95.3.
the configure script fails on testing gcc’s ability to produce executables.
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
any ideas as to why this could be ?

Cheers
Andy

Hi,

I’m trying to run configure on sdl 1.2.0
I am using linux kernel 2.2.17, and gcc 2.95.3.
the configure script fails on testing gcc’s ability to produce executables.
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
any ideas as to why this could be ?

It would help if you looked at config.log, and posted the relevant entry
it if you can’t figure out what’s going on. Most likely you don’t have
a complete g++ installation.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Sam Lantinga wrote:

Hi,

I’m trying to run configure on sdl 1.2.0
I am using linux kernel 2.2.17, and gcc 2.95.3.
the configure script fails on testing gcc’s ability to produce
executables. configure: error: installation or configuration problem:
C++ compiler cannot create executables.
any ideas as to why this could be ?

It would help if you looked at config.log, and posted the relevant entry
it if you can’t figure out what’s going on. Most likely you don’t have
a complete g++ installation.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Sam,

the tail of the config.log :-

configure:2500: checking whether the C++ compiler (gcc ) works
configure:2516: gcc -o conftest conftest.C 1>&5
gcc: installation problem, cannot exec `cc1plus’: No such file or directory
configure: failed program was:

#line 2511 “configure”
#include “confdefs.h”

int main(){return(0);}

Cheers
Andy

the tail of the config.log :-

configure:2500: checking whether the C++ compiler (gcc ) works
configure:2516: gcc -o conftest conftest.C 1>&5
gcc: installation problem, cannot exec `cc1plus’: No such file or directory

Yup, you don’t have g++ properly installed.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Sam Lantinga wrote:

the tail of the config.log :-

configure:2500: checking whether the C++ compiler (gcc ) works
configure:2516: gcc -o conftest conftest.C 1>&5
gcc: installation problem, cannot exec `cc1plus’: No such file or
directory

Yup, you don’t have g++ properly installed.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Spot on.
Thanks for the help. :slight_smile: