[PPL-devel] Fwd: Re: ppl-java on Ubuntu 11.04

Roberto Bagnara bagnara at cs.unipr.it
Tue Jun 7 16:26:24 CEST 2011



-------- 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 at onera.fr>
To: Roberto Bagnara <bagnara at 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
>


-- 
Rémi Delmas
Remi.Delmas at onera.fr
+33.5.62.25.26.54
http://www.onera.fr/dtim/systemes-critiques/
ONERA BP4025
2 avenue Edouard Belin
FR-31055 TOULOUSE CEDEX 4

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log
URL: <http://www.cs.unipr.it/pipermail/ppl-devel/attachments/20110607/7c2db67b/attachment.ksh>


More information about the PPL-devel mailing list