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