openjfx-8u20-b23: Stuck in monocle build for armv7hf
Prasant J
pj0585 at gmail.com
Thu Jul 31 14:52:31 UTC 2014
On Thu, Jul 31, 2014 at 6:41 PM, Daniel Blaukopf
<daniel.blaukopf at oracle.com> wrote:
> Hi Prasant,
>
> I suggest you modify the following line in bin/pkg-config in your SDK directory:
>
> export PKG_CONFIG_LIBDIR=${SYSROOT}/usr/lib/arm-linux-gnueabihf/pkgconfig:${SYSROOT}/usr/lib/pkgconfig:${SYSROOT}/usr/share/pkgconfig
>
> .. so that it includes the path to your Pango package index.
>
> Thanks,
> Daniel
>
pkg-config is a binary file. I cannot edit it :(
It seems gralde exec has something called as environment but I don't
know how to use it. I tried few combinations but all fails.
>
> On Jul 31, 2014, at 4:06 PM, Lisa Selle <lisa.selle at oracle.com> wrote:
>
>> Kevin or David,
>>
>> Ideas on how to get Prasant past this issue? Apparently he has his pango libs installed in a non-standard location and needs to use PKG_CONFIG_PATH so they can be found.
>>
>> Thanks,
>>
>> Lisa
I did a quick hack (cheat code). I ran the commands in my shell and
manually copied the cflags and linker flags to go ahead with the
build.
The build has succeeded!
But we should modify the build script the right way.
Please keep pouring the ideas. We need to fix this!
I will post my application experience/issues with openjfx 8u20-b23 in
separate emails.
Thanks Lisa & Daniel!
-Pj
>> -------- Original Message --------
>> Subject: Re: openjfx-8u20-b23: Stuck in monocle build for armv7hf
>> Date: Thu, 31 Jul 2014 11:37:08 +0530
>> From: Prasant J <pj0585 at gmail.com>
>> To: Lisa Selle <lisa.selle at oracle.com>
>> CC: openjfx-dev at openjdk.java.net Mailing <openjfx-dev at openjdk.java.net>
>>
>>
>>
>> On Thu, Jul 31, 2014 at 10:10 AM, Prasant J <pj0585 at gmail.com> wrote:
>>> On Wed, Jul 30, 2014 at 11:16 PM, Lisa Selle <lisa.selle at oracle.com> wrote:
>>>> How did you install your arm toolchain?
>>>>
>>>
>>> I'm using yocto (poky distribution) for my iMX6. I can build my own
>>> SDK (toolchain). I'm using that.
>>> I may have made some mistake is setting up the toolchain (I will look
>>> into that one again).
>>>
>>
>> I have now corrected the toolchian setup!
>>
>>>
>>>> https://wiki.openjdk.java.net/display/OpenJFX/Cross+Building+for+Arm+Hard+Float
>>>>
>>>> If it's installed according to these instructions pkg-config should get
>>>> picked up from the correct place and there should be no need to set any
>>>> environment variables.
>>>
>>> Is there a way to set environment variables?
>>>
>>>>
>>
>> Still stuck at the same point.
>>
>> In my linux shell I executed the following commands:
>>
>> ./pkg-config --cflags pangoft2 [cannot find package pangoft2]
>> PKG_CONFIG_PATH=<path> ./pkg-config --cflags pangoft2 [finds the
>> package and lists the cflags]
>>
>> So, is there any way to pass the environment variable PKG_CONFIG_PATH
>> before executing 'commandLine' ?
>>
>>
>> Regards, Pj
>>
>>
>>
>
More information about the openjfx-dev
mailing list