fam
[Top] [All Lists]

[fam] Problem with configure

To: fam@xxxxxxxxxxx
Subject: [fam] Problem with configure
From: "Robert F. Phillips II" <phillips@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 03 Mar 2000 14:58:47 -0600
Reply-to: phillips@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Sender: owner-fam@xxxxxxxxxxx
I am maintaining a Silicon Graphics O2 workstation running IRIX 6.3 with almost
all known patches.

I downloaded the fam source for installation on said system.  When attempting to
run the configuration script (./configure), I encountered the following:

    checking for echo -e flag... foo: Unknown operator

I traced the problem to line 2629 of the file, finding the following:

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

$ECHO returns /sbin/echo;  however, IRIX 6.3 on this workstation does not appear
to support the -e option in echo.  As a result, I believe the test resolves down
to:

    if test -e foo = foo; then

since `/sbin/echo -e foo` returns "-e foo".  However, the results from the
/sbin/echo command are not protected from the test command, thus test tries to
operate on the whole expression up to the semi-colon, and errors off.

I was able to fix the problem (tested as well) by simply enclosing `$ECHO -e
foo` within double quotes:

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

You may wish to incorporate this or something similar into the configure script.

--

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Robert F. Phillips II                            E-mail:
phillips@xxxxxxxxxxxxxxxxxxxxxxxxxxx +
+ Dynacs Engineering Co.,
INC
+
+ 1110 NASA Road One, Suite 650        Voice: (281)-333-4419 ext
111                         +
+ Houston, TX 77058                                Fax:
(281)-333-4423                                      +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I'm not paranoid;  I KNOW MicroSoft is trying to get money out of me!



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

<Prev in Thread] Current Thread [Next in Thread>
  • [fam] Problem with configure, Robert F. Phillips II <=