public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/4451: install failed: Java install incorrect
@ 2001-10-02 17:46 arthur_i_schwarz
  0 siblings, 0 replies; only message in thread
From: arthur_i_schwarz @ 2001-10-02 17:46 UTC (permalink / raw)
  To: gcc-gnats

>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-02 17:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-02 17:46 other/4451: install failed: Java install incorrect arthur_i_schwarz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).