bug-automake
[Top][All Lists]
Advanced

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

Re: automake CVS failures on Solaris 8


From: Paul Eggert
Subject: Re: automake CVS failures on Solaris 8
Date: Wed, 18 Sep 2002 17:29:55 -0700 (PDT)

> From: Alexandre Duret-Lutz <address@hidden>
> Date: Tue, 17 Sep 2002 10:08:19 +0200

>  Paul> subobj9: running g++ --version
>  Paul> g++ (GCC) 3.2
> [...]
>  Paul> + ./configure 
>  Paul> checking for a BSD-compatible install... ./install-sh -c
>  Paul> checking whether build environment is sane... yes
>  Paul> checking for gawk... gawk
>  Paul> checking whether make sets ${MAKE}... yes
>  Paul> checking for C++ compiler default output... a.out
>  Paul> checking whether the C++ compiler works... configure: error: cannot 
> run C++ compiled programs.
>  Paul> If you meant to cross compile, use `--host'.
>  Paul> FAIL: subobj9.test
> [...]
> 
> Thanks.  I have a patch (pending network access...) for the
> three other errors, but I don't understand this one.  What's
> wrong with your C++ compiler?  What does config.log says?

It says this:

  configure:1995: checking whether the C++ compiler works
  configure:2001: ./a.out
  ld.so.1: ./a.out: fatal: libstdc++.so.5: open failed: No such file or 
directory
  ./configure: line 1:  4122 Killed                  ./$ac_file
  configure:2004: $? = 137
  configure:2012: error: cannot run C++ compiled programs.

My C++ compiler has the typical problem for GCC C++ compilers: it
doesn't set the run-time library path correctly.  So you can compile
and link, but you can't run.

It's a fairly common installation problem, e.g. Hee-Dong Chae reports
the same thing here:

http://groups.google.com/groups?selm=51xg9.10917%24cx4.943169%40news.bora.net

I'll see if I can easily reproduce the installation problem and report
it to the GCC folks.  But in the meantime, perhaps Automake should not
report an Automake failure simply because a C++ library is not
installed?




reply via email to

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