Could you please update the PKGBUILD so that not only /bin, but ALL contents of jlibrary are copied? For example, /system contains some useful definitions, and jconsole prints an error on every startup because it cannot find it, though it does not crash and still works. Just tried, and simply putting all the contents of jlibrary into /usr/lib/j9 works perfectly
Unable to build. PKGBUILD must be fixed.
It looks like a recent commit broke the build. If you change the invocation of build_all.sh to ./build_all.sh, it works.
@mooshmooshme, thanks, package updated.
Thanks for maintaining this package. J seems to use pcre2 for the built in regular expression package instead of pcre. I also think pcre2 should be a dependency of j9-git.
The command: echo "'\w*' rxmatch 'hello'" | j9 -c should output 0 5.
Here is a patch of what I changed to get it working:
https://pastebin.com/RDN4nhUh
Oh, my mistake. I thought I had clean built but I have just retried and it went smoothly. I must have inadvertently selected a different option. Thanks, works great. (unflagging)
@Lukalot, have you tried a clean build?
EDIT: Asking, because new PKGBUILD doesn't create jsource-master directory anymore.
Hm, @tomeil's new PKGBUILD works great. This AUR package is still encountering the same cannot stat error though. It may have not been entirely updated?
You are right.
When I've created the package, some years ago, I've put all customization in jenv.tar.gz just to simplify the PKGBUILD.
jenv contains the two main J addons, ide/jqt and ide/jhs (coming from the official addons repository), in order to have a J package providing "out of the box" the most important J IDE.
Then, I added the j9hsd.service to allow enabling jhs server at system level by means of systemd.
The other important custom file is profilex.ijs, which allows J updates at user level (in ~/.config/j9) by means of J package manager.
Finally, there are some .desktop files and icons to launch J from develop menu of desktop environments.
I've incorporated update from tomeil and changed the versioning scheme/package structure to better reflect the nature of the package.
Please check it out and confirm it works.
I also have in plans to remove external dependency on the jenv.tar.gz that's coming from a third party. Ideally, package should only depend on official sources, or files we build ourselves.