Wednesday, June 26, 2024

Re: [update] devel/intellij to 2024.1.4

On Wed, 26 Jun 2024 09:30:58 +0100,
Robert Palm <developer@robert-palm.de> wrote:
>
> Using current version idea-IC-241.14494.240 I see some messages in the
> console at startup. Maybe the JNA warning is something to look at? Other
> warnings seem IDE related...
>
>
> 2024-06-26 10:19:46,572 [ 71] WARN - #c.i.p.i.b.AppStarter -
> Unable to load JNA library (os=OpenBSD 7.5,
> jna.boot.library.path=/usr/local/intellij/lib/jna/amd64)
> java.lang.UnsatisfiedLinkError: Unable to locate JNA native support library
> at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:1014)
>
>

Well, the problem is that IDEA doesn't support OpenBSD. Or at least it seems
so by examining the JNA sources [1]. Probably a Linux version can be ported
... but after that we should rebuild IDEA from scratch.

So fsNotifier depends on /proc [2] and seems to be very Linux specific.

And frankly speaking I see that only fsNotifier and LinuxGlobalMenu can be
ported, everything else is MacOS or Windows specific.

Footnotes:
[1] https://github.com/JetBrains/intellij-community/tree/master/native

[2] https://github.com/JetBrains/intellij-community/blob/master/native/fsNotifier/linux/inotify.c

--
wbr, Kirill

No comments:

Post a Comment