Experimental PC Kubuntu 22.04

From Applied Optics Wiki
Revision as of 15:27, 28 February 2023 by Salvatore La Cavera (talk | contribs) (Created page with "This page should in theory supersede all of Experimental PC. Dscan and new kernels/Kubuntu 22 were at first mortal enemies, but have now developed an endearing lifelong fr...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page should in theory supersede all of Experimental PC. Dscan and new kernels/Kubuntu 22 were at first mortal enemies, but have now developed an endearing lifelong friendship.

Caveats/Disclaimers

  • I apologise if you don't like the way the source/libraries are now stored. This is by no means the best way to organise them, BUT I wanted to create a distinct branch from the s***show of /home/scan/source w/o modifying historically useful bits in /home/scan/source
  • This build of Dscan DOES NOT install Agilent or Tek drivers -- it is a SIOS-centric build that has the bare necessities for SIOS experimental PC's. In theory it shouldn't be difficult to add them if needed, however, a significant amount of troubleshooting has gone into preparing this build, so if Agilent/Tek troubleshooting is needed additional challenges will ensue.
  • PI drivers are NOT installed either -- They have been installed by 2/3rds to the degree that Dscan builds/finds what it's looking for, but pretty sure if you plugged a PI stage in it wouldn't work. Anyway, PI-PCI stages are now obsolete with new PCIE experimental PC's (until SIOS upgrades to USB PI stages or gets adapters for the old PI stages). But again, adding them to the Dscan install script (presented on this page) should be as trivial as installing them manually.

Organisation

  • I have created a bash script, which, get this, just installs Dscan...
  • I have forked the stable kubuntu 22 relevant version of the Dscan libraries over to: /home/scan/kubuntu22
  • many (but not all) frivolous/ambiguous directories have been omitted from this so it should be relatively clean.
  • previously the Dscan build environment was 100% ambiguous, and e.g. seemingly stable versions of vxi11 did not build dscan correctly.
  • Many C/C++ syntax warnings have become errors, so, many such scripts have now been modified to (hopefully) compile w/o breaking Dscan functionality.
  • If you don't like the new /home/scan/kubuntu22/ paradigm, you can kick rocks (joking. I'm willing to move/name it somewhere else, but I'd prefer to keep it away from the mess of /home/scan/source/ unless this is tidied)
  • YOU DON'T NEED TO ALTER ANYTHING in /home/scan/kubuntu22/dscan (and don't delete the dscan.zip file)
  • If you do edit anything in /home/scan/kubuntu22/dscan you will be reincarnated as a snail. This directory will not turn into /home/scan/source!!!!

Installation

cd /home/scan/kubuntu22/

./install_dscan.sh


  • The above will only work if you have a /eee drive on the experimental PC. If you do not then: cp install_dscan.sh install_dscan_YOURPC.sh and edit the path variable in the sh script to point to a local drive (the equivalent of /eee).
  • install_dscan.sh is a mildly sloppy master makefile essentially, but it also installs all dependencies in one shot.
  • if new modules are needed, it may be as simple as 'making' them within a separate install_dscan_YOURPC.sh script. However, if new libraries/directories need to be added in /home/scan/kubuntu22/dscan then go find Sal.