悠悠秦淮

[2008年4月19日星期六]

编译mplayer Cannot find header either inttypes.h or bitypes.h

编译mplayer rc2, configure 的时候出现以下error:

Checking for inttypes.h (required) … no
Checking for bitypes.h (inttypes.h predecessor) …
Error: Cannot find header either inttypes.h or bitypes.h (see
DOCS/HTML/en/faq.h

google了好久没有找到解决办法,感觉一定是缺了什么c的头文件,最终的解决办法

apt-get install libc6-dev

运行过程中安装了两个包:

libc6-dev

留下记录,以便后查

另外在加一个error:

Error: X11 support required for GUI compilation

解决:

sudo apt-get install libgtk2.0-dev

解决!

0 评论:

发表评论