[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf compile failure

From: Eric Blake
Subject: Re: autoconf compile failure
Date: Wed, 20 Apr 2011 17:37:14 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9

On 04/20/2011 03:00 PM, Ray Kolbe wrote:
> I am attempting to install autoconf-2.68.  I have installed gcc (GCC) 3.4.6
> directly from sunfreeware, so it's located in /usr/local/bin.  I would like
> to install a later version, but need autoconf to work first.  I curently
> have autoconf 2.59 installed.
> I am running Solaris on an Ultra-60 with 2 processors and 1GB of memory.
> Thanks for any help you may be able to provide.
>   --Ray

Thanks for the report.  Most of your failures look like this one for
260. compile.at:144: testing AC_LANG_SOURCE(C++) ...

> configure:2007: g++ -o conftest    conftest.cpp  >&5
> configure:2011: $? = 0
> configure:2018: ./conftest
> ld.so.1: conftest: fatal: libstdc++.so.6: open failed: No such file or
> ./configure: line 2020: 27274 Killed

That is, you've got some setup issues where your existing C++ compiler
is broken.  I don't know if autoconf should be able to handle this
gracefully.  Generally, g++ is either present and working, or missing
and autoconf gets along just fine; you are in the rare condition of g++
present but not working.

At any rate, I think this is a bug in your environment and not in your
just-built autoconf, so I think you can go ahead and install it without
issues.  Autoconf itself does not require a working compiler for
building or installation; the only use of the compiler is in the
testsuite, where autoconf assumes that if a compiler is present it will
work (basically, the test is proving whether autoconf can correctly
determine details about a working compiler, and you've thrown it a
wrench by not having a working compiler).

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]