<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Fri, 2010-11-26 at 22:00 +0700, Somchai Smythe wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <TT><FONT COLOR="#1a1a1a">Hello list,</FONT></TT><BR>
    <BR>
    <TT><FONT COLOR="#1a1a1a">Am I doing something wrong?&nbsp; The install-sh seems to be broken now:</FONT></TT><BR>
</BLOCKQUOTE>
I can reproduce the problem. Simply invoking &quot;make install-strip&quot; will do it.<BR>
I don't know the root cause of the problem, but a workaround is to<BR>
&quot;autoreconf -vfi&quot; and then &quot;./configure --prefix ... &quot;<BR>
This will re-create the configuration using your version of automake.<BR>
That fixed it for me.<BR>
<BR>
The tarball was created from Automake 2.68, I have 2.63.<BR>
Further investigation is required, it could be the level of automake<BR>
or just some accident on disk.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <TT><FONT COLOR="#1a1a1a">make install-strip DESTDIR=/tmp/package-xcalc V=1</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">make&nbsp; INSTALL_PROGRAM=&quot;/bin/sh /tmp/xcalc-1.0.4/install-sh -c -s&quot; \</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install_sh_PROGRAM=&quot;/bin/sh /tmp/xcalc-1.0.4/install-sh -c</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">-s&quot; INSTALL_STRIP_FLAG=-s \</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `test -z '' || \</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot;INSTALL_PROGRAM_ENV=STRIPPROG=''&quot;` install</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">make[1]: Entering directory `/tmp/xcalc-1.0.4'</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">make[2]: Entering directory `/tmp/xcalc-1.0.4'</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">test -z &quot;/usr/X11R7/bin&quot; || /bin/mkdir -p &quot;/tmp/package-xcalc/usr/X11R7/bin&quot;</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">&nbsp; /bin/sh /tmp/xcalc-1.0.4/install-sh -c -s xcalc</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">'/tmp/package-xcalc/usr/X11R7/bin'</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">/tmp/xcalc-1.0.4/install-sh: line 139: syntax error near unexpected token `;;'</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">/tmp/xcalc-1.0.4/install-sh: line 139: `&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shift;;'</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">make[2]: *** [install-binPROGRAMS] Error 2</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">make[2]: Leaving directory `/tmp/xcalc-1.0.4'</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">make[1]: *** [install-am] Error 2</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">make[1]: Leaving directory `/tmp/xcalc-1.0.4'</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">make: *** [install-strip] Error 2</FONT></TT><BR>
    <BR>
    <TT><FONT COLOR="#1a1a1a">I compared it to the install-sh in xcalc-1.0.3 and it seems random</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">lines were deleted from the case statement.&nbsp; I'm using bash 4.1.9 if</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">it matters.</FONT></TT><BR>
    <BR>
</BLOCKQUOTE>
</BODY>
</HTML>