[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem during configure
From: |
Ran Qin |
Subject: |
problem during configure |
Date: |
Tue, 15 Mar 2005 19:14:28 -0500 |
Hi:
I failed to run ./configure with DDD source distribution 3.3.11 on
Mac OSX 10.3.8. Part of the config.log is as below and it complains
that
configure:5464: 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.
I did have gcc3.3 installed and Xcode 1.5 as well. Would someone help
me out? thanks a lot!
Ran Qin
configure:4688: result: yes
configure:4794: checking for C++ compiler version
configure:4797: gcc --version </dev/null >&5
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
configure:4800: $? = 0
configure:4802: gcc -v </dev/null >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)
configure:4805: $? = 0
configure:4807: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:4810: $? = 1
configure:4813: checking whether we are using the GNU C++ compiler
configure:4837: gcc -c -O2 conftest.cc >&5
configure:4843: $? = 0
configure:4847: test -z
|| test ! -s conftest.err
configure:4850: $? = 0
configure:4853: test -s conftest.o
configure:4856: $? = 0
configure:4869: result: yes
configure:4875: checking whether gcc accepts -g
configure:4896: gcc -c -g conftest.cc >&5
configure:4902: $? = 0
configure:4906: test -z
|| test ! -s conftest.err
configure:4909: $? = 0
configure:4912: test -s conftest.o
configure:4915: $? = 0
configure:4926: result: yes
configure:4968: gcc -c -O2 conftest.cc >&5
configure:4974: $? = 0
configure:4978: test -z
|| test ! -s conftest.err
configure:4981: $? = 0
configure:4984: test -s conftest.o
configure:4987: $? = 0
configure:5013: gcc -c -O2 conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:16: error: `exit' undeclared (first use this function)
conftest.cc:16: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
configure:5019: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "ddd"
| #define PACKAGE_TARNAME "ddd"
| #define PACKAGE_VERSION "3.3.11"
| #define PACKAGE_STRING "ddd 3.3.11"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE "ddd"
| #define VERSION "3.3.11"
| #define YYTEXT_POINTER 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4968: gcc -c -O2 conftest.cc >&5
configure:4974: $? = 0
configure:4978: test -z
|| test ! -s conftest.err
configure:4981: $? = 0
configure:4984: test -s conftest.o
configure:4987: $? = 0
configure:5013: gcc -c -O2 conftest.cc >&5
configure:5019: $? = 0
configure:5023: test -z
|| test ! -s conftest.err
configure:5026: $? = 0
configure:5029: test -s conftest.o
configure:5032: $? = 0
configure:5057: checking dependency style of gcc
configure:5147: result: gcc3
configure:5176: checking for sin in -lm
configure:5206: gcc -o conftest -O2 conftest.cc -lm >&5
configure:5212: $? = 0
configure:5216: test -z
|| test ! -s conftest.err
configure:5219: $? = 0
configure:5222: test -s conftest
configure:5225: $? = 0
configure:5238: result: yes
configure:5244: checking for cout in -lstdc++
configure:5274: gcc -o conftest -O2 conftest.cc -lstdc++ -lm >&5
ld: Undefined symbols:
_cout
___gcc_qadd
___gcc_qdiv
___gcc_qmul
configure:5280: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "ddd"
| #define PACKAGE_TARNAME "ddd"
| #define PACKAGE_VERSION "3.3.11"
| #define PACKAGE_STRING "ddd 3.3.11"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE "ddd"
| #define VERSION "3.3.11"
| #define YYTEXT_POINTER 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char cout ();
| int
| main ()
| {
| cout ();
| ;
| return 0;
| }
configure:5306: result: no
configure:5316: checking for cout in -lg++
configure:5346: gcc -o conftest -O2 conftest.cc -lg++ -lm >&5
ld: can't locate file for: -lg++
configure:5352: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "ddd"
| #define PACKAGE_TARNAME "ddd"
| #define PACKAGE_VERSION "3.3.11"
| #define PACKAGE_STRING "ddd 3.3.11"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE "ddd"
| #define VERSION "3.3.11"
| #define YYTEXT_POINTER 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char cout ();
| int
| main ()
| {
| cout ();
| ;
| return 0;
| }
configure:5378: result: no
configure:5393: checking whether the C++ compiler (gcc) compiles a
simple program
configure:5421: gcc -o conftest -O2 conftest.cc -lm >&5
ld: Undefined symbols:
std::ios_base::Init::Init()
std::ios_base::Init::~Init()
std::cout
std::basic_ostream<char, std::char_traits<char> >& std::operator<<
<std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*)
___gxx_personality_v0
configure:5427: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "ddd"
| #define PACKAGE_TARNAME "ddd"
| #define PACKAGE_VERSION "3.3.11"
| #define PACKAGE_STRING "ddd 3.3.11"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE "ddd"
| #define VERSION "3.3.11"
| #define YYTEXT_POINTER 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <iostream>
| int
| main ()
| {
| std::cout << "hello, world!";
| ;
| return 0;
| }
configure:5459: result: no
configure:5464: 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- problem during configure,
Ran Qin <=