[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Newbie question with Autoconf 2.57
From: |
Christian Convey |
Subject: |
Newbie question with Autoconf 2.57 |
Date: |
Mon, 15 Sep 2003 01:37:08 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 |
Hi guys,
I'm sure you get this a lot, but I can't find it documented anywhere...
I've installed autoconf 2.57 on a Mandrake 9.1 system. When I run any
of the macros used for testing out the C++ compiler, I get failed tests.
Here's the fragment of the config.log file that I think is relevant:
Configured with: ../configure --prefix=/usr --libdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-
shared --enable-threads=posix --disable-checking --enable-long-long
--enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java --host=i
586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
configure:1367: $? = 0
configure:1369: g++ -V </dev/null >&5
g++-3.2.2: argument to `-V' missing
configure:1372: $? = 1
configure:1396: checking for C++ compiler default output
configure:1399: g++ /opt/xerces-2.3.0/lib conftest.cc >&5
/opt/xerces-2.3.0/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure:1402: $? = 1
configure: failed program was:
| #line 1375 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1441: error: C++ compiler cannot create executables
See `config.log' for more details.
I suspect my problem is that when you invoke "g++ -V", the "-V" is
supposed to be followed with a particular version number.
Am I doing something wrong? Any suggestions?
Thanks,
Christian
--
Christian Convey
Sr. Software Engineer,
Computer Science Dept.
Brown University
- Newbie question with Autoconf 2.57,
Christian Convey <=