spidermonkey 1.8.5 build

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

spidermonkey 1.8.5 build

Timothy Prepscius
Hello,

Is there a way to build spidermonkey on OSX which doesn't require me to:

1.  install brew
2.  install some other versions of gcc

---

sudo port install libidl autoconf213 yasm

wget http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
tar xzf js185-1.0.0.tar.gz
cd js-1.8.5/
cd src
autoconf213

./configure
loading cache ./config.cache
checking host system type... x86_64-apple-darwin12.3.0
checking target system type... x86_64-apple-darwin12.3.0
checking build system type... x86_64-apple-darwin12.3.0
checking for mawk... no
checking for gawk... gawk
checking for perl5... /opt/local/bin/perl5
checking for gcc... gcc-4.2
checking whether the C compiler (gcc-4.2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

---

Actually, what I really want is just a binary image.  I don't want to build it from the source.
It would be nice if this whole process were less than 1 minute.
Spending time on configuration problems is not interesting for me.


I found this of course:
http://www.stanford.edu/class/cs242/spidermonkey/
But it is 1.7...  But posting a binary image is obviously possible.

-tim
_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
Reply | Threaded
Open this post in threaded view
|

Re: spidermonkey 1.8.5 build

Rolando Abarca
I've been building spidermonkey with Xcode's bundled clang for several
months now (using the version in github). The only extra thing that I
needed to install was autoconf213, using brew.



On Mon, Apr 1, 2013 at 5:26 AM, timp <[hidden email]> wrote:

> Hello,
>
> Is there a way to build spidermonkey on OSX which doesn't require me to:
>
> 1.  install brew
> 2.  install some other versions of gcc
>
> ---
>
> sudo port install libidl autoconf213 yasm
>
> wget http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
> tar xzf js185-1.0.0.tar.gz
> cd js-1.8.5/
> cd src
> autoconf213
>
> ./configure
> loading cache ./config.cache
> checking host system type... x86_64-apple-darwin12.3.0
> checking target system type... x86_64-apple-darwin12.3.0
> checking build system type... x86_64-apple-darwin12.3.0
> checking for mawk... no
> checking for gawk... gawk
> checking for perl5... /opt/local/bin/perl5
> checking for gcc... gcc-4.2
> checking whether the C compiler (gcc-4.2 ) works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables.
>
> ---
>
> Actually, what I really want is just a binary image.  I don't want to
> build it from the source.
> It would be nice if this whole process were less than 1 minute.
> Spending time on configuration problems is not interesting for me.
>
>
> I found this of course:
> http://www.stanford.edu/class/cs242/spidermonkey/
> But it is 1.7...  But posting a binary image is obviously possible.
>
> -tim
> _______________________________________________
> dev-tech-js-engine mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-js-engine
>



--
Rolando Abarca
https://github.com/funkaster - @funkaster
Phones: +1 (415) 562-7656
+56 (2) 2581-4591
_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
Reply | Threaded
Open this post in threaded view
|

Re: spidermonkey 1.8.5 build

Kannan Vijayan
In reply to this post by Timothy Prepscius
Hi Tim,

As Rolando mentioned, you can build SpiderMonkey with dev tools from
xcode (clang instead of gcc, etcl), but you need autoconf 2.13, which is
usually installed via brew.

If you're for pre-built binaries, you can pull one down from TinderBox
directly:

Visit https://tbpl.mozilla.org/
Click on a green "B" immediately to the right of one of the "OSX 10.N
opt" builds, depending on what version of OSX you're running.
At the bottom there'll pop up a pane, and on the left hand side of the
pane there'll be a link called "go to build directory"
Follow that link, and it'll take you to a directory where you can
download firefox and spidermonkey shell builds associated with that
revision.

Please remember that these are nightly builds, and contains changes that
have not gone through the aurora/beta release train, and there may be
undiscovered bugs in the build.

Cheers.
Kannan


On 13-04-01 8:26 AM, timp wrote:

> Hello,
>
> Is there a way to build spidermonkey on OSX which doesn't require me to:
>
> 1.  install brew
> 2.  install some other versions of gcc
>
> ---
>
> sudo port install libidl autoconf213 yasm
>
> wget http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
> tar xzf js185-1.0.0.tar.gz
> cd js-1.8.5/
> cd src
> autoconf213
>
> ./configure
> loading cache ./config.cache
> checking host system type... x86_64-apple-darwin12.3.0
> checking target system type... x86_64-apple-darwin12.3.0
> checking build system type... x86_64-apple-darwin12.3.0
> checking for mawk... no
> checking for gawk... gawk
> checking for perl5... /opt/local/bin/perl5
> checking for gcc... gcc-4.2
> checking whether the C compiler (gcc-4.2 ) works... no
> configure: error: installation or configuration problem: C compiler cannot create executables.
>
> ---
>
> Actually, what I really want is just a binary image.  I don't want to build it from the source.
> It would be nice if this whole process were less than 1 minute.
> Spending time on configuration problems is not interesting for me.
>
>
> I found this of course:
> http://www.stanford.edu/class/cs242/spidermonkey/
> But it is 1.7...  But posting a binary image is obviously possible.
>
> -tim
> _______________________________________________
> dev-tech-js-engine mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-js-engine

_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
Reply | Threaded
Open this post in threaded view
|

Re: spidermonkey 1.8.5 build

Wes Garland
Doesn't the js185 distribution come with configure already generated?  I'm
pretty sure I meant to do that if I didn't.  Requiring someone to install
autoconf 2.13 just to build spidermonkey is stupid IMO; unless they are
building from the hg repo.

Anyhow, the issue most likely is that spidermonkey is extremely sensitive
to compiler versions, ever since the code went C++.

If you downgrade your version of Xcode to something as old as the JS185
distro, then it should build on Leopard and Snow Leopard.  Lion wasn't out
then, so I never tested that.

If you want to use newer compilers, you may need to do some tweaking -- or
upgrade to a newer spidermonkey.

Wes
_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine