Closed Bug 462356 Opened 16 years ago Closed 16 years ago

Build fails on mac in js/src/configure.in with error: Library requirements (glib-2.0 >= 1.3.7 gobject-2.0) not met;

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.9.1b2

People

(Reporter: smontagu, Assigned: jimb)

References

Details

Attachments

(3 files)

Attached patch PatchSplinter Review
Putting the test inside a test for MOZ_ENABLE_GTK2 fixes it for me.
Attachment #345496 - Flags: review?(ted.mielczarek)
Attachment #345496 - Flags: review?(ted.mielczarek) → review?(jim)
Comment on attachment 345496 [details] [diff] [review]
Patch

I'd like jimb to look at this.
Actually, the check that's failing is trying to produce values for the make variables GLIB_CFLAGS, GLIB_LIBS, and GLIB_GMODULE_LIBS --- which are not, in fact, used anywhere in js/src at all.  So we can just drop that section of the configure script altogether, I think.
Actually, that's not true: elf-dynstr-gc.c needs it.  Hmm.
Comment on attachment 345496 [details] [diff] [review]
Patch

We need to be able to build elf-dynstr-gc whether or not GTK2 is enabled.  Let me see what I can do about elf-dynstr-gc.
Attachment #345496 - Flags: review?(jim) → review-
Assignee: nobody → jim
But js/src doesn't need elf-dynstr-gc.  Excision time.
Here's the first of two patches to drop elf-dynstr-gc and glib from js/src.  I'll r? it once the Try server likes it.
Second of two patches, this one deleting the glib configure tests.  Will r? when Try server likes it.
Attachment #345552 - Flags: review?(ted.mielczarek)
Comment on attachment 345554 [details] [diff] [review]
Bug 462356: js/src doesn't need glib.  Drop glib-related configury.
[Checkin: Comment 12]


The Try server likes these two.
Attachment #345554 - Flags: review?(ted.mielczarek)
Attachment #345552 - Flags: review?(ted.mielczarek) → review+
Attachment #345554 - Flags: review?(ted.mielczarek) → review+
Blocks: 97954
Comment on attachment 345552 [details] [diff] [review]
Bug 462356: js/src doesn't need elf-dynstr-gc; drop source and build info.
[Checkin: Comment 11]

http://hg.mozilla.org/mozilla-central/rev/5c46ab09eac8
Attachment #345552 - Attachment description: Bug 462356: js/src doesn't need elf-dynstr-gc; drop source and build info. → Bug 462356: js/src doesn't need elf-dynstr-gc; drop source and build info. [Checkin: Comment 11]
Comment on attachment 345554 [details] [diff] [review]
Bug 462356: js/src doesn't need glib.  Drop glib-related configury.
[Checkin: Comment 12]


http://hg.mozilla.org/mozilla-central/rev/e5185b19a790
Attachment #345554 - Attachment description: Bug 462356: js/src doesn't need glib. Drop glib-related configury. → Bug 462356: js/src doesn't need glib. Drop glib-related configury. [Checkin: Comment 12]
Severity: normal → major
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b2
Unpatched trunk now builds for me with no errors. VERIFIED and thanks for the fix.
Status: RESOLVED → VERIFIED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: