Closed Bug 353132 Opened 18 years ago Closed 18 years ago

Firefox doesn't compile with gtk2 toolkit on SunOS 5.11

Categories

(Firefox Build System :: General, defect)

Sun
OpenSolaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

Details

Attachments

(1 file)

I was building Firefox trunk with gtk2 toolkit on SunOS 5.11 using Sun Studio 11. (x86) I got an error while linking libgklayout.so It doesn't work if "-lcairo" is before "-lmozcairo".
Attached patch patchSplinter Review
Change the sequence.
Assignee: nobody → ginn.chen
Status: NEW → ASSIGNED
Attachment #238989 - Flags: review?
Attachment #238989 - Flags: review? → review?(benjamin)
Comment on attachment 238989 [details] [diff] [review] patch Why is -lcairo in MOZ_GTK2_LIBS at all, if we're using the in-tree cairo? Is that what we're picking up from the GTK2 .pc file!?
Correct. It's Gnome 2.14. -bash-3.00$ pkg-config --libs gtk+-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -bash-3.00$ pkg-config --modversion gtk+-2.0 2.8.20
Gawd, why? This sounds like a GTK bug to me... since our app doesn't depend on system cairo, there is no need to include it in our link flags. Vlad?
Attachment #238989 - Flags: review?(benjamin) → review+
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: