0

I tried to install Gentoo Prefix on Ubuntu 11.10, by following the Bootstrapping guide.

But I have an error when I come to the step: emerge --oneshot --nodeps "=sys-devel/gcc-4.2*"

In build.log, I find some error like:

/usr/include/stdint.h:27:24: error: bits/wchar.h: No such file or directory

Someone told me I should install build-essential, but I've already installed that. Please let me know if I can provide any more information.

David Cain
  • 16,484
  • 14
  • 65
  • 75
zjhui
  • 779
  • 1
  • 8
  • 21

1 Answers1

0

The file /usr/include/bits/wchar.h belongs to the package sys-libs/glibc. Make sure it is compiled and/or properly installed before trying to compile sys-devel/gcc.

wangguoqin1001
  • 663
  • 7
  • 14