other/4451: install failed: Java install incorrect
arthur_i_schwarz@west.raytheon.com
arthur_i_schwarz@west.raytheon.com
Tue Oct 2 17:46:00 GMT 2001
>Number: 4451
>Category: other
>Synopsis: install failed: Java install incorrect
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 02 17:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: arthur schwarz
>Release: gcc-3.0.1
>Organization:
>Environment:
cygwin under WinNT
>Description:
During install in install-sh the following commands are issued:
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
[1] The object file: '/../<objdir>/fastjar/jar.exe' is moved to: '/usr/local/bin/jar/jar.#<processID>#.exe', renaming done by dsttmp.
[2] Subsequently $chmodcmd fails when '/../jar.#<processID># is not found.
and:
[1] The install fails when '/usr/local/bin/jar' does not exist.
>How-To-Repeat:
configure --enable-threads=win32
make bootstrap
make install
>Fix:
workaround:
[1] Create directory '/usr/local/bin/jar'.
[2] Copy /../fastjar/jar.exe to /usr/local/bin/jar/jar
[3] Delete directory /usr/local/bin when done.
[4] If the assignment of the problem to 'install-sh' is incorrect, the workaround works.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-prs
mailing list