On Fri, 13 Dec 2002, Dr. Sharukh K. R. Pavri. wrote: > I am trying (unsuccessfully :( I might add) to build gphoto2-2.1.1 > from source. ./configure quits with this error -- > > ------------------------------------------ > > checking for libgphoto2 >= 2.1.1... Package libgphoto2 was not found in the > pkg-config search path. > Perhaps you should add the directory containing `libgphoto2.pc' > to the PKG_CONFIG_PATH environment variable > No package 'libgphoto2' found
pkgconfig looks into /usr/lib/pkgconfig for its list of packages. However, by default, ./configure creates makefiles that install into /usr/local You can either specify a different prefix (/usr in this case) or post-install make symlinks from /usr/local/lib/pkgconfig/* to /usr/lib/pkgconfig/ so that pkgconfig can find the newly installed packages OR set PKG_CONFIG_PATH to include /usr/local/lib/pkgconfig > > configure: error: Library requirements (libgphoto2 >= 2.1.1) not met; > consider adjusting the PKG_CONFIG_PATH environment variable if your libraries > are in a nonstandard prefix so pkg-config can find them. > See above.. -Naren ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
