Bill L.,

I thought I updated the base library, but I'm trying it again.

Running ijconsole as root on Debian Oldstable:

# ijconsole
   load 'pacman'
   'install' jpkg '*'
these steps can take several minutes
*** next step updates addons and base library
Updating server catalog...
Installing 2 packages
Downloading data/jd...
Installing data/jd...
Downloading games/bagofnouns...
Installing games/bagofnouns...
Done.
*** 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/.
cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
"/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt /usr/bin/jqt-9.01 &&
cp libjqt.so /usr/lib/x86_64-linux-gnu/./libjqt.so.9.01 && chmod 755
/usr/lib/x86_64-linux-gnu/./libjqt.so.9.01 && ldcon...
update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.01 901
update-alternatives: warning: forcing reinstallation of alternative
/usr/bin/jqt-9.01 because link group jqt is broken
Finished install of JQt binaries.
jqt dependencies not found - jqt will not start until these are resolved
libQt5WebEngine.so.5 => not found
libQt5WebEngineWidgets.so.5 => not found
libQt5WebEngineCore.so.5 => not found
libQt5WebChannel.so.5 => not found
If libjqt cannot be loaded, see this guide for installing the Qt library
https://code.jsoftware.com/wiki/Guides/Linux_Installation
Exit and restart J using jqt
*** next step updates JE
upgrade not required - already current
*** next step creates desktop J launch icons
~/Desktop folder does not exist for shortcuts
perhaps create ~/Desktop as link to your Desktop folder and rerun
|assertion failure: assert
|       assert 0

And back in bash:

# aptitude search libQt5Web
p   libqt5webchannel5               - Web communication library for Qt

p   libqt5webchannel5:i386          - Web communication library for Qt

p   libqt5webchannel5-dev           - Web communication library for Qt -
develop
p   libqt5webchannel5-dev:i386      - Web communication library for Qt -
develop
p   libqt5webengine-data            - Web content engine library for Qt

v   libqt5webengine-data:i386       -

p   libqt5webengine5                - Web content engine library for Qt

p   libqt5webengine5:i386           - Web content engine library for Qt

p   libqt5webenginecore5            - Web content engine library for Qt

p   libqt5webenginecore5:i386       - Web content engine library for Qt

p   libqt5webenginewidgets5         - Web content engine library for Qt

p   libqt5webenginewidgets5:i386    - Web content engine library for Qt

i   libqt5webkit5                   - Web content engine library for Qt

p   libqt5webkit5:i386              - Web content engine library for Qt

p   libqt5webkit5-dbg               - Web content engine library for Qt -
debugg
p   libqt5webkit5-dbg:i386          - Web content engine library for Qt -
debugg
p   libqt5webkit5-dev               - Web content engine library for Qt -
develo
p   libqt5webkit5-dev:i386          - Web content engine library for Qt -
develo
i   libqt5websockets5               - Qt 5 Web Sockets module

p   libqt5websockets5:i386          - Qt 5 Web Sockets module

p   libqt5websockets5-dev           - Qt 5 Web Sockets module - development
file
p   libqt5websockets5-dev:i386      - Qt 5 Web Sockets module - development
file
# aptitude install libqt5webchannel5 libqt5webengine5 libqt5webengine-data
libqt5webenginecore5 libqt5webenginewidgets5

 Back in a new jconsole session:

   'install' jpkg '*'
these steps can take several minutes
*** next step updates addons and base library
Updating server catalog...
*** 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/.
cd "/tmp" && tar --no-same-owner --no-same-permissions -xzf
"/tmp/jqt-linux-x64.tar.gz" && chmod 755 jqt && mv jqt /usr/bin/jqt-9.01 &&
cp libjqt.so /usr/lib/x86_64-linux-gnu/./libjqt.so.9.01 && chmod 755
/usr/lib/x86_64-linux-gnu/./libjqt.so.9.01 && ldcon...
update-alternatives --install /usr/bin/jqt jqt /usr/bin/jqt-9.01 901
update-alternatives: warning: forcing reinstallation of alternative
/usr/bin/jqt-9.01 because link group jqt is broken
Finished install of JQt binaries.
If libjqt cannot be loaded, see this guide for installing the Qt library
https://code.jsoftware.com/wiki/Guides/Linux_Installation
Exit and restart J using jqt
*** next step updates JE
~/Desktop folder does not exist for shortcuts
perhaps create ~/Desktop as link to your Desktop folder and rerun
|assertion failure: assert
|       assert 0

Assuming the ~/Desktop complaint is not important but checking:

#  ls ~/
Desktop  gparted_details.htm

*Finally*,

In bash:

# jqt
Qt: Session management error: None of the authentication protocols
specified are supported

Is that important?  When I run jqt as me, not as root, it doesn't show up.

In jqt:

9!:14''

j901/j64avx2/linux/release-e/commercial/
www.jsoftware.com/2020-01-29T10:40:35

This is a long way of saying thanks. I thought I had installed the base
library, but I may not. I obviously missed the need to install Debian
libqt5web* packages. Just curious: is this a new requirement for J9? I had
been running jqt under J8.07 just fine.


And now it seems to work.


Bill

On Sat, May 23, 2020 at 8:28 AM bill lam <[email protected]> wrote:

> Did you update to the latest base library before install jqt?
> the latest base library version is 9.01.24
>
> On Sat, May 23, 2020 at 1:29 PM Bill Harris <[email protected]> wrote:
>
> > Trying again from scratch:
> >
> > root@langley:/home/me/bin# dpkg -r jlang
> > dpkg: warning: ignoring request to remove jlang which isn't installed
> > root@langley:/home/me/bin# dpkg -i j901_amd64.deb
> > Selecting previously unselected package jlang.
> > (Reading database ... 366277 files and directories currently installed.)
> > Preparing to unpack j901_amd64.deb ...
> > Unpacking jlang (9.01) ...
> > Setting up jlang (9.01) ...
> > root@langley:/home/me/bin#  ijconsole
> >      load 'pacman'
> >    'install' jpkg '*'
> > these steps can take several minutes
> > *** next step updates addons and base library
> > Updating server catalog...
> > Installing 7 packages
> > Downloading base library...
> > Installing base library...
> > Downloading data/jd...
> > Installing data/jd...
> > Downloading data/jmf...
> > Installing data/jmf...
> > Downloading games/bagofnouns...
> > Installing games/bagofnouns...
> > Downloading labs/labs...
> > Installing labs/labs...
> > Downloading math/calculus...
> > Installing math/calculus...
> > Downloading math/uu...
> > Installing math/uu...
> > Done.
> > Installing 2 packages
> > Downloading ide/jnet...
> > Installing ide/jnet...
> > Downloading ide/qt...
> > Installing ide/qt...
> > Done.
> > *** 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/.
> > update-alternatives: warning: forcing reinstallation of alternative
> > /usr/bin/jqt-9.01 because link group jqt is broken
> > Finished install of JQt binaries.
> > Exit and restart J using jqt
> > *** next step updates JE
> > *** next step creates desktop J launch icons
> > ~/Desktop folder does not exist for shortcuts
> > perhaps create ~/Desktop as link to your Desktop folder and rerun
> > |assertion failure: assert
> > |       assert 0
> >    exit''
> > root@langley:/home/mo/bin# jqt
> > "libjqt.so.9.01"
> > "could not resolve: state_run:\n\nCannot load library libjqt.so.9.01:
> > (libjqt.so.9.01: cannot open shared object file: No such file or
> > directory)"
> > root@langley:/home/me/bin#
> >
> > My system, Debian Oldstable:
> >
> > $ uname -a
> > Linux langley 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64
> > GNU/Linux
> >
> > Comparing to
> > https://code.jsoftware.com/wiki/System/Installation/J901/Debian
> > :
> >
> > $ ls -l /usr/bin/ijconsole
> > lrwxrwxrwx 1 root root 14 Jan 12 07:33 /usr/bin/ijconsole ->
> ijconsole-9.01
> >
> > $ ls -l /usr/lib/x86_64-linux-gnu/libj.so.9.01
> > -rw-r--r-- 1 root root 4256008 May  9 22:59
> > /usr/lib/x86_64-linux-gnu/libj.so.9.01
> >
> > $ ls -lt /usr/share/j/9.01/
> > total 20
> > drwxr-xr-x  2 root root 4096 May  9 22:55 icons
> > drwxr-xr-x  3 root root 4096 May  9 22:55 tools
> > drwxr-xr-x  7 root root 4096 May  9 22:55 system
> > drwxr-xr-x 29 root root 4096 May  3 09:11 addons
> > -rw-r--r--  1 root root  191 Jan 12 07:33 ijconsole.desktop
> >
> > $  ls -lt /etc/j/9.01/
> > total 8
> > -rw-r--r-- 1 root root 1853 Jan 12 07:01 profile.ijs
> > -rw-r--r-- 1 root root  801 Jan 12 07:01 profilex_template.ijs
> >
> >
> > Ideas?  Did I do something wrong?  Is there something I could fix by
> moving
> > some file into the right spot?
> >
> > Thanks,
> >
> > Bill H.
> >
> >
> > On Tue, May 5, 2020 at 7:07 PM Bill Harris <[email protected]> wrote:
> >
> > > I thought I upgraded. I don't recall seeing that link. I'll try it
> again
> > > and report back.
> > >
> > > Thanks,
> > >
> > > Bill
> > >
> > > On Tue, May 5, 2020, 4:38 PM bill lam <[email protected]> wrote:
> > >
> > >> Did you update the latest version of base library to install jqt? If
> so,
> > >> you should see a message and a link to jwiki webpage of linux jqt
> > >> installation guide where you can find information in case of missing
> qt
> > >> library. Did you see the link?
> > >>
> > >> On Wed, May 6, 2020, 7:25 AM Bill Harris <[email protected]>
> wrote:
> > >>
> > >> > ping .... ?
> > >> >
> > >> > jqt worked readily in 8.07.  If this isn't a known issue, I'll try
> to
> > >> find
> > >> > time this weekend to dig in a bit.
> > >> >
> > >> > Bill
> > >> >
> > >> > On Sun, May 3, 2020 at 10:11 AM Bill Harris <[email protected]>
> > >> wrote:
> > >> >
> > >> > > Thanks, Bill L..
> > >> > >
> > >> > > I ran ijconsole as root, ignored /pacman/ 'cause pacman got me a
> > value
> > >> > > error: pacman and install 'qtide' worked.  (I thought qtide was
> > >> probably
> > >> > > gotten as part of my earlier install 'all', but maybe not.)
> > >> > >
> > >> > > Then apparently the symlink is there, but the target may not be:
> > >> > >
> > >> > > me@here:~/bin$ jqt
> > >> > > "libjqt.so.9.01"
> > >> > > "could not resolve: state_run:\n\nCannot load library
> > libjqt.so.9.01:
> > >> > > (libQt5WebEngine.so.5: cannot open shared object file: No such
> file
> > or
> > >> > > directory)"
> > >> > > me@here:~/bin$ /usr/bin/jqt-9.01
> > >> > > "libjqt.so.9.01"
> > >> > > "could not resolve: state_run:\n\nCannot load library
> > libjqt.so.9.01:
> > >> > > (libQt5WebEngine.so.5: cannot open shared object file: No such
> file
> > or
> > >> > > directory)"
> > >> > >
> > >> > > Thoughts?
> > >> > >
> > >> > > Bill H.
> > >> > >
> > >> > > On Sun, May 3, 2020 at 9:31 AM bill lam <[email protected]>
> > wrote:
> > >> > >
> > >> > >> Actually j807 and j901 can coexist but the deb package was
> written
> > >> bad
> > >> > >> enough.
> > >> > >>
> > >> > >> Anyways you need to install jqt with usual sudo ijconsole /
> pacman
> > /
> > >> > >> install'qtide' etc.
> > >> > >> In case symlink of jqt not created, the executable is
> > >> /usr/bin/jqt-9.01
> > >> > >> you can make symlink to /usr/bin/jqt or just run
> /usr/bin/jqt-9.01
> > >> > >>
> > >> > >>
> > >> > >> On Mon, May 4, 2020 at 12:20 AM Bill Harris <
> [email protected]>
> > >> > wrote:
> > >> > >>
> > >> > >> > I tried to install J9.01 over J8.07 on Debian Stretch following
> > the
> > >> > >> Debian
> > >> > >> > instructions, and I got
> > >> > >> >
> > >> > >> > root@here:/home/me/bin# dpkg -i j901_amd64.deb
> > >> > >> > > (Reading database ... 366466 files and directories currently
> > >> > >> installed.)
> > >> > >> > > Preparing to unpack j901_amd64.deb ...
> > >> > >> > > Unpacking jlang (9.01) over (8.07) ...
> > >> > >> > > dpkg: warning: unable to delete old directory
> > >> > >> > > '/usr/share/j/8.07/addons/ide': Directory not empty
> > >> > >> > > dpkg: warning: unable to delete old directory
> > >> > >> '/usr/share/j/8.07/addons':
> > >> > >> > > Directory not empty
> > >> > >> > > dpkg: warning: unable to delete old directory
> > >> '/usr/share/j/8.07':
> > >> > >> > > Directory not empty
> > >> > >> > > Setting up jlang (9.01) ...
> > >> > >> > > root@ here:/home/me/bin#  exit
> > >> > >> > > exit
> > >> > >> >
> > >> > >> >
> > >> > >> > So you can't install in parallel anymore, it seems.
> > >> > >> >
> > >> > >> > I quit an open jqt 8.07 session, tried again, and it seemed to
> > >> work.
> > >> > >> >  ijconsole must be using a previous alias, and it works:
> > >> > >> >
> > >> > >> > ~/bin$ ijconsole
> > >> > >> >    9!:14 ''
> > >> > >> > j901/j64/linux/release-c/commercial/
> > >> > >> www.jsoftware.com/2020-01-11T10:39:00
> > >> > >> >
> > >> > >> > Then I followed the instructions to install all addons.  At the
> > >> end,
> > >> > it
> > >> > >> > said,
> > >> > >> >
> > >> > >> > Done.
> > >> > >> > Addons are up to date.
> > >> > >> > Restart J to get the latest version of the base library.
> > >> > >> >    exit''
> > >> > >> > root@here:/home/me/bin# ijconsole
> > >> > >> >    9!:14''
> > >> > >> > j901/j64/linux/release-c/commercial/
> > >> > >> www.jsoftware.com/2020-01-11T10:39:00
> > >> > >> >    install 'base'
> > >> > >> > Updating server catalog...
> > >> > >> >
> > >> > >> >    exit''
> > >> > >> >
> > >> > >> > Then i tried jqt:
> > >> > >> >
> > >> > >> > ~/bin$ jqt
> > >> > >> > Load library libj.so.8.07 failed.
> > >> > >> > me@here:~/bin$ ls -l /usr/bin/jqt
> > >> > >> > lrwxrwxrwx 1 root root 21 May  7  2019 /usr/bin/jqt ->
> > >> > >> > /etc/alternatives/jqt
> > >> > >> > me@here:~/bin$ ls -l /etc/alternatives/jqt
> > >> > >> > lrwxrwxrwx 1 root root 17 May  7  2019 /etc/alternatives/jqt ->
> > >> > >> > /usr/bin/jqt-8.07
> > >> > >> >
> > >> > >> > I'm not familiar with the /etc/alternatives hierarchy nor who
> > >> writes
> > >> > to
> > >> > >> it
> > >> > >> > (except 8.07 apparently did and 9.01 may not have).
> > >> > >> >
> > >> > >> > Any tips from this point?
> > >> > >> >
> > >> > >> > Thanks,
> > >> > >> >
> > >> > >> > Bill
> > >> > >> >
> > >> > >> > PS: I also tried jhs according to
> > >> > >> > https://code.jsoftware.com/wiki/Guides/JHS/Install:
> > >> > >> >
> > >> > >> > ~/bin$ jhs
> > >> > >> > bash: jhs: command not found
> > >> > >> >
> > >> > >> > Perhaps these problems are related?
> > >> > >> > --
> > >> > >> > Bill Harris
> > >> > >> >
> > >> ----------------------------------------------------------------------
> > >> > >> > For information about J forums see
> > >> > http://www.jsoftware.com/forums.htm
> > >> > >> >
> > >> > >>
> > >> ----------------------------------------------------------------------
> > >> > >> For information about J forums see
> > >> http://www.jsoftware.com/forums.htm
> > >> > >>
> > >> > >
> > >> > >
> > >> > > --
> > >> > > Bill Harris
> > >> > > http://makingsense.facilitatedsystems.com/
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> > Bill Harris
> > >> > http://makingsense.facilitatedsystems.com/
> > >> >
> ----------------------------------------------------------------------
> > >> > For information about J forums see
> > http://www.jsoftware.com/forums.htm
> > >> >
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > >>
> > >
> >
> > --
> > Bill Harris
> > http://makingsense.facilitatedsystems.com/
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


-- 
Bill Harris
http://makingsense.facilitatedsystems.com/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to