[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem compiling DDD
From: |
Erik Nodland |
Subject: |
Problem compiling DDD |
Date: |
Fri, 29 Sep 2000 15:29:03 +0100 |
Hello,
I am running Mandrake 7.0 on Kernel 2.2.14-15mdk.
I have LessTif version 0.91.8 and GCC version 2.95.2
I am trying to compile DDD version 3.2.91 but I get the following errors:
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for prefix by checking for ddd... no
checking for product name... DDD 3.2.91 "Da da da"
checking for expiration date... no
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether make sets ${MAKE}... (cached) yes
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 POSIXized ISC... no
checking whether the C compiler (gcc) compiles and links a simple C
program... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking whether the C++ compiler (c++) compiles a simple program... no
configure: error: You must set the environment variable CXX to a working
c++ compiler. Also check the CXXFLAGS settings. See the file 'config.log'
for further diagnostics.
Contents of config.log are as follows:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:699: checking host system type
configure:720: checking target system type
configure:738: checking build system type
configure:765: checking for ddd
configure:822: checking for product name
configure:832: checking for expiration date
configure:851: checking for a BSD compatible install
configure:904: checking whether build environment is sane
configure:942: checking whether make sets ${MAKE}
configure:988: checking for working aclocal
configure:1001: checking for working autoconf
configure:1014: checking for working automake
configure:1027: checking for working autoheader
configure:1040: checking for working makeinfo
configure:1054: checking whether make sets ${MAKE}
configure:1083: checking for gcc
configure:1196: checking whether the C compiler (gcc ) works
configure:1212: gcc -o conftest conftest.c 1>&5
configure:1238: checking whether the C compiler (gcc ) is a cross-compiler
configure:1243: checking whether we are using GNU C
configure:1252: gcc -E conftest.c
configure:1271: checking whether gcc accepts -g
configure:1303: checking for POSIXized ISC
configure:1327: checking whether the C compiler (gcc) compiles and links a
simple C program
configure:1348: gcc -o conftest -g -O2 conftest.c 1>&5
configure:1380: checking for c++
configure:1412: checking whether the C++ compiler (c++ ) works
configure:1428: c++ -o conftest conftest.C 1>&5
configure:1454: checking whether the C++ compiler (c++ ) is a
cross-compiler
configure:1459: checking whether we are using GNU C++
configure:1468: c++ -E conftest.C
configure:1487: checking whether c++ accepts -g
configure:1675: checking whether the C++ compiler (c++) compiles a simple
program
configure:1696: c++ -o conftest -g -O2 conftest.C 1>&5
configure: In function `int main()':
configure:1692: `cout' undeclared (first use this function)
configure:1692: (Each undeclared identifier is reported only once
configure:1692: for each function it appears in.)
configure: failed program was:
#line 1689 "configure"
#include "confdefs.h"
#include <iostream.h>
int main() {
cout << "hello, world!";
; return 0; }
Thanks,
Erik
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem compiling DDD,
Erik Nodland <=