It sounds like you are trying to install on an IRIX system.
Check out the release notes LAM/MPI installation guide in the section
"Platform-Specific Release Notes" / "IRIX". In that section, it notes
that you need to add "-LANG:std" to the CXXFLAGS environment variable
before running LAM/MPI's configure script. This is because IRIX's C++
compiler does not recognize standard C++ without the use of this flag
(which is just weird, if you ask me!).
If you do this, LAM/MPI should build correctly.
On Fri, 28 Nov 2003, amay wrote:
> Dear Sir:
> In the process of installing Lam-7.0.3,i took following steps.
> 1. gunzip -c lam-7.0.3.tar.gz | tar xf -
> 2. cd lam-7.0.3
> 3. setenv CC cc
> 4. setenv CXX CC
> 5. setenv FC f77
> 6. ./configure --prefix=/sjtu2/users/amay1975/cxm/lam
> The configure step finished successfully. However in the step of make, some bugs appear.
> cc-1035 CC: WARNING File = /usr/include/CC/iostream, Line = 18
> #error directive: This header file requires the -LANG:std option
> #error This header file requires the -LANG:std option
> ^
> cc-1035 CC: WARNING File = /usr/include/CC/iosfwd, Line = 18
> #error directive: This header file requires the -LANG:std option
> #error This header file requires the -LANG:std option
> ^
> cc-1035 CC: WARNING File = /usr/include/CC/istream, Line = 18
> #error directive: This header file requires the -LANG:std option
>
> - Ignored:
>
> #error This header file requires the -LANG:std option
> ^
>
> cc-1035 CC: WARNING File = /usr/include/CC/ostream, Line = 18
> #error directive: This header file requires the -LANG:std option
>
> #error This header file requires the -LANG:std option
> ^
>
> cc-1070 CC: ERROR File = /usr/include/CC/string, Line = 2172
> The indicated type is incomplete.
>
> char __f = __os.fill();
> ^
>
> cc-1367 CC: ERROR File = /usr/include/CC/string, Line = 2175
> A pointer to an incomplete class type is not allowed.
>
> for (__i = 0; __i < __n; __i++) __buf->sputc(__f);
> ^
>
> cc-1132 CC: ERROR File = /usr/include/CC/ios, Line = 349
> The class "std::char_traits<char>" has no member "pos_type".
>
> typedef typename _Traits::pos_type pos_type;
> ^
> detected during instantiation of class
> "std::basic_ios<char, std::char_traits<char>>" at line 434
>
> cc-1132 CC: ERROR File = /usr/include/CC/ios, Line = 350
> The class "std::char_traits<char>" has no member "off_type".
>
> typedef typename _Traits::off_type off_type;
> ^
> detected during instantiation of class
> "std::basic_ios<char, std::char_traits<char>>" at line 434
>
> cc-1035 CC: WARNING File = /usr/include/CC/streambuf, Line = 18
> #error directive: This header file requires the -LANG:std option
>
> #error This header file requires the -LANG:std option
> ^
>
> cc-1079 CC: ERROR File = /usr/include/CC/streambuf, Line = 410
> A type specifier is expected.
>
> typedef char_traits<char>::pos_type pos_type;
> ^
>
> cc-1079 CC: ERROR File = /usr/include/CC/streambuf, Line = 411
> A type specifier is expected.
>
> typedef char_traits<char>::off_type off_type;
> ^
>
> 6 errors detected in the compilation of "win.cc".
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
>
> Wait for your reply. Thanks to every one who helps me.
> Regards.
>
>
> amay
> amay1975_at_[hidden]
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|