红联Linux门户
Linux帮助

fatal error: Xm/Protocols.h: No such file or directory

发布时间:2016-01-23 15:23:23来源:linux网站作者:埋头

谷歌发现在Ubuntu的lesstif2-dev软件包文件清单中含有此文件(点击http://packages.ubuntu.com/lucid/i386/lesstif2-dev/filelist打开链接),但发现下载后dpkg -i *.deb安装失败。

还是用这招管用:sudo apt-cache search lesstif*


libxkbfile1-dbg - X11 keyboard file manipulation library (debug package) 
libxt-dev - X11 toolkit intrinsics library (development headers) 
libxt-doc - X11 toolkit intrinsics library (documentation) 
libxt6 - X11 toolkit intrinsics library 
libxt6-dbg - X11 toolkit intrinsics library (debug package) 
ddd - The Data Display Debugger, a graphical debugger frontend 
libpacklib-lesstif1-dev - CERNLIB data analysis suite - core GUI library (development files) 
libpacklib-lesstif1-gfortran - CERNLIB data analysis suite - core GUI library 
libpacklib1-dev - CERNLIB data analysis suite - core library (development files) 
libpacklib1-gfortran - CERNLIB data analysis suite - core library 
libpawlib-lesstif3-dev - CERNLIB PAW library (Lesstif-dependent part - development files) 
libpawlib-lesstif3-gfortran - CERNLIB PAW library (Lesstif-dependent part) 
libpawlib2-dev - CERNLIB PAW library - portion without Lesstif (development files) 
libpawlib2-gfortran - CERNLIB PAW library - portion without Lesstif dependencies 
paw++ - Physics Analysis Workstation (Lesstif-enhanced version) 
pcb-lesstif - printed circuit board (pcb) design program - LessTif interface 
plan - X/Motif day planner (dynamically compiled with LessTif2) 
vim-lesstif - Vi IMproved - enhanced vi editor (transitional package) 
xmabacus - simulation of the ancient calculator (Motif version) 
xmakemol - program for visualizing atomic and molecular systems 
xmakemol-gl - program for visualizing atomic and molecular systems (OpenGL) 
xmhtml1 - Motif widget for displaying HTML 3.2 (library) 
xmhtml1-dev - Motif widget for displaying HTML 3.2 (development files) 
xmpuzzles - collection of puzzles for X (Motif version) 
xsol - Solitaire game for the X Window system 
xtel - X emulator of the French Minitel 
lesstif2 - OSF/Motif 2.1 implementation released under LGPL 


然后直接安装libpawlib-lesstif3-dev搞定:
sudo apt-get install libpawlib-lesstif3-dev


本文永久更新地址:http://www.linuxdiyf.com/linux/17604.html