Re: [Jgeneral] jqt - failure to install libjqt.so on ubuntu 19.10
I don't know whether it has anything to do with this... I'm running Ubuntu and I'm trying to stay up-to-date with J versions and packages. Yet I ended up with an old jqt version (which crashed instead of reporting 'stack error' in case of a never-ending recursion). Finally I did 'install qtide' again in jconsole, but jqt wouldn't run before I manually installed several jibqt5... packages using apt. After that everything seems fine (and I'm seeing NuVoc when pressing F1). Does this ring any bells? Is it the expected behavior (of jqt and myself)? Greetings, Ben On Mon, 2 Mar 2020 at 10:27, bill lam wrote: > can you try clean up old version first by > sudo rm /usr/bin/jqt > > > On Mon, Mar 2, 2020, 2:32 AM Alex Gibbs wrote: > > > I'd like to try J and the IDE, but have run aground during installation. > > I hoped someone might be able to point me in the right direction. > > I'm on ubuntu 19.10. > > > > I followed the directions at > > https://code.jsoftware.com/wiki/System/Installation/J901/Debian for the > > installation: > > -- download the .deb > > -- sudo dpkg -i j901_amd64.deb > > -- sudo ijconsole > > -- install 'qtide' > > > > After the above, I found the below exception: > > % 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)" > > > > And sure enough, when I try to locate libjqt.so, I get nothing > > % locate libjqt > > > > % which jqt > > /usr/bin/jqt > > > > On https://code.jsoftware.com/wiki/Guides/Qt_IDE/Install, I found the > > following, and was hopeful their absence could be related (though I would > > have expected a different shared object to be missing). > > > > Ubuntu/Linux Mint > > Two issues have been reported: > > > > you may need to install the Qt webkit, websockets, multimedia libraries, > > as: > >sudo apt-get install qt5-default > >sudo apt-get install libqt5webkit5 > >sudo apt-get install libqt5websockets5 > >sudo apt-get install libqt5multimediawidgets5 > > > > There were, indeed, qt libraries to install. > > But the problem persisted after their installation. > > > > I ran another round of sudo ijconsole, trying the different installs, > > hoping something would get the missing object into place, but none of the > > below did. > > -- install 'all' > > -- install 'qtide' > > -- install 'full' > > > > There is a warning in the output that seems related. Does anyone know a > > fix for this, or options for more verbose output, or what might be > > triggering the failure to install? > > Example from install 'full' below: > > > > % sudo ijconsole > >install 'full' > > 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 > > > > The "update-alternatives: warning: ..." is concerning, and the failure of > > "install libjqt.so to /usr/lib/x86_64-linux-gnu/" makes me suspicious > there > > is something the installer doesn't like. > > Any advice would be appreciated > > Thanks > > -- > > 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
Re: [Jgeneral] jqt - failure to install libjqt.so on ubuntu 19.10
can you try clean up old version first by sudo rm /usr/bin/jqt On Mon, Mar 2, 2020, 2:32 AM Alex Gibbs wrote: > I'd like to try J and the IDE, but have run aground during installation. > I hoped someone might be able to point me in the right direction. > I'm on ubuntu 19.10. > > I followed the directions at > https://code.jsoftware.com/wiki/System/Installation/J901/Debian for the > installation: > -- download the .deb > -- sudo dpkg -i j901_amd64.deb > -- sudo ijconsole > -- install 'qtide' > > After the above, I found the below exception: > % 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)" > > And sure enough, when I try to locate libjqt.so, I get nothing > % locate libjqt > > % which jqt > /usr/bin/jqt > > On https://code.jsoftware.com/wiki/Guides/Qt_IDE/Install, I found the > following, and was hopeful their absence could be related (though I would > have expected a different shared object to be missing). > > Ubuntu/Linux Mint > Two issues have been reported: > > you may need to install the Qt webkit, websockets, multimedia libraries, > as: >sudo apt-get install qt5-default >sudo apt-get install libqt5webkit5 >sudo apt-get install libqt5websockets5 >sudo apt-get install libqt5multimediawidgets5 > > There were, indeed, qt libraries to install. > But the problem persisted after their installation. > > I ran another round of sudo ijconsole, trying the different installs, > hoping something would get the missing object into place, but none of the > below did. > -- install 'all' > -- install 'qtide' > -- install 'full' > > There is a warning in the output that seems related. Does anyone know a > fix for this, or options for more verbose output, or what might be > triggering the failure to install? > Example from install 'full' below: > > % sudo ijconsole >install 'full' > 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 > > The "update-alternatives: warning: ..." is concerning, and the failure of > "install libjqt.so to /usr/lib/x86_64-linux-gnu/" makes me suspicious there > is something the installer doesn't like. > Any advice would be appreciated > Thanks > -- > For information about J forums see http://www.jsoftware.com/forums.htm > -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] current use of lapack
lapack2 is complete. see wiki for instructions. https://code.jsoftware.com/wiki/Vocabulary/LAPACK On Mon, Mar 2, 2020, 2:33 AM wrote: > Dear community, > > > what is the current situation with the possibility to call lapack > from J? It seems the lapack package is deprecated, while there is > a lapack2 package, which seems incomplete to me. > > Thanks for comments. > > > Best regards, > Ruda > -- > For information about J forums see http://www.jsoftware.com/forums.htm > -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] jqt - failure to install libjqt.so on ubuntu 19.10
Alex Thanks for the report. I haven't tried the deb install in a while and will take a look. In the meantime, the zips install should work fine. I run linux mint 19.3 and install in my home directory. Chris On Sun, Mar 1, 2020 at 10:32 AM Alex Gibbs wrote: > > I'd like to try J and the IDE, but have run aground during installation. I > hoped someone might be able to point me in the right direction. > I'm on ubuntu 19.10. > > I followed the directions at > https://code.jsoftware.com/wiki/System/Installation/J901/Debian for the > installation: > -- download the .deb > -- sudo dpkg -i j901_amd64.deb > -- sudo ijconsole > -- install 'qtide' > > After the above, I found the below exception: > % 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)" > > And sure enough, when I try to locate libjqt.so, I get nothing > % locate libjqt > > % which jqt > /usr/bin/jqt > > On https://code.jsoftware.com/wiki/Guides/Qt_IDE/Install, I found the > following, and was hopeful their absence could be related (though I would > have expected a different shared object to be missing). > > Ubuntu/Linux Mint > Two issues have been reported: > > you may need to install the Qt webkit, websockets, multimedia libraries, as: >sudo apt-get install qt5-default >sudo apt-get install libqt5webkit5 >sudo apt-get install libqt5websockets5 >sudo apt-get install libqt5multimediawidgets5 > > There were, indeed, qt libraries to install. > But the problem persisted after their installation. > > I ran another round of sudo ijconsole, trying the different installs, hoping > something would get the missing object into place, but none of the below did. > -- install 'all' > -- install 'qtide' > -- install 'full' > > There is a warning in the output that seems related. Does anyone know a fix > for this, or options for more verbose output, or what might be triggering the > failure to install? > Example from install 'full' below: > > % sudo ijconsole >install 'full' > 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 > > The "update-alternatives: warning: ..." is concerning, and the failure of > "install libjqt.so to /usr/lib/x86_64-linux-gnu/" makes me suspicious there > is something the installer doesn't like. > Any advice would be appreciated > Thanks > -- > For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] error with Graphviz and/or webview in j901 under Windows
The user issue should be unrelated to your earlier problems. The user folder can be anywhere you like. You just need to update bin/profile.ijs or see bin/profilex_template.ijs for an alternative that doesn't change the distributed profile.ijs script. This won't affect whether the qt library is slim or full. On Sun, Mar 1, 2020 at 10:29 AM 'Michael Day' via General wrote: > > Hard to say, now, Raul - my general problem - with Graphviz and with > Launchpad - seems to have > > somehow been of my own making. > > For years, I've resisted putting my user stuff into the Windows- and > J-Installation-preferred Users/mike_/jxxx-user > > folder, and kept it in .../jxxx/user, parallel with addons and bin and > so on. > > In yesterday's installation, where I downloaded the full zip file and > copied up to j901, I rather inadvertently > > let it use Users/.../jxxx-user by default. > > Those problems mentioned above disappeared,but now I'm wrestling > with a somewhat unfamiliar set-up, > > as my config and profile files got overwritten this time. I think I'd > better live with these new problems, as my previous > > set-up had presumably been at fault, and interfered with install 'full' > and other things. > > Sorry not to be able to cast light on the exe-size, > > Cheers, > > Mike > > > On 01/03/2020 13:33, Raul Miller wrote: > > Out of curiosity, did jconsole change in size because of the install? Or, > > because of some other issue (such as malware)? > > > > Thanks, > > > > -- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > -- > For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] current use of lapack
I've found that if you take the old lapack folder (say from j807) and copy it to j901/addons/math/ alongside lapack2, it works just fine. I've not had the motivation to learn about lapack2, but I have calls to lapack in my old code. Patrick On Sun, 1 Mar 2020, rsyk...@disroot.org wrote: Dear community, what is the current situation with the possibility to call lapack from J? It seems the lapack package is deprecated, while there is a lapack2 package, which seems incomplete to me. Thanks for comments. Best regards, Ruda -- For information about J forums see http://www.jsoftware.com/forums.htm -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] current use of lapack
Dear community, what is the current situation with the possibility to call lapack from J? It seems the lapack package is deprecated, while there is a lapack2 package, which seems incomplete to me. Thanks for comments. Best regards, Ruda -- For information about J forums see http://www.jsoftware.com/forums.htm
[Jgeneral] jqt - failure to install libjqt.so on ubuntu 19.10
I'd like to try J and the IDE, but have run aground during installation. I hoped someone might be able to point me in the right direction. I'm on ubuntu 19.10. I followed the directions at https://code.jsoftware.com/wiki/System/Installation/J901/Debian for the installation: -- download the .deb -- sudo dpkg -i j901_amd64.deb -- sudo ijconsole -- install 'qtide' After the above, I found the below exception: % 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)" And sure enough, when I try to locate libjqt.so, I get nothing % locate libjqt % which jqt /usr/bin/jqt On https://code.jsoftware.com/wiki/Guides/Qt_IDE/Install, I found the following, and was hopeful their absence could be related (though I would have expected a different shared object to be missing). Ubuntu/Linux Mint Two issues have been reported: you may need to install the Qt webkit, websockets, multimedia libraries, as: sudo apt-get install qt5-default sudo apt-get install libqt5webkit5 sudo apt-get install libqt5websockets5 sudo apt-get install libqt5multimediawidgets5 There were, indeed, qt libraries to install. But the problem persisted after their installation. I ran another round of sudo ijconsole, trying the different installs, hoping something would get the missing object into place, but none of the below did. -- install 'all' -- install 'qtide' -- install 'full' There is a warning in the output that seems related. Does anyone know a fix for this, or options for more verbose output, or what might be triggering the failure to install? Example from install 'full' below: % sudo ijconsole install 'full' 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 The "update-alternatives: warning: ..." is concerning, and the failure of "install libjqt.so to /usr/lib/x86_64-linux-gnu/" makes me suspicious there is something the installer doesn't like. Any advice would be appreciated Thanks -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] error with Graphviz and/or webview in j901 under Windows
Hard to say, now, Raul - my general problem - with Graphviz and with Launchpad - seems to have somehow been of my own making. For years, I've resisted putting my user stuff into the Windows- and J-Installation-preferred Users/mike_/jxxx-user folder, and kept it in .../jxxx/user, parallel with addons and bin and so on. In yesterday's installation, where I downloaded the full zip file and copied up to j901, I rather inadvertently let it use Users/.../jxxx-user by default. Those problems mentioned above disappeared, but now I'm wrestling with a somewhat unfamiliar set-up, as my config and profile files got overwritten this time. I think I'd better live with these new problems, as my previous set-up had presumably been at fault, and interfered with install 'full' and other things. Sorry not to be able to cast light on the exe-size, Cheers, Mike On 01/03/2020 13:33, Raul Miller wrote: Out of curiosity, did jconsole change in size because of the install? Or, because of some other issue (such as malware)? Thanks, -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- For information about J forums see http://www.jsoftware.com/forums.htm
Re: [Jgeneral] error with Graphviz and/or webview in j901 under Windows
Out of curiosity, did jconsole change in size because of the install? Or, because of some other issue (such as malware)? Thanks, -- Raul On Sat, Feb 29, 2020 at 4:16 PM 'Michael Day' via General < gene...@jsoftware.com> wrote: > Yes - I downloaded the zip file and copied up to j901 etc. I note that > jconsole.exe > > has changed in size from my apparently aberrant installation. It's now > 207 nominal kB > > rather than 177 I was using. > > Anyway, the graphview demo works, as does Run/Launchpad which does not > now show > > qtdemo, as noted by Gilles in response to another query I put up an hour > or two ago. > > No idea why/how this has happened, but perhaps I won't be troubling you > for a while! > > Thanks a lot, > > Mike > > On 29/02/2020 19:35, chris burke wrote: > > I have no idea why your upgrade fails. All it does is get the zip from > > https://www.jsoftware.com/download/j901/qtlib/ and extract it into > > bin. It sounds like the extract does not overwrite some files. > > > > Try deleting your J installation and install again. > > > > On Sat, Feb 29, 2020 at 8:29 AM 'Michael Day' via General > > wrote: > >> > >> Thanks, Chris. > >> There are plenty of such files in bin - but I thought the date stamps > >> looked a bit old: > >> They are various, including April/19 for dlls: Qt5WebEngine, > >> Qt5MultiMedia etc, and > >> November/19 for Qt5WebSockets, Qt5Widgets etc. > >> > >> Taking your point about permissions, quite a mystery with recent > >> incarnations of Windows, > >> I've retried once again, this time starting up Jconsole "as > >> administrator" (Windows 10); > >> > >> > >> (JQt having been closed) > >> > >> > >> Jconsole: (as before) > >> > >> install'full' > >> Updating server catalog... > >> Installing 1 package > >> Downloading base library... > >> Installing base library... > >> Done. > >> Installing JQt binaries... > >> Finished install of JQt binaries. > >> Installing Qt library... > >> Finished install of Qt library. > >> Exit and restart J using jqt.cmd > >> > >> JVERSION > >> Engine: j901/j64avx2/windows > >> Release-e: commercial/2020-01-29T11:17:19 > >> Library: 9.01.21 > >> Platform: Win 64 > >> Installer: J901 install > >> InstallPath: c:/d/j901 > >> Contact: www.jsoftware.com > >> > >> > >> The date-stamps don't appear to have changed for those dlls. > >> > >> Restarting JQt results in the same behaviour. > >> > >> > >> > >> Just now, I noticed my laptop was telling me it wanted to update, so > >> I've restarted > >> Windows. I thought this might reset JQt in some fashion, but > >> restarting JQt once more > >> still yields the same result with ...smtest.ijs, while JVERSION > >> continues showing: > >> AFTER Windows update and restart: > >> Qt IDE: 1.8.5s/5.12.6 > >> Any other ideas? > >> NB - this isn't terribly important to me, but you presumably need to > >> know what's going > >> wrong anyway, > >> Cheers, > >> MIke > >> > >> > >> On 29/02/2020 14:19, chris burke wrote: > >>> After running install'full', then the J bin directory should have file > >>> Qt5WebEngine.dll (as well as several other files included with full. > >>> > >>> Do you see that file in bin? > >>> > >>> Are there any permission problems, e.g. you are running the > >>> install'full' but cannot save to bin? > >>> > >>> On Fri, Feb 28, 2020 at 2:56 PM 'Michael Day' via General > >>> wrote: > OK, Chris - just back home from evening rehearsal ... > > This "log" records what I've done since then (J-wise, anyway): > > 0) have just closed down the one JQt session which I'd left open - via > exit'' > > 1) have run jconsole anew - here's a copy of the session: > > JVERSION > Engine: j901/j64avx2/windows > Release-e: commercial/2020-01-29T11:17:19 > Library: 9.01.21 > Platform: Win 64 > Installer: J901 install > InstallPath: c:/d/j901 > Contact:www.jsoftware.com > > install'full' > Updating server catalog... > Installing 1 package > Downloading base library... > Installing base library... > Done. > Installing JQt binaries... > Finished install of JQt binaries. > Installing Qt library... > Finished install of Qt library. > Exit and restart J using jqt.cmd > > 2) exit'' in jconsole > > 3) (re)start JQt: > > load 'c:/d/j901/addons/graphics/graphviz/testsm/csv.ijs' > |cc : child not supported: webview > : wd > | (LF,~wd ::(''"_)'qer')(13!:8)3 > |[-22] c:\d\j901\addons\graphics\graphviz\testsm\csv.ijs > > JVERSION > Engine: j901/j64avx2/windows > Release-e: commercial/2020-01-29T11:17:19 > Library: 9.01.21 > Qt IDE: 1.8.5s/5.12.6 > Platform: Win 64 > Installer: J901 install > InstallPath: c:/d/j901 > Contact:www.jsoftware.com > >>> -- > >>> For