|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62096 Does not build with spidermonkey 1.7.0
Submitted: 2012-05-21 16:08 UTC Modified: 2017-01-10 08:00 UTC
Avg. Score:4.8 ± 0.4
Reproduced:8 of 9 (88.9%)
Same Version:3 (37.5%)
Same OS:0 (0.0%)
From: php-bugs-2012 at ryandesign dot com Assigned:
Status: Suspended Package: spidermonkey (PECL)
PHP Version: 5.3.13 OS: OS X 10.6.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
23 + 36 = ?
Subscribe to this entry?

 [2012-05-21 16:08 UTC] php-bugs-2012 at ryandesign dot com
spidermonkey.c: In function ‘php_jscontext_object_new_ex’:
spidermonkey.c:154: error: ‘JSVERSION_LATEST’ undeclared (first use in this function)
spidermonkey.c:154: error: (Each undeclared identifier is reported only once
spidermonkey.c:154: error: for each function it appears in.)
make: *** [spidermonkey.lo] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-04 13:17 UTC] semako dot ua at gmail dot com
I fix it manualy.
1. sudo pecl download spidermonkey
2. tar -xf spidermonkey-1.0.0.tar
3. cd spidermonkey-1.0.0/
4. phpize
5. edit spidermonkey.c
Add to line 152 next:
6. Save file
7. ./configure
8. make
9. make install

It should works.
 [2017-01-10 08:00 UTC]
-Status: Open +Status: Suspended
 [2017-01-10 08:00 UTC]
Suspending this report as the extension have not had a release for almost 5 years.  Please revive this if the extension once again shows life
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Dec 03 05:05:53 2022 UTC