[SERVER-1104] Build system makes wrong assumptions about spidermonkey Created: 08/May/10 Updated: 16/Jan/11 Resolved: 16/Jan/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Evan Wies | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Debian, Ubuntu |
||
| Participants: |
| Description |
|
The following is a bug in the Debian bug tracking system, but it appears to be more upstream than just Debian? I'm putting it here so you don't need to monitor two bug tracking systems. I've read on the mongodb-user mailing list about some of the hardships of libjs on this distribution. Original link: From: Mike Hommey <mh+reportbug@glandium.org> The build system make assumptions that are only valid on ubuntu systems, For example, it assumes that if the headers are found in The rpath to /usr/lib*/xulrunner-1.9.1 is also pointless on Debian Anyways, on Debian systems, you can build without xulrunner-dev, but e.g. with the following gross hack, it builds fine with libmozjs-dev (IMHO, the proper fix would be to use the pkg-config information for — mongodb-1.2.2.orig/scripting/engine_spidermonkey.h #else -#include "js/jsapi.h" #endif @@ -76,9 +76,8 @@ -#ifdef XULRUNNER namespace mongo { – System Information: Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores) |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 16/Jan/11 ] |
|
going to start including more deps in source tree for simplicity |
| Comment by Eliot Horowitz (Inactive) [ 08/May/10 ] |
|
I'm fairly sure that libmozjs is broken in various ways (no utf8 support for example) so using that will produce packages that are going to be broken in surprising ways to people. we should verify before people start getting oddities. i'm pretty sure the way we have it setup is correct - have spent a fair amount of time tweaking... |