Closed Bug 322354 Opened 20 years ago Closed 19 years ago

libxul always links against X11

Categories

(Toolkit Graveyard :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mark, Assigned: mark)

References

Details

(Keywords: fixed1.8.0.1, fixed1.8.1)

Attachments

(1 file)

libxul (XUL.framework) always links against libX11, even if a non-X11 widget toolkit is in use. This is a problem when X11 is available on the system but is not the chosen toolkit. On the Mac, X11 is optional, so a build host with X11 installed will produce output that will not launch on targets that do not have X11 installed. There may be similar problems on Windows build hosts with sufficient X11 support.
Attachment #207495 - Flags: first-review?(benjamin)
Comment on attachment 207495 [details] [diff] [review] Only link against X11 when an X widget toolkit is selected Please put this on all the branches.
Attachment #207495 - Flags: first-review?(benjamin)
Attachment #207495 - Flags: first-review+
Attachment #207495 - Flags: approval1.8.1+
Attachment #207495 - Flags: approval1.8.0.1+
Fixed everywhere.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
*** Bug 323906 has been marked as a duplicate of this bug. ***
checking for trouble comparing to zero near std::operator!=()... (cached) no checking for LC_MESSAGES... (cached) yes checking for pkg-config... (cached) /opt/local/bin/pkg-config checking for gtk+-2.0 >= 1.3.7 gdk-x11-2.0 glib-2.0 gobject-2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found Package gdk-x11-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gdk-x11-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gdk-x11-2.0' found configure: error: Library requirements (gtk+-2.0 >= 1.3.7 gdk-x11-2.0 glib-2.0 gobject-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. *** Fix above errors and then restart with "make -f client.mk build" make[1]: *** [configure] Error 1 make: *** [/Users/cbarrett/Projects/Mozilla/mozilla/obj-i386-apple-darwin8.8.2/Makefile] Error 2
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Colin, that's not the same bug. Please file a new bug for that issue.
Status: REOPENED → RESOLVED
Closed: 20 years ago19 years ago
Resolution: --- → FIXED
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: