На этот вопрос уже есть ответ здесь:
Для пакета ncview требуются заголовки и заголовки разработки X .
В Ubuntu 12.04 я попробовал следующую команду sudo apt-get install xorg-dev
и получил следующее сообщение об ошибке.
Это выглядит как очень длинный список пакетов. Что-то мне не хватает?
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xorg-dev : Depends: libdmx-dev but it is not going to be installed
Depends: libfs-dev but it is not going to be installed
Depends: libx11-dev but it is not going to be installed
Depends: libxaw7-dev but it is not going to be installed
Depends: libxcomposite-dev but it is not going to be installed
Depends: libxcursor-dev but it is not going to be installed
Depends: libxdamage-dev but it is not going to be installed
Depends: libxext-dev but it is not going to be installed
Depends: libxfixes-dev but it is not going to be installed
Depends: libxfont-dev but it is not going to be installed
Depends: libxft-dev but it is not going to be installed
Depends: libxi-dev but it is not going to be installed
Depends: libxinerama-dev but it is not going to be installed
Depends: libxkbfile-dev but it is not going to be installed
Depends: libxmu-dev but it is not going to be installed
Depends: libxmuu-dev but it is not going to be installed
Depends: libxpm-dev but it is not going to be installed
Depends: libxrandr-dev but it is not going to be installed
Depends: libxrender-dev but it is not going to be installed
Depends: libxres-dev but it is not going to be installed
Depends: libxss-dev but it is not going to be installed
Depends: libxt-dev but it is not going to be installed
Depends: libxtst-dev but it is not going to be installed
Depends: libxv-dev but it is not going to be installed
Depends: libxvmc-dev but it is not going to be installed
Depends: libxxf86dga-dev but it is not going to be installed
Depends: libxxf86vm-dev but it is not going to be installed
Depends: xserver-xorg-dev but it is not going to be installed
Заключенный в кавычки от Ncview на Ubuntu (с парой форматирования и изменений капитализации):
Ваша подсказка прекрасна, но все еще необходимо установить некоторые пакеты сначала:
sudo apt-get install libxt-dev xaw3dg-dev sudo apt-get install libnetpbm10-dev # ppm support
В дополнение к этому две ссылки, необходимы:
cd /usr/include/X11 ; ln -s Xaw3d Xaw cd /usr/lib/ ; ln -s libXaw.so.7 libXaw.so
необходимо также установить xorg-dev
:
sudo apt-get install xorg-dev
Продолжающий те инструкции :
(Это выглядит непоследовательным, поскольку мы смешиваем заголовок Xaw3d с lib Xaw, но так или иначе) после этого
./configure --x-libraries=/usr/X11R6/lib make make install
делает задание!