From: Ben H. <tr...@gr...> - 2003-08-31 17:41:50
|
Two things I forgot to mention: the pkg-config file for libexif gets installed correctly: ben@ibook-laptop ~/tmp/libexif-0.5.12$ ls /usr/local/lib/pkgconfig/ libexif.pc ben@ibook-laptop ~/tmp/libexif-0.5.12$ cat !$* cat /usr/local/lib/pkgconfig/* prefix=3D/usr/local exec_prefix=3D${prefix} libdir=3D${exec_prefix}/lib includedir=3D${prefix}/include Name: libexif Description: Library for easy access to EXIF data Requires: Version: 0.5.12 Libs: -L${libdir} -lexif -lm Cflags: -I${includedir}/libexif -I${includedir} Second thing - following the suggestion of the ./configure script and adding the path to PKG_CONFIG_PATH doesn't seem to help checking for libexif >=3D 0.5.9... Package libexif was not found in the pkg-config search path. Perhaps you should add the directory containing `libexif.pc' to the PKG_CONFIG_PATH environment variable No package 'libexif' found configure: error: Library requirements (libexif >=3D 0.5.9) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. ben@ibook-laptop ~/tmp/exif-0.6$ echo $PKG_CONFIG_PATH=20 /usr/local/lib I also tried it with PKG_CONFIG_PATH set to /usr/local/lib/pkgconfig, but to no avail. -ben On Sun, Aug 31, 2003 at 10:28:56AM -0700, Ben Hartshorne wrote: > Hi, >=20 > My installation of libexif seemed to go alright. After './configure', > 'make', and 'make install', these are the contents of my /usr/local/lib > dir: > ben@ibook-laptop ~/tmp/libexif-0.5.12$ ls /usr/local/lib > charset.alias libexif.a pkgconfig/ > libexif.9.1.2.dylib* libexif.dylib@ > libexif.9.dylib@ libexif.la* >=20 > I merrily went on my way to ../exif-0.6/, where ./configure fails: > checking for libexif >=3D 0.5.9... Package libexif was not found in the > pkg-config search path. > Perhaps you should add the directory containing `libexif.pc' > to the PKG_CONFIG_PATH environment variable > No package 'libexif' found >=20 > configure: error: Library requirements (libexif >=3D 0.5.9) not met; > consider adjusting the PKG_CONFIG_PATH environment variable if your > libraries are in a nonstandard prefix so pkg-config can find them. >=20 >=20 > Sure enough, if I ask pkg-config what packages it knows about, it does > not list libexif. > ben@ibook-laptop ~/tmp/exif-0.6$ pkg-config --list-all > gdk GDK - GIMP Drawing Kit > gmodule GModule - Dynamic module loader for GLib > glib GLib - C Utility Library > esound esound - esound > gthread GThread - Thread support for GLib > libIDL libIDL - IDL parsing library > libpng libpng12 - Loads and saves PNG files > libpng12 libpng12 - Loads and saves PNG files > imlib Imlib - An image loading and rendering library for X11R6 > audiofile audiofile - audiofile > gtk+ GTK+ - GIMP Tool Kit > ORBit ORBit - High-performance CORBA Object Request Broker. > imlibgdk ImlibGdk - GDK support libraries for Imlib >=20 >=20 > I'm not sure what to do next. I can't find any command line argumets to > pkg-config to tell it to search particular directories or add new > packages, but shouldn't the install for libexif have done that? =20 >=20 > Thanks, >=20 > -ben >=20 > --=20 > Ben Hartshorne > email: be...@ha... > http://ben.hartshorne.net --=20 Ben Hartshorne email: be...@ha... http://ben.hartshorne.net |