1 |
Konstantin Tokarev wrote: |
2 |
> |
3 |
> |
4 |
> 20.08.2020, 10:52, "Rabbe Fogelholm" <rabbe@×××××××.se>: |
5 |
>> Fabian Groffen wrote: |
6 |
>>> On 19-08-2020 22:52:38 +0200, Rabbe Fogelholm wrote: |
7 |
>>>> Thanks Benda for encouragement. |
8 |
>>>> |
9 |
>>>> The bootstrapping was a breeze. I started it off and it finished in a couple of |
10 |
>>>> hours. |
11 |
>>>> |
12 |
>>>> Emerging 'meld', another GTK application, was possible after adding some |
13 |
>>>> masks and USE flags. |
14 |
>>>> |
15 |
>>>> With Java, no success yet. I am trying to use a LD_LIBRARY_PATH, but |
16 |
>>>> that causes Java to crash immediately. Maybe this is just not doable. |
17 |
>>> |
18 |
>>> The Oracle SDKs (that are masked nowadays) always worked like a charm |
19 |
>>> for me. Perhaps you can use those? |
20 |
>> |
21 |
>> My understanding of the Eclipse problem is really limited. That said, |
22 |
>> I think that Eclipse uses some framework named SWT, for the GUI. SWT |
23 |
>> is somehow part of Java. And SWT uses GTK. |
24 |
> |
25 |
> SWT is not a part of Java (unlike Swing), it's an independent project (dev-java/swt) |
26 |
|
27 |
Interesting! I tried building dev-java/swt, which succeeded. But then I |
28 |
had problems. Very briefly I noticed this, |
29 |
|
30 |
- not possible to mask oracle-jdk-bin-11, I finally removed the -11 ebuild file |
31 |
from portage and ran |
32 |
ebuild oracle-jdk-bin-1.8.0.202.ebuild digest |
33 |
|
34 |
- the oracle-jdk-bin-8 does not emerge cleanly, it ends up with this warning: |
35 |
QA Notice: Symbolic link /repo/zfograb/g2/usr/lib/jvm/oracle-jdk-bin-1.8 points to /opt/oracle-jdk-bin-1.8.0.202 which does not exist. |
36 |
The link should probably point to /repo/zfograb/g2/opt/oracle-jdk-bin-1.8.0.202. |
37 |
Having fixed this, and running eselect java-vm set system 1, I could finally |
38 |
invoke Oracle Java 8 in the prefix. |
39 |
|
40 |
But, no luck with Eclipse. It crashes just the same. Since it is not built |
41 |
from source it may be that it uses the Ubuntu 16 SWT and fails. |
42 |
|
43 |
--Rabbe |
44 |
|
45 |
> |
46 |
>> |
47 |
>> So I tried to do a source build of Java in the prefix, hoping that SWT |
48 |
>> would then use the up-to-date GTK in the prefix. I went for OpenJDK 11. |
49 |
>> In the end this failed because net-print/cups is pulled in, and that |
50 |
>> ebuild fails because it tries to install files outside the prefix. |
51 |
>> |
52 |
>> I tried putting -cups in make.conf and in other places, but the cups |
53 |
>> dependency seems unavoidable. |
54 |
>> |
55 |
>> --Rabbe |
56 |
>> |
57 |
>>> Fabian |
58 |
>>>> BR and thanks / Rabbe |
59 |
>>>> |
60 |
>>>> Benda Xu wrote: |
61 |
>>>>> Hi Rabbe, |
62 |
>>>>> |
63 |
>>>>> Rabbe Fogelholm <rabbe@×××××××.se> writes: |
64 |
>>>>> |
65 |
>>>>>> I have a situation where Gentoo Prefix may possibly help. |
66 |
>>>>>> |
67 |
>>>>>> I want to run Eclipse with a plugin for Erlang development. The plugin |
68 |
>>>>>> requires me to use a recent version of Eclipse. However, the platform |
69 |
>>>>>> that I am stuck with is Ubuntu 16.04.6 LTS, which has an old GTK 3 |
70 |
>>>>>> version, which would force me to use Eclipse "Oxygen", not compatible |
71 |
>>>>>> with the Erlang plugin. |
72 |
>>>>>> |
73 |
>>>>>> So, I am wondering: If I can get Gentoo Prefix set up, with presumably |
74 |
>>>>>> an up-to-date version of GTK 3, could I then hope that this Eclipse |
75 |
>>>>>> can find the newer GTK 3 and run happily? |
76 |
>>>>> Yes, Gentoo Prefix will help. That said, it might not work out of the |
77 |
>>>>> box. I don't know anyone who is using Eclipse on Gentoo Prefix. |
78 |
>>>>> |
79 |
>>>>> You can expect bugs along your way to the destiny. And that's a good |
80 |
>>>>> way to contribute to Prefix by sharing your findings and solutions |
81 |
>>>>> through the bugzilla. |
82 |
>>>>> |
83 |
>>>>> Yours, |
84 |
>>>>> Benda |
85 |
> |
86 |
> |
87 |
> -- |
88 |
> Regards, |
89 |
> Konstantin |
90 |
> |