<!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? The install-sh seems to be broken now:</FONT></TT><BR>
</BLOCKQUOTE>
I can reproduce the problem. Simply invoking "make install-strip" will do it.<BR>
I don't know the root cause of the problem, but a workaround is to<BR>
"autoreconf -vfi" and then "./configure --prefix ... "<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 INSTALL_PROGRAM="/bin/sh /tmp/xcalc-1.0.4/install-sh -c -s" \</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a"> install_sh_PROGRAM="/bin/sh /tmp/xcalc-1.0.4/install-sh -c</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">-s" INSTALL_STRIP_FLAG=-s \</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a"> `test -z '' || \</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a"> echo "INSTALL_PROGRAM_ENV=STRIPPROG=''"` 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 "/usr/X11R7/bin" || /bin/mkdir -p "/tmp/package-xcalc/usr/X11R7/bin"</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a"> /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: ` 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. I'm using bash 4.1.9 if</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">it matters.</FONT></TT><BR>
<BR>
</BLOCKQUOTE>
</BODY>
</HTML>