Menu

#55 configure failed on cygwin

open
nobody
5
2003-07-31
2003-07-31
Anonymous
No

when running configure got this error:

checking for unzip... /bin/unzip
checking for java.lang.Object... ./configure: line 1:
/bin/cygpath --windows --path: No such file or directory
/bin/unzip -v -C java/lang/Object.class
./configure: line 1: /bin/cygpath --windows --path: No
such file or directory
no
configure: error: Please specify location of core java
class library

turns out the CLASS_CHECK function tries to run
"/bin/cygpath --windows --path" as the name of an
executable :-(

fixed by replacing line 1813 of configure:

$UNZIP -v -C `$SUBSTCP $1` $2 >/dev/null 2>&1

with this:

$UNZIP -v -C $1 $2 >/dev/null 2>&1

Discussion


Log in to post a comment.