關於header file的位置 - Linux

By Jake
at 2011-08-29T15:48
at 2011-08-29T15:48
Table of Contents
各位板友好
小弟是使用Ubuntu 10.04
目前因為要安裝某一個軟體
但必須要事前安裝 Motif library
sudo apt-get install libmotif-dev 安裝完之後
下./configure之後發現找不到Motif的header file
checking Xm/Xm.h usability... no
checking Xm/Xm.h presence... no
checking for Xm/Xm.h... no
configure: error: Failed to locate the Motif header files.
Use --without-x if you want to build the command-line version of Cluster 3.0.
Otherwise, use CPPFLAGS to add the Motif header directory to the path.
For example, if Xm.h is in /usr/X11R6/include/Xm, use
./configure CPPFLAGS=-I/usr/X11R6/include
到/usr/include/Xm 中有看到Xm.h
但是照著他的解法下了
./configure CPPFLAGS=-I/usr/include
仍然會找不到
請問這是出了什麼樣的問題嘛?
謝謝指教
--
~宅男的四個徵兆~
∠□ ○ ! * \○/ ★ (○ ?
╦╦└□ " ○□═ □ □>
║║√√ ╦══╦ ∥ |\
一回家就上PTT 每天想正妹 以當好人為樂 忘記正妹虧欠自己
--
小弟是使用Ubuntu 10.04
目前因為要安裝某一個軟體
但必須要事前安裝 Motif library
sudo apt-get install libmotif-dev 安裝完之後
下./configure之後發現找不到Motif的header file
checking Xm/Xm.h usability... no
checking Xm/Xm.h presence... no
checking for Xm/Xm.h... no
configure: error: Failed to locate the Motif header files.
Use --without-x if you want to build the command-line version of Cluster 3.0.
Otherwise, use CPPFLAGS to add the Motif header directory to the path.
For example, if Xm.h is in /usr/X11R6/include/Xm, use
./configure CPPFLAGS=-I/usr/X11R6/include
到/usr/include/Xm 中有看到Xm.h
但是照著他的解法下了
./configure CPPFLAGS=-I/usr/include
仍然會找不到
請問這是出了什麼樣的問題嘛?
謝謝指教
--
~宅男的四個徵兆~
∠□ ○ ! * \○/ ★ (○ ?
╦╦└□ " ○□═ □ □>
║║√√ ╦══╦ ∥ |\
一回家就上PTT 每天想正妹 以當好人為樂 忘記正妹虧欠自己
--
Tags:
Linux
All Comments

By Brianna
at 2011-09-02T01:12
at 2011-09-02T01:12

By Frederic
at 2011-09-02T21:56
at 2011-09-02T21:56

By Queena
at 2011-09-07T09:31
at 2011-09-07T09:31

By Edward Lewis
at 2011-09-12T05:58
at 2011-09-12T05:58

By Cara
at 2011-09-12T22:20
at 2011-09-12T22:20

By Joe
at 2011-09-15T04:36
at 2011-09-15T04:36
Related Posts
Linux 3.1-rc4 is out.

By Edith
at 2011-08-29T13:27
at 2011-08-29T13:27
請問用Virtualbox模擬Ubuntu 11.04如何修改螢幕解析度?

By Hardy
at 2011-08-29T13:01
at 2011-08-29T13:01
開機錯誤訊息

By Una
at 2011-08-29T12:34
at 2011-08-29T12:34
如何在英文Ubuntu上輸入中文(non-root)

By Lily
at 2011-08-29T12:23
at 2011-08-29T12:23
開機錯誤訊息

By George
at 2011-08-29T12:21
at 2011-08-29T12:21