Actually it wasn't ok. It turned out that Jqt >> about showed that is was 
running J9.02 when installed from /usr/bin - and not 9.03 as when run in from 
my own directory tree.
I then tried to solve conflicts by removing all my old J versions installed in 
various ways (oldest was 8.06  in /usr/local - the latest file organisation is 
great! by the way).

Eventually, I found the culprit: the version 9.03 jqt executable contains a 
reference to libjqt.so 9.02. After patching this to 9.03 in the executable, all 
works perfectly.

00003FE0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 ................................
00004000  01 00 02 00 43 00 2F 6C 69 62 6A 71 74 00 2F 75 73 72 2F 62 69 6E 2F 
00 6C 69 62 6A 71 74 2E 73 ....C./libjqt./usr/bin/.libjqt.s
00004020  6F 00 2E 00 39 2E 30 32 00 73 74 61 74 65 5F 72 75 6E 00 64 65 66 61 
75 6C 74 00 6A 71 74 76 65 o...9.02.state_run.default.jqtve
00004040  72 73 69 6F 6E 3A 66 75 6C 6C 2F 31 2E 39 2E 35 2F 35 2E 31 32 2E 38 
3A 00 00 00 00 00 00 00 00 rsion:full/1.9.5/5.12.8:........
00004060  63 6F 75 6C 64 20 6E 6F 74 20 72 65 73 6F 6C 76 65 3A 20 73 74 61 74 
65 5F 72 75 6E 3A 0A 0A 00 could not resolve: state_run:...
00004080  2F 70 72 6F 63 2F 73 65 6C 66 2F 65 78 65 00 00 58 01 00 00 00 00 00 
00 08 0C 05 00 00 00 00 00 /proc/self/exe..X...............



De : bill lam <[email protected]>
À : Programming forum <[email protected]>
Sujet : Re: [Jprogramming] J9.03 jqt installation problem on Linux Ubuntu 20.04
Date : 17/03/2022 04:14:11 Europe/Paris

Thank you John-Philip and Raul. The fix will be in the next release.


On Thu, Mar 17, 2022 at 2:00 AM <[email protected]> wrote:

> Thanks Raul. Very helpful indeed.
> vsuffix_z_ =: 'so.9.03'
> saved the day and everything works fine now.
>
> I seem to have the correct pacman.ijs:
>
> $ find j903 -name pacman.ijs | xargs grep vsuffix=
> vsuffix=. ('Darwin'-:UNAME){::'so.9.03';'9.03.dylib'
> $ md5sum j903/system/util/pacman.ijs
> f4a658fe640ac9dad429b2b4e2f60dce j903/system/util/pacman.ijs
>
> De : Raul Miller <[email protected]>
> À : Programming forum <[email protected]>
> Sujet : Re: [Jprogramming] J9.03 jqt installation problem on Linux Ubuntu
> 20.04
> Date : 16/03/2022 18:30:52 Europe/Paris
>
> $ find j903 -name pacman.ijs
> j903/system/util/pacman.ijs
> j903/addons/ide/qt/pacman.ijs
> j903/addons/ide/jnet/util/pacman.ijs
> $ find j903 -name pacman.ijs | xargs grep vsuffix=
> j903/system/util/pacman.ijs:vsuffix=.
> ('Darwin'-:UNAME){::'so.9.03';'9.03.dylib'
>
> I would first check that your copy of system/util/pacman.ijs is valid.
>
> If it is, something odd is going on, perhaps with scope. Possible
> workarounds would include changing vsuffix=. to vsuffix=: or assigning
> vsuffix_z_ or using J's debugger to inspect the point of failure
>
> I hope this helps,
>
> --
> Raul
>
>
>
> On Wed, Mar 16, 2022 at 8:31 AM <[email protected]> wrote:
> >
> > Initial installation steps following
> https://code.jsoftware.com/wiki/System/Installation/J903 went smoothly,
> but trouble appears when installing jqt.
> >
> > $ cat /etc/issue
> > Ubuntu 20.04.2 LTS \n \l
> > $ uname -srvmpio
> > Linux 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022
> x86_64 x86_64 x86_64 GNU/Linux
> > $ # temporarily change Desktop permissions else pacman fails
> > $ sudo chmod go+x /root/Desktop
> > $ sudo /usr/bin/ijconsole-9.03
> > load 'pacman'
> > 'install' jpkg '*'
> > these steps can take several minutes
> > *** next step updates addons and base library
> > Updating server catalog...
> > [ the following lines occurred on the first attempt and all packages
> were well installed]
> > Installing 127 packages
> > Downloading api/expat...
> > Installing api/expat...
> > Dowloading api/gles...
> > Installing api/gles...
> > [ many lines edited edited]
> > Downloading web/gethttp...
> > Installing web/gethttp...
> > Done
> > [ end of package installation ]
> > *** next step updates Jqt ide
> > Updating server catalog...
> > Installing 1 package
> > Downloading base library...
> > Installing base library...
> > Done.
> > Installing JQt binaries...
> > install libjqt.so to /usr/lib/x86_64-linux-gnu/
> > |value error: vsuffix
> > | echo'cd ',(dquote jpath'~temp'),' && tar --no-same-owner
> --no-same-permissions -xzf ',(dquote p),' && chmod 755 jqt && mv jqt
> ',BINPATH,'/jqt-9.03 && cp libjqt.',suffix,' ',d1,'/libjqt.',vsuffix,' &&
> chmod 755 ',d1,'/libjqt.', vsuffix,('Linux'-:UNAME)#' && ldconfig'
> >
> > Since /usr/share/j/9.03/system/util/pacman.ijs gets downloaded afresh on
> every run, I cannot work around this by hard coding vsuffix just before the
> failing command.
> >
> >
> >
> >
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm




----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to