Fwd: Re: ppl-java on Ubuntu 11.04

-------- Original Message -------- Subject: Re: [PPL-devel] ppl-java on Ubuntu 11.04 Date: Tue, 07 Jun 2011 16:22:42 +0200 From: Rémi Delmas Remi.Delmas@onera.fr To: Roberto Bagnara bagnara@cs.unipr.it
Roberto, thank you so much for taking interest in my issue!
Indeed I meant that there was no .deb containing the java interface in the standard ubuntu mirrors, they only have the C/C++ interfaces.
however, I tried to build from ppl-0.11.2 sources on my system (ubuntu 11.04 using the following command
./configure --libdir=/usr/local/lib64 --with-java=/usr/lib/jvm/java-6-sun --enable-interfaces=java; make
the make exits error as follows:
*********** /usr/bin/ld: /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/libstdc++.a(ctype.o): relocation R_X86_64_32S against `vtable for std::ctype<wchar_t>' can not be used when making a shared object; recompile with -fPIC /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/libstdc++.a: could not read symbols: Bad value collect2: ld returned 1 exit status ************
To try to overcome the "can not be used when making a shared object; recompile with -fPIC" error, I tried to build using this command
./configure --libdir=/usr/local/lib64 --with-java=/usr/lib/jvm/java-6-sun --enable-interfaces=java --with-pic=yes ; make
Attached is the full build log.
Best regards,
/Rémi
On 07/06/2011 14:33, Roberto Bagnara wrote:
On 06/06/2011 10:22 AM, Rémi Delmas wrote:
this email to let you know we're missing the ppl-java interface under ubuntu 11.04 (and previous releases as well)!
Hi Rémi,
I configured PPL 0.11.2 with the command
./configure --libdir=/usr/local/lib64 --with-java=/usr/lib/jvm/java-6-openjdk --enable-interfaces=java
on an x86_64 Ubuntu 11.04 system. The Java interface built correctly and passed make check.
So I guess you mean that Ubuntu 11.04 (and previous Ubuntu releases) do not provide a package for the Java interface, right? This is something you should report to the Ubuntu/Debian maintainers. If you decide to contact them, please feel free to CC us and to tell them that, in case they agree to package the Java interface, we will provide assistance. All the best,
Roberto
participants (1)
-
Roberto Bagnara