GNOME Bugzilla – Bug 759779
make install fails to find gobject-introspection-no-export-1.0
Last modified: 2016-04-29 21:32:51 UTC
I may be doing this wrong but I can't get the latest build to install on ubuntu 15.10 x86_64. I had to use ./configure without --enable-introspection as that also gave an error (just ./configure with no options) make worked fine [sudo] make install failed with the following message: Package gobject-introspection-no-export-1.0 was not found in the pkg-config search path. I don't think I have a file (or package) called gobject-introspection-no-export-1.0.pc on my system. Thanks in advance for any advice or workaround. Full output of make install below: make[1]: Entering directory '/home/simon/code/gpx/gexiv2/gexiv2-0.10.3' /bin/mkdir -p '/usr/local/lib' /bin/bash ./libtool --mode=install /usr/bin/install -c libgexiv2.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libgexiv2.so.2.0.0 /usr/local/lib/libgexiv2.so.2.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libgexiv2.so.2.0.0 libgexiv2.so.2 || { rm -f libgexiv2.so.2 && ln -s libgexiv2.so.2.0.0 libgexiv2.so.2; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libgexiv2.so.2.0.0 libgexiv2.so || { rm -f libgexiv2.so && ln -s libgexiv2.so.2.0.0 libgexiv2.so; }; }) libtool: install: /usr/bin/install -c .libs/libgexiv2.lai /usr/local/lib/libgexiv2.la libtool: finish: PATH="/home/simon/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/android-sdk_r10-linux_x86/tools:/usr/lib/android-sdk_r10-linux_x86/platform-tools:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/mkdir -p '/usr/local/include/gexiv2' /usr/bin/install -c -m 644 ./gexiv2/gexiv2.h ./gexiv2/gexiv2-metadata.h ./gexiv2/gexiv2-managed-stream.h ./gexiv2/gexiv2-preview-properties.h ./gexiv2/gexiv2-preview-image.h ./gexiv2/gexiv2-log.h ./gexiv2/gexiv2-startup.h ./gexiv2/gexiv2-version.h '/usr/local/include/gexiv2' /bin/mkdir -p '/usr/local/share/vala/vapi' /usr/bin/install -c -m 644 gexiv2.vapi '/usr/local/share/vala/vapi' /bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 gexiv2.pc '/usr/local/lib/pkgconfig' Package gobject-introspection-no-export-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gobject-introspection-no-export-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gobject-introspection-no-export-1.0' found make[1]: Leaving directory '/home/simon/code/gpx/gexiv2/gexiv2-0.10.3'
gobject-introspection-no-export-1.0 is in libgirepository1.0-dev, however it is unfortunate that you have to have that installed even if you don't want to compile against it
Aha! thank you. It was a while ago but I seem to recall I had trouble installing one of the other pre-requisites, maybe libgirepository1.0-dev?
Should be solved by using proper GObject-introspection automake integration *** This bug has been marked as a duplicate of bug 765827 ***