<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
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
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
<meta name="generator" content="LibreOffice 5.1.1.3 (Linux)">
<style type="text/css">
@page { margin: 0.79in }
p { margin-bottom: 0.1in; direction: ltr; color: #000000; line-height: 120%; orphans: 2; widows: 2 }
p.western { font-family: "Calibri", sans-serif; font-size: 11pt; so-language: it-IT }
p.cjk { font-family: "Calibri", sans-serif; font-size: 11pt }
p.ctl { font-family: "Times New Roman", serif; font-size: 11pt; so-language: ar-SA }
</style>22978, there are the following lines:<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<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>
<title></title>
<meta name="generator" content="LibreOffice 5.1.1.3 (Linux)">
<style type="text/css">
@page { margin: 0.79in }
p { margin-bottom: 0.1in; direction: ltr; color: #000000; line-height: 120%; orphans: 2; widows: 2 }
p.western { font-family: "Calibri", sans-serif; font-size: 11pt; so-language: it-IT }
p.cjk { font-family: "Calibri", sans-serif; font-size: 11pt }
p.ctl { font-family: "Times New Roman", serif; font-size: 11pt; so-language: ar-SA }
</style>The sed command replaces cygwin with win32 in ac_machdep. 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>
</body>
</html>