Opened 15 years ago

Last modified 15 years ago

#22682 closed defect

Unable to upgrade xulrunner-devel, requires missing libnotify dependency — at Initial Version

Reported by: smbmacportstrac@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: xulrunner-devel

Description

---> 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 C++ reinterpret_cast... yes checking for C++ dynamic_cast to void*... yes checking whether C++ requires implementation of unused virtual methods... no checking for trouble comparing to zero near std::operator!=()... no checking for LC_MESSAGES... yes checking for nspr-config... /opt/local/bin/nspr-config checking for NSPR - version >= 4.8.0... yes checking for nss-config... /opt/local/bin/nss-config checking for NSS - version >= 3.12.0... yes checking for jpeg_destroy_compress in -ljpeg... yes checking for gzread in -lz... yes checking if app-specific confvars.sh exists... ./xulrunner/confvars.sh checking for pkg-config... /opt/local/bin/pkg-config checking for gtk+-2.0 >= 2.10.0 gtk+-unix-print-2.0 glib-2.0 gobject-2.0 gdk-x11-2.0... yes checking MOZ_GTK2_CFLAGS... -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/gtk-unix-print-2.0 checking MOZ_GTK2_LIBS... -L/opt/local/lib -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lXext -lXfixes -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -liconv -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp checking for pango >= 1.14.0... yes checking _PANGOCHK_CFLAGS... -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include checking _PANGOCHK_LIBS... -L/opt/local/lib -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv checking for pango >= 1.14.0 pangoft2 >= 1.14.0... yes checking MOZ_PANGO_CFLAGS... -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 checking MOZ_PANGO_LIBS... -L/opt/local/lib -lpangoft2-1.0 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv checking for gconf-2.0 >= 1.2.1... yes checking MOZ_GCONF_CFLAGS... -DORBIT2=1 -D_REENTRANT -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include checking MOZ_GCONF_LIBS... -L/opt/local/lib -lgconf-2 -lORBit-2 -lm -ldbus-1 -lpthread -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv checking for dbus-glib-1 >= 0.60... yes checking MOZ_DBUS_GLIB_CFLAGS... -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include checking MOZ_DBUS_GLIB_LIBS... -L/opt/local/lib -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lglib-2.0 -lintl -liconv checking for libnotify >= 0.4... Package libnotify was not found in the pkg-config search path. Perhaps you should add the directory containing `libnotify.pc' to the PKG_CONFIG_PATH environment variable No package 'libnotify' found configure: error: Library requirements (libnotify >= 0.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Error: Unable to upgrade port: 1


The workaround is to "port install libnotify".


The fix is to append the following depends_lib entry to the xulrunner-devel Portfile:

port:libnotify

Change History (0)

Note: See TracTickets for help on using tickets.