Jakub Jelinek wrote :
On Thu, Jan 12, 2006 at 01:03:34PM +0100, Matthias Saou wrote:
> [...]
> configure:6562: checking that wxWidgets has support for large files
> configure:6576: g++ -E -I/usr/lib64/wx/include/gtk2-unicode-release-2.6
> -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA conftest.cc
> In file included from /usr/include/wx-2.6/wx/string.h:170,
> from /usr/include/wx-2.6/wx/memory.h:20,
> from /usr/include/wx-2.6/wx/object.h:25,
> from /usr/include/wx-2.6/wx/wx.h:16,
> from conftest.cc:2:
> /usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../include/c++/4.1.0/string:44:28:
> error: bits/c++config.h: No such file or directory
> [...]
>
> In that "string" file there is :
>
> #include <bits/c++config.h>
>
> But /usr/include/c++/4.1.0/bits/c++config.h does not exist, I can only
> find /usr/include/c++/4.1.0/i386-redhat-linux/bits/c++config.h.
>
> This is on x86_64 while trying to rebuild in a mach minimal chroot.
If you are compiling 64-bit stuff, you of course need
libstdc++-devel-4.1.0-*.x86_64.rpm installed. From your description
it sounds like only libstdc++-devel-4.1.0-*.i386.rpm is installed.
That's it!
Now... try to figure out why mach/yum installed *only* the i386 version in
the x86_64 root...
$ mach -r fedora-development-x86_64-extras yum list libstdc++-devel
Setting up Repos
core 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
local 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
core : ################################################## 3601/3601
extras : ################################################## 2994/2994
local : ################################################## 8/8
Installed Packages
libstdc++-devel.i386 4.1.0-0.14 installed
Available Packages
libstdc++-devel.x86_64 4.1.0-0.14 core
Matthias
--
Clean custom Red Hat Linux rpm packages :
http://freshrpms.net/
Fedora Core release 4 (Stentz) - Linux kernel 2.6.14-1.1656_FC4
Load : 0.36 0.37 0.33