<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,<br>
I am trying to compile the Java bindings for PPL on a 32 bit
Windows system with MinGW. I have the following problems:<br>
<br>
1) The configure script returns an error (something like "cannot
include jni.h"). The problem is that in the configure script, row
22978, there are the following lines:<br>
</p>
<p class="western" style="margin-bottom: 0.14in; line-height: 115%"
lang="en-GB"> ac_machdep=`echo $build_os | sed 's,[-0-9].*,,' |
sed 's,cygwin,win32,'`</p>
<p class="western" style="margin-bottom: 0.14in; line-height: 115%"
lang="en-GB"> JNIFLAGS="-I$ac_dir -I$ac_dir/$ac_machdep"</p>
The sed command replaces cygwin with win32 in ac_machdep. I think
the same translation should be applied for mingw, otherwise the "-I"
parameter which is passed to the compiler points to an non existent
directory.<br>
<br>
2) With Linux I use "ppl-config -l" to determine the location of the
generated ppl_java.jar file. When I do the same in MinGW,
"ppl-config -l" returns something like "/usr/local/lib", which is
not a real directory in the Windows filesystem, but a virtual
directory within the MinGW (or MSYS) installation. Do you have any
idea how I can recover the real directory where PPL has been
installed?<br>
<br>
Thanks!<br>
<br>
--gianluca<br>
<br>
P.S. This is a repost of a message I sent a couple of months ago but
which has been probably lost.<br>
<br>
</body>
</html>