gcc cvs bootstrup broken (libintl.h: No such file or directory)
Richard Earnshaw
rearnsha@arm.com
Sun Oct 14 07:59:00 GMT 2001
> On Sat, Oct 13, 2001 at 10:12:53PM +0400, Vladimir A Merzliakov wrote:
> > After update gcc cvs i can't bootstrap gcc. It break with error:
> >
> > In file included from c-parse.y:40:
> > /home/wanderer/pkg/build/gcc/src/gcc31/gcc/gcc/intl.h:28:22: libintl.h: No
> > such file or directory
>
> Aaargh. It seems that the new gettext no longer provides a
> libintl.h. I didn't catch this in my testing because, even with
> --with-included-gettext, it would pick up the libc-provided header.
>
Well the intl dir's Makefile has a rule for building it:
libintl.h: libgnuintl.h
cp $(srcdir)/libgnuintl.h libintl.h
The problems are that:
1) It's in the intl sub-directory
2) There's no dependency to force this to be done before we need it in the
gcc directory.
Fix those two issues and I think it should be ok.
More information about the Gcc-bugs
mailing list