This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc3.0.3


> I am trying to install gcc 3.0.3 on my redhat linux. I have compiled
> succesfully but then I get error this message at the end when I try to
> install. It just hungs on me 
> Even if I remove the g++-v3 directory and reinstall I get the same problem

>> gmake install
> mkdir: cannot make directory `/usr/local/include/g++-v3/.': File exists

Your exact problem can be solved in one of three ways (I have
personally tested all of them ;-):

(a) follow the preferred configuration style for the gcc 3.0.3 release.

Here is a quote from install.texi (a processed version of this text
should have been easy to find and read before you attempted to
configure and bootstrap gcc 3.0.3):

"First, we @strong{highly} recommend that GCC be built into a
 separate directory than the sources which does @strong{not} reside
 within the source tree.  This is how we generally build GCC; building
 where @var{srcdir} == @var{objdir} should still work, but doesn't
 get extensive testing; building where @var{objdir} is a subdirectory
 of @var{srcdir} is unsupported."

(b) wait a few weeks for gcc 3.0.4 to be released where this bug
    should be fixed.

(c) without removing the target directories; rerun `gmake install'
    and/or run 'gmake -k install' to ignore the harmless error.

In the future, please send bug reports to gcc-bugs (where this answer
was redirected) or, better yet, use our GNATS system.

Regards,
Loren


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]