最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - building Mozilla Spider Monkey on Ubuntu - Stack Overflow

programmeradmin2浏览0评论

I'm trying to build spider monkey on ubuntu 10.04 (lucid). However, when I run autoconf2.13 on the js/src directory, it tells me there is no configure.in file. I can't just do the usual ./configure > make > sudo make install , either. What's up with it?

I'm trying to build spider monkey on ubuntu 10.04 (lucid). However, when I run autoconf2.13 on the js/src directory, it tells me there is no configure.in file. I can't just do the usual ./configure > make > sudo make install , either. What's up with it?

Share Improve this question asked May 11, 2010 at 1:34 HussainHussain 6632 gold badges16 silver badges27 bronze badges 1
  • 2 I know that you have asked for building Spider Monkey on Ubuntu, but in case someone just want to use it, Launchpad Developers PPA included a build of spidermonkey. sudo apt-add-repository ppa:launchpad/ppa then apt-get update and apt-get install spidermonkey-bin. Feel free to delete this ment if it is of no use. – Adi Roiban Commented Apr 14, 2011 at 23:23
Add a ment  | 

3 Answers 3

Reset to default 7

Same thing happened here. I think that they definitely could benefit from an build instructions update.

Here is what I had to do...

Download the latest source via mercurial - run the following and then go get some coffee (you make need to install Mercurial if not already install - repo version works fine):

hg clone http://hg.mozilla/mozilla-central/js

Then I had to cd in: cd js/src

Then you can pick up where the Mozilla instructions lead you:

autoconf2.13
./configure
make
sudo make install

Hope this helps!

The mand given in the previous answer results in 404 Not Found. I used:

hg clone http://hg.mozilla/mozilla-central

which probably does the whole tree. And 1 cup of coffee will not be enough. Perhaps 3 pots, it takes agggggeeeesssss.

For me works as follows in Ubuntu 10.04:

make BUILD_OPT=1 -f Makefile.ref

The option apparently is only for optimizing the code. Then I copy by hand the files where they should be to be used by my programs. I only really need the bin so it was easy.

Here you have the official documentation the new one that explain where to copy the headers and executables and the old one that I used for the pilation.

It was useful too this link and this one.

发布评论

评论列表(0)

  1. 暂无评论