Friday, April 19, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 28144  / 2 Years ago, tue, may 24, 2022, 3:11:41

I'm compiling a software package that requires a header file. The header file is missing from my Ubuntu 11.10 (64-bit) installation. During the compilation using make, gcc and gfortran, I receive the following error message.



XMstr.c:7:19: fatal error: Xm/Xm.h: No such file or directory


Googling for an answer leads me to believe that a MESA library needs to be installed on my system, but I can't find an exact match for the package name.



What might be the name of the package that I need to install? Does the package have the same name on more recent Ubuntu distros?


More From » compiling

 Answers
5

You need either openmotif or lesstif header files which you can get this way:



# lesstif:
sudo apt-get install lesstif2-dev

# openmotif is not available in ubuntu repos
# but you can get it from it's official site:
# http://www.opengroup.org/openmotif/
# but it wants registaration before downloading.

[#34181] Tuesday, May 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
diffeah

Total Points: 78
Total Questions: 130
Total Answers: 98

Location: Peru
Member since Fri, Oct 14, 2022
2 Years ago
;