Private
Public Access
11
1

fix bugs found at Soleil

2024-01-25 14:49:38 +01:00
parent 64c47211e4
commit acd108b21f

@@ -27,19 +27,22 @@ NTP=d.psi.ch
- Add various packages:
```
sudo apt-get install fakeroot build-essential cvs flex bison openssh-server git-core geany synaptic joe jed subversion autoconf-archive cmake libreadline-dev libhdf5-dev pkg-config libxml2-dev libzmq3-dev liblog4cpp5-dev libelf-dev libssl-dev libarchive-dev libgtkmm-3.0-dev libatkmm-1.6-dev libglibmm-2.4-dev libncurses5-dev libxerces-c-dev libboost-dev xsltproc cifs-utils xterm meld default-jre autogen autoconf libtool libqwt-qt5-dev libqt5webkit5-dev rsync libboost-all-dev strace python3-numpy python3-pip python3-h5py python3-zmq python3-matplotlib python3-attr python3-scipy hdf5-tools dbus-x11 nfs-common nfs-kernel-server nfs4-acl-tools python3-pyepics locate debhelper quilt bc pahole libcomedi-dev
sudo apt-get install linux-image-rt-amd64 linux-headers-rt-amd64
sudo apt-get install fakeroot build-essential flex bison openssh-server git-core geany synaptic joe jed autoconf-archive cmake libreadline-dev libhdf5-dev pkg-config libxml2-dev libzmq3-dev liblog4cpp5-dev libelf-dev libssl-dev libarchive-dev libgtkmm-3.0-dev libatkmm-1.6-dev libglibmm-2.4-dev libncurses5-dev libxerces-c-dev libboost-dev xsltproc cifs-utils xterm meld default-jre autogen autoconf libtool libqwt-qt5-dev libqt5webkit5-dev rsync libboost-all-dev strace python3-numpy python3-pip python3-h5py python3-zmq python3-matplotlib python3-attr python3-scipy hdf5-tools dbus-x11 nfs-common nfs-kernel-server nfs4-acl-tools python3-pyepics locate debhelper quilt bc pahole libcomedi-dev python3-pyqt5 python3-pyqtgraph
#this is only needed if you install the server version of debian (without initial gnome support)
sudo apt install gnome-terminal dbus-x11
#this disables automatic kernel updates, avoids problems with missing modules, as they would have to be recompiled for a new kernel version (e.g. comedi, ethercat...)!!??!!
sudo apt remove linux-image-amd64 linux-image-rt-amd64 linux-headers-rt-amd64
sudo apt install gnome-terminal
#if you need tango support
sudo apt install libtango-dev
```
- Install a realtime kernel
```
#this installs a realtime kernel
sudo apt-get install linux-image-rt-amd64 linux-headers-rt-amd64
#this disables automatic kernel updates by removing the kernel meta-packages (the specific kernel packages remain installed). We do this to avoid problems with unexpected kernel updates and missing modules, as they would have to be recompiled for a new kernel version (e.g. comedi, ethercat...)
sudo apt remove linux-image-amd64 linux-image-rt-amd64 linux-headers-rt-amd64
```
@@ -82,9 +85,9 @@ rm base-7.0.6.1.tar.gz
cd base-7.0.6.1
make
# edit /etc/profile: needs to be in .bashrc for nonlogin terminals
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/epics/base-7.0.6.1/bin/linux-x86_64"
export EPICS_CA_ADDR_LIST="sls-x07da-cagw.psi.ch:5822"
# edit /etc/bash.bashrc
export PATH="$PATH:/usr/local/epics/base-7.0.6.1/bin/linux-x86_64"
export EPICS_CA_ADDR_LIST="sls-x07da-cagw.psi.ch:5822"
sudo cp ~/work/stxm/SystemInstall/epics/epics-7.0.6.conf /etc/ld.so.conf.d