#3038 closed task (worksforme)
Gail-1.18.0 gail.pc issue
Reported by: | Robert L. Inglis | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | x-future |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
I've run into this error on the last 4 Gnome builds using BLFS-SVN.
checking pkg-config is at least version 0.9.0... yes checking for GAIL... configure: error: Package requirements (gail >= 1.1.0) were not met:
Failed to open '/usr/lib/pkgconfig/gail.pc': Too many open files Package 'gail', required by 'libgnomecanvas-2.0', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables GAIL_CFLAGS and GAIL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
ringlis [ /mnt/sources/sources/gnome2/src/gtkhtml-3.28.2 ]$ sudo vi /usr/lib/pkgconfig/gail.pc
prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include
Name: Gail Description: GNOME Accessibility Implementation Library Version: 1.18.0 Requires: atk gtk+-2.0 #Requires.private: libgnomecanvas-2.0 Libs: -L${libdir} -lgailutil Cflags: -I${includedir}/gail-1.0
You need to REM out Requires.private: libgnomecanvas-2.0 for any pkg that reads gail.pc
Same src after REM. configure: creating ./config.status config.status: creating Makefile config.status: creating gtkhtml-zip config.status: creating po/Makefile.in config.status: creating gtkhtml/Makefile config.status: creating gtkhtml/libgtkhtml.pc config.status: creating a11y/Makefile config.status: creating components/Makefile config.status: creating components/editor/Makefile config.status: creating components/editor/gtkhtml-editor.pc config.status: creating art/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands
Configuration:
Cookies support in soup : yes Editor component type : shlib
ringlis [ /mnt/sources/sources/gnome2/src/gtkhtml-3.28.2 ]$
I'm not sure if its a circular issue caused from libgnomecanvas-2.0.pc or if its a gail.pc issue. I just REM gail.pc and work from there.
vi /usr/lib/pkgconfig/libgnomecanvas-2.0.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include
Name: libgnomecanvas-2.0 Description: libgnomecanvas Requires: libart-2.0 gtk+-2.0 Requires.private: pango pangoft2 gail Version: 2.26.0 Libs: -L${libdir} -lgnomecanvas-2 Cflags: -I${includedir}/libgnomecanvas-2.0
This ticket is simply too convoluted to understand for my feeble mind. I have not encountered this issue. As far as PKG_CONFIG_PATH, users are told to adjust this if GNOME goes into anything other than /usr.
Closing as works for me. Perhaps if it really is an issue, the ticket could be made to explain the problem, and not all the explanations of what might or might not work.