我正在尝试安装HEASOFT 软件包从我的 Ubuntu 16.04 机器上的源代码开始。按照链接中的说明,我首先运行./configure
(查看此处的输出)但此后,该命令make
返回一些错误(看这里)。不幸的是,我没有立即意识到这一点,所以我也跑了make install
,这可能会使问题变得更糟。
我应该/如何卸载已被这些命令“配置”的软件(部分),以及如何以适当的方式重新安装它?
答案1
我修复了使用以下方法更新某些软件包的问题:
sudo apt-get update && sudo apt-get upgrade
升级内容如下:
Upgrade: python2.7-dev:amd64 (2.7.12-1~16.04, 2.7.12-1ubuntu0~16.04.1), gstreamer1.0-alsa:amd64 (1.8.2-1ubuntu0.1, 1.8.2-1ubuntu0.2), xserver-common:amd64 (2:1.18.4-0ubuntu0.1, 2:1.18.4-0ubuntu0.2), gstreamer1.0-plugins-base-apps:amd64 (1.8.2-1ubuntu0.1, 1.8.2-1ubuntu0.2), xserver-xorg-core:amd64 (2:1.18.4-0ubuntu0.1, 2:1.18.4-0ubuntu0.2), imagemagick:amd64 (8:6.8.9.9-7ubuntu5.1, 8:6.8.9.9-7ubuntu5.2), libpulsedsp:amd64 (1:8.0-0ubuntu3, 1:8.0-0ubuntu3.1), pulseaudio:amd64 (1:8.0-0ubuntu3, 1:8.0-0ubuntu3.1), gstreamer1.0-plugins-good:amd64 (1.8.2-1ubuntu0.1, 1.8.2-1ubuntu0.2), python2.7-minimal:amd64 (2.7.12-1~16.04, 2.7.12-1ubuntu0~16.04.1), libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.1, 8:6.8.9.9-7ubuntu5.2), libpython2.7:amd64 (2.7.12-1~16.04, 2.7.12-1ubuntu0~16.04.1), python2.7:amd64 (2.7.12-1~16.04, 2.7.12-1ubuntu0~16.04.1), libpython3.5:amd64 (3.5.2-2~16.04, 3.5.2-2ubuntu0~16.04.1), python3.5:amd64 (3.5.2-2~16.04, 3.5.2-2ubuntu0~16.04.1), python3.5-minimal:amd64 (3.5.2-2~16.04, 3.5.2-2ubuntu0~16.04.1), libpython2.7-dev:amd64 (2.7.12-1~16.04, 2.7.12-1ubuntu0~16.04.1), gstreamer1.0-plugins-base:amd64 (1.8.2-1ubuntu0.1, 1.8.2-1ubuntu0.2), procps:amd64 (2:3.3.10-4ubuntu2, 2:3.3.10-4ubuntu2.2), libprocps4:amd64 (2:3.3.10-4ubuntu2, 2:3.3.10-4ubuntu2.2), libgstreamer-plugins-good1.0-0:amd64 (1.8.2-1ubuntu0.1, 1.8.2-1ubuntu0.2), gstreamer1.0-pulseaudio:amd64 (1.8.2-1ubuntu0.1, 1.8.2-1ubuntu0.2), imagemagick-6.q16:amd64 (8:6.8.9.9-7ubuntu5.1, 8:6.8.9.9-7ubuntu5.2), libmagickcore-6.q16-2-extra:amd64 (8:6.8.9.9-7ubuntu5.1, 8:6.8.9.9-7ubuntu5.2), python3-distupgrade:amd64 (1:16.04.17, 1:16.04.18), libpulse0:amd64 (1:8.0-0ubuntu3, 1:8.0-0ubuntu3.1), ubuntu-release-upgrader-core:amd64 (1:16.04.17, 1:16.04.18), metacity-common:amd64 (1:3.18.7-0ubuntu0.1, 1:3.18.7-0ubuntu0.2), libpulse-mainloop-glib0:amd64 (1:8.0-0ubuntu3, 1:8.0-0ubuntu3.1), tar:amd64 (1.28-2.1, 1.28-2.1ubuntu0.1), libmetacity-private3a:amd64 (1:3.18.7-0ubuntu0.1, 1:3.18.7-0ubuntu0.2), libgstreamer-plugins-base1.0-0:amd64 (1.8.2-1ubuntu0.1, 1.8.2-1ubuntu0.2), gstreamer1.0-x:amd64 (1.8.2-1ubuntu0.1, 1.8.2-1ubuntu0.2), gir1.2-gst-plugins-base-1.0:amd64 (1.8.2-1ubuntu0.1, 1.8.2-1ubuntu0.2), libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.1, 8:6.8.9.9-7ubuntu5.2), pulseaudio-module-x11:amd64 (1:8.0-0ubuntu3, 1:8.0-0ubuntu3.1), ubuntu-release-upgrader-gtk:amd64 (1:16.04.17, 1:16.04.18), libpython2.7-minimal:amd64 (2.7.12-1~16.04, 2.7.12-1ubuntu0~16.04.1), unattended-upgrades:amd64 (0.90ubuntu0.1, 0.90ubuntu0.2), pulseaudio-module-bluetooth:amd64 (1:8.0-0ubuntu3, 1:8.0-0ubuntu3.1), imagemagick-common:amd64 (8:6.8.9.9-7ubuntu5.1, 8:6.8.9.9-7ubuntu5.2), libpython3.5-stdlib:amd64 (3.5.2-2~16.04, 3.5.2-2ubuntu0~16.04.1), libpython2.7-stdlib:amd64 (2.7.12-1~16.04, 2.7.12-1ubuntu0~16.04.1), libpython3.5-minimal:amd64 (3.5.2-2~16.04, 3.5.2-2ubuntu0~16.04.1), pulseaudio-utils:amd64 (1:8.0-0ubuntu3, 1:8.0-0ubuntu3.1)
make
此后, nor没有报告任何错误make install
。