#22179 closed defect (invalid)
xulrunner-1.9.0.13 Configure error - build failure
Reported by: | simon@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | xulrunner |
Description
I'm having trouble installing xulrunner. I'll paste the output from terminal below. Here are some version and hardware info:
OS 10.6.1 (upgraded from 10.5.8)
2.8 GHz Intel Core 2 Duo
MacPorts 1.8.1
xCode 3.2.1
$ sudo port install xulrunner Password: ---> Computing dependencies for xulrunner ---> Configuring xulrunner Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_xulrunner/work/mozilla" && ./configure --prefix=/opt/local --with-xulrunner-stub-name=xulrunner-stub --disable-static --enable-shared --with-distribution-id=org.macports --enable-default-toolkit=cairo-gtk2 --x-includes=/opt/local/include --x-libraries=/opt/local/lib --with-system-nspr --with-nspr-prefix=/opt/local --with-system-nss --with-nss-prefix=/opt/local --with-system-bzip2=/opt/local --with-system-jpeg=/opt/local --with-system-zlib=/opt/local --enable-system-lcms --enable-system-cairo --enable-system-sqlite --with-default-mozilla-five-home=/opt/local/lib/xulrunner --enable-oji --enable-plugins --enable-mathml --enable-extensions="default,spellcheck" --enable-permissions --enable-cookie --enable-image-decoders=all --enable-image-encoder=all --enable-canvas --enable-jsd --enable-xpctools --enable-crypto --enable-pango --enable-svg --enable-svg-renderer=cairo --enable-xinerama --with-pthreads --disable-gnomevfs --disable-gnomeui --enable-postscript --enable-safe-browsing --disable-crashreporter --enable-optimize='-O2' --disable-prebinding --enable-strip --enable-install-strip --disable-debug --disable-installer --disable-updater --disable-pedantic --disable-tests --disable-mochitest " returned error 1 Command output: checking SQLITE_LIBS... -L/opt/local/lib -lsqlite3 checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for unwind.h... yes checking for _Unwind_Backtrace... yes checking for gcc -pipe support... cat: dummy-hello.s: No such file or directory yes checking whether compiler supports -Wno-long-long... yes checking whether C compiler supports -fprofile-generate... yes checking for correct temporary object destruction order... yes checking for correct overload resolution with const and templates... no checking for libIDL-2.0 >= 0.8.0 glib-2.0 gobject-2.0... yes checking LIBIDL_CFLAGS... -I/opt/local/include/libIDL-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include checking LIBIDL_LIBS... -L/opt/local/lib -lIDL-2 -lgobject-2.0 -lglib-2.0 -lintl -liconv checking for glib-2.0 >= 1.3.7 gobject-2.0... yes checking GLIB_CFLAGS... -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include checking GLIB_LIBS... -L/opt/local/lib -lgobject-2.0 -lglib-2.0 -lintl -liconv checking for stdint.h... yes checking for inttypes.h... yes checking for sys/int_types.h... no checking for cairo >= 1.6.0 freetype2 fontconfig... yes checking CAIRO_CFLAGS... -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12 checking CAIRO_LIBS... -L/opt/local/lib -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lfontconfig -lexpat -lfreetype -lz -liconv checking for cairo-xlib-xrender >= 1.6.0... yes checking CAIRO_XRENDER_CFLAGS... -I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 checking CAIRO_XRENDER_LIBS... -L/opt/local/lib -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -liconv -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp checking for lcms >= 1.17... yes checking LCMS_CFLAGS... -I/opt/local/include checking LCMS_LIBS... -L/opt/local/lib -llcms configure: error: Could not find the following X libraries: -lX11 -lXext -lXt Error: Status 1 encountered during processing.
Change History (7)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to jeremyhu@… |
---|
comment:2 Changed 15 years ago by simon@…
comment:3 follow-up: 4 Changed 15 years ago by blb@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
Per ticket #22546: "xulrunner is not compatible with SnowLeopard. Try xulrunner-devel".
comment:4 Changed 15 years ago by hippoman@…
Replying to blb@…:
Per ticket #22546: "xulrunner is not compatible with SnowLeopard. Try xulrunner-devel".
The xulrunner-devel installation doesn't work any better under Snow Leopard than the xulrunner installation. This ticket should not have been closed without the xulrunner-devel suggestion actually having been tried first.
I don't seem to have permission to reopen this ticket, or else I would do so. Could someone please reopen it? Thanks.
Here's my terminal session:
% sudo port install xulrunner-devel ---> Computing dependencies for xulrunner-devel ---> Fetching libnotify ---> Attempting to fetch libnotify-0.4.5.tar.bz2 from http://www.galago-project.org/files/releases/source/libnotify/ ---> Verifying checksum(s) for libnotify ---> Extracting libnotify ---> Configuring libnotify ---> Building libnotify ---> Staging libnotify into destroot ---> Installing libnotify @0.4.5_0 ---> Activating libnotify @0.4.5_0 ---> Cleaning libnotify ---> Fetching xulrunner-devel ---> Attempting to fetch firefox-3.6b1.source.tar.bz2 from http://distfiles.macports.org/xulrunner-devel ---> Verifying checksum(s) for xulrunner-devel ---> Extracting xulrunner-devel ---> Applying patches to xulrunner-devel ---> Configuring xulrunner-devel Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_xulrunner-devel/work/mozilla-1.9.2" && ./configure --prefix=/opt/local --with-xulrunner-stub-name=xulrunner-stub --disable-static --enable-shared --with-distribution-id=org.macports --enable-default-toolkit=cairo-gtk2 --x-includes=/opt/local/include --x-libraries=/opt/local/lib --with-system-nspr --with-nspr-prefix=/opt/local --with-system-nss --with-nss-prefix=/opt/local --with-system-bzip2=/opt/local --with-system-jpeg=/opt/local --with-system-zlib=/opt/local --enable-system-lcms --enable-system-cairo --enable-system-sqlite --with-default-mozilla-five-home=/opt/local/lib/xulrunner --enable-oji --enable-plugins --enable-mathml --enable-extensions="default,spellcheck" --enable-permissions --enable-cookie --enable-image-decoders=all --enable-image-encoder=all --enable-canvas --enable-jsd --disable-xpctools --enable-crypto --enable-pango --enable-svg --enable-svg-renderer=cairo --enable-xinerama --with-pthreads --disable-gnomevfs --disable-gnomeui --enable-postscript --enable-safe-browsing --disable-crashreporter --enable-optimize='-O2' --disable-prebinding --enable-strip --enable-install-strip --disable-debug --disable-installer --disable-updater --disable-pedantic --disable-tests --disable-mochitest --disable-necko-wifi --enable-libxul " returned error 1 Command output: checking for wget... checking for wget... wget wget checking for sqlite3 >= 3.6.16... yes checking SQLITE_CFLAGS... -I/opt/local/include checking SQLITE_LIBS... -L/opt/local/lib -lsqlite3 checking for libhildonmime... checking for libosso... checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for unwind.h... yes checking for _Unwind_Backtrace... yes checking for gcc -pipe support... yes checking whether compiler supports -Wno-long-long... yes checking whether C compiler supports -fprofile-generate... yes checking for correct temporary object destruction order... yes checking for correct overload resolution with const and templates... no checking for libIDL-2.0 >= 0.8.0 glib-2.0 gobject-2.0... yes checking LIBIDL_CFLAGS... -I/opt/local/include/libIDL-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include checking LIBIDL_LIBS... -L/opt/local/lib -lIDL-2 -lgobject-2.0 -lglib-2.0 -lintl -liconv checking for glib-2.0 >= 1.3.7 gobject-2.0... yes checking GLIB_CFLAGS... -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include checking GLIB_LIBS... -L/opt/local/lib -lgobject-2.0 -lglib-2.0 -lintl -liconv checking for stdint.h... yes checking for inttypes.h... yes checking for sys/int_types.h... no checking for cairo >= 1.6.0 freetype2 fontconfig... yes checking CAIRO_CFLAGS... -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12 checking CAIRO_LIBS... -L/opt/local/lib -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lfontconfig -lexpat -lfreetype -lz -liconv checking for cairo-xlib-xrender >= 1.6.0... yes checking CAIRO_XRENDER_CFLAGS... -I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 checking CAIRO_XRENDER_LIBS... -L/opt/local/lib -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -liconv -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp configure: error: Could not find the following X libraries: -lX11 -lXext -lXt Error: Status 1 encountered during processing.
comment:5 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)
xulrunner-devel needs to be 32bit. It does work, but you should be using +universal for its dependencies.
comment:6 Changed 15 years ago by motya@…
What about nss? It's only 64-bit. I'm having troubles too.
comment:7 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Yes, +universal for nss is an open bug. If you have a patch, I'll include it, but it's a low priority given that the +internal_dependencies variant exists for firefox-x11 and firefox-x11-devel
Oops, I see this is a duplicate of http://trac.macports.org/ticket/21449
I tried following the advice there (running the install command with +universal) and I got the exact same error as before. Terminal output pasted below. Am I doing the install correctly? Do I need to uninstall previous things that xulrunner is dependent on and install them as +universal also? If yes, how? Thanks very much in advance for any help.