This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: 4.6.3 build error: go (gccgo) does not seem to see configure
On Wed, 21 Mar 2012 11:08:42 -0700
Ian Lance Taylor <iant@google.com> wrote:
> Very nice.
And what turned out to be cause of my CPLUS_INCLUDE_PATH typo?
I first thought I just had forgot to delete a :. But, no, this mistake
is even easier to make than that. My /etc/profile had:
export CPLUS_INCLUDE_PATH="$QTDIR/include:$CPLUS_INCLUDE_PATH"
where $CPLUS_INCLUDE_PATH had not been set before. So, taking care
to append rather than to set introduced the problem. FWIW, I have
complied a lot of packages on this system and did not encounter an
unexplained problem related to CPLUS_INCLUDE_PATH until gcc. So,
people might tend to "trust" their system and blame gcc when this
one bites.
Cheers,
Mike