[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gcc-c++ on an x86_64 bit platform



P Spencer Davis wrote:
I'm trying to make a 64 bit build of openmpi-1.2.3 on a x86_64 bit machine running RHEL 4 with a 2.6.9-55.0.2.ELsmp I have the following gcc-c++ packages installed
compat-gcc-32-c++.x86_64                 3.2.3-47.3
libstdc++.i386                           3.4.6-8
libstdc++.x86_64                         3.4.6-8
gcc-c++.x86_64                           3.4.6-8
gcc4-c++.x86_64                          4.1.1-53.EL4

I am getting the following errors when I run the configure script bundled with openmpi:
In file included from conftest.cc:99:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:45:28: bits/c++config.h: No such file or directory In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70, from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46, from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
                 from conftest.cc:99:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:46:29: bits/c++locale.h: No such file or directory <snipped>

You're missing some -devel rpms -- those particular missing files seem to come from libstdc++-devel. You probably only want the x86_64 version.

jch


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]