Build Recipe for XEphem
dpkg --add-architecture i386
apt update
apt install build-essential git libxext-dev x11proto-xext-dev libxau-dev x11proto-print-dev xutils-dev libtool libtool-bin gfortran-multilib libmotif-dev libx11-dev libxmu-dev libxt-dev x11proto-print-dev libxm4:i386 libuil4:i386 libmrm4:i386 libxm4 libuil4 libmrm4 libmotif-common libmotif-dev libxmu-dev autoconf tcsh libssl-dev -y
For 20.04 LTS
E: Unable to locate package x11proto-print-dev replaced by https://launchpad.net/~zeehio/+archive/ubuntu/libxp/+build/19192661/+files/x11proto-print-dev_1.0.5-2ubuntu1~20.04_all.deb E: Unable to locate package libxm4:i386 libxm4 -- no i386 E: Unable to locate package libuil4:i386 libuil "" E: Unable to locate package libmrm4:i386 libmrm ""
apt install build-essential git libxext-dev x11proto-xext-dev libxau-dev xutils-dev libtool libtool-bin gfortran-multilib libmotif-dev libx11-dev libxmu-dev libxt-dev x11proto-print-dev libxm4 libuil4 libmrm4 libmotif-common libmotif-dev libxmu-dev autoconf tcsh libssl-dev libxm4 libuil libmrm -y
git clone git://anongit.freedesktop.org/git/xorg/lib/libXp
cd libXp
./autogen.sh
./configure
make
sudo make install
sudo ln -s /usr/local/lib/libXp.so.6.2.0 /usr/lib/libXp.so.6.2.0
sudo ln -s /usr/local/lib/libXp.so.6 /usr/lib/libXp.so.6
- ln -s /usr/share/aclocal /usr/local/share/aclocal #not needed
Extract XEphem CDs/Archives
download patches
patches listed at http://www.clearskyinstitute.com/xephem/contrib/contrib.html
See https://groups.io/g/xephem/message/3561
patch -p0 < {path to patch}