安装某个东西,cmake的时候,报错如下

-- checking for module 'mozjs185'
--   package 'mozjs185' not found

如往常,copy这个module的名字,然后

# yum search mozjs185

结果是Not Found (废话,如果不是not found,还写这个干啥...) 直接杀到网上找结果。

很多地方可以通过内容找到各种package(我使用的是这个),进入后,搜索"pkgconfig(mozjs185)",可以找到一系列结果。 我使用的是fedora,可以发现mozjs185所在的rpm包及其所在位置: http://download.fedora.redhat.com/pub/fedora/linux/development/19/x86_64/os/Packages/j/js-devel-1.8.5-13.fc19.x86_64.rpm 实际上,只要执行

# yum install js-devel -y

就能搞定。

Categories: Code

Yu

Ideals are like the stars: we never reach them, but like the mariners of the sea, we chart our course by them.

5 Comments

海涛 · September 24, 2013 at 14:03

Google Chrome 28.0.1500.72 Google Chrome 28.0.1500.72 Windows XP Windows XP

都是英文的,好洋气。

Leniy · September 3, 2013 at 10:51

Google Chrome 30.0.1599.14 Google Chrome 30.0.1599.14 Windows 7 Windows 7

买了个vps,装了个ubuntu桌面远程连接,没装lamp服务

    yu · September 3, 2013 at 15:20

    Google Chrome 29.0.1547.65 Google Chrome 29.0.1547.65 GNU/Linux x64 GNU/Linux x64

    我去–当远程主机用啊。。。
    不过我的也是用来跑程序的想法多

      Leniy · September 3, 2013 at 15:22

      Google Chrome 30.0.1599.14 Google Chrome 30.0.1599.14 Windows 7 Windows 7

      我在里面装了个qemu,然后正在安装xp

      已经两个小时了,马上就完成

Leave a Reply to 海涛 Cancel reply

Your email address will not be published. Required fields are marked *