fam
[Top] [All Lists]

Re: [fam] Fam 2.6.0 on IRIX 6.2

To: "Dana E. Poulain" <dpoulain@xxxxxxxxxx>
Subject: Re: [fam] Fam 2.6.0 on IRIX 6.2
From: Wesley Smith <wessmith@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Mar 2000 11:37:15 -0800
Cc: fam@xxxxxxxxxxx
References: <38C52876.F6876E5F@xxxxxxxxxx>
Sender: owner-fam@xxxxxxxxxxx
"Dana E. Poulain" wrote:
> 
> During installation of fam 2.6.0 on an R5000 IP22 Indy running IRIX
> 6.2,
> I've encountered the following difficulties:
> 
> (1) Running "./configure" fails when checking "echo -e" with the
> notice
> 
>         checking for echo -e flag... foo: Unknown operator
> 
> (2) Upon commenting out the "echo -e" lines, "./configure" completes
> successfully,

Others on the mailing list have suggested changing the line in configure
to read:

 if test "`$ECHO -e foo`" = 'foo'; then


>       but then fails during the compilation of "Client.c++"
> 
>         /usr/bin/CC -DHAVE_CONFIG_H -I. -I. -I.. -I../include
> -fullwarn -woff
>         1209,1355 -g -mips3 -n32 -MDupdate Makedepend -ptused -c
> -DPIC
>         Client.c++ -o .libs/Client.lo
> 
>         "../include/Boolean.h", line 31: error(1084): invalid
> combination of type specifiers
>         typedef int bool;
>                          ^
>         "../include/Boolean.h", line 32: error(1040): expected an
> identifier
>         const bool true(1), false(0);
>                         ^
>         "../include/Boolean.h", line 32: error(1079): expected a type
> specifier
>         const bool true(1), false(0);
>                                 ^
>         ... more errors along same lines
> 
> Note:  "config.h" and "config.log" are attached.


These errors are consistent with the errors that you would get if bool
was already defined, and the code tried to redefine it.  But that the
configure script checked for this case:

> configure:2503: /usr/bin/CC -c -g  conftest.C 1>&5
> "configure", line 2499: error(3114): identifier "bool" is undefined
>   bool foo = true; if(foo) foo = false;
>   ^
> 
> "configure", line 2499: error(3114): identifier "true" is undefined
>   bool foo = true; if(foo) foo = false;
>              ^
> 
> "configure", line 2499: error(3114): identifier "false" is undefined
>   bool foo = true; if(foo) foo = false;
>                                  ^
> 
> 3 errors detected in the compilation of "conftest.C".
> configure: failed program was:
> #line 2496 "configure"
> #include "confdefs.h"
> 
> int main() {
> bool foo = true; if(foo) foo = false;
> ; return 0; }

And found that the compiler didn't predefine "bool".  So why is it
already defined later???

You might try setting the HAVE_BOOL option in the config.h to 1, then
doing a "make clean ; make" and see what happens.  If that doesn't
work, please send info about which version of the compiler you're using.


-- 
Wesley Smith
wessmith@xxxxxxxxxxxx
(650)933-4536

--
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>