[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Newbie question with Autoconf 2.57
From: |
Joseph D. Wagner |
Subject: |
RE: Newbie question with Autoconf 2.57 |
Date: |
Wed, 24 Sep 2003 11:02:23 -0500 |
ftp://alpha.gnu.org/pub/gnu/autoconf/
Download version 2.57a. Yes, I know it's alpha, but I'm pretty sure it fixes
those bugs.
> -----Original Message-----
> From: Christian Convey [mailto:address@hidden
> Sent: Monday, September 15, 2003 12:37 AM
> To: address@hidden
> Subject: Newbie question with Autoconf 2.57
>
> 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
>
>
>