LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help with this error? (https://www.linuxquestions.org/questions/linux-software-2/help-with-this-error-208549/)

BajaNick 07-22-2004 10:29 PM

Help with this error?
 
How do I add this to my pkg-config search path? or is that what I need to do?

checking for gtk+-2.0 libgphoto2 >= 2.1.4... 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

configure: error: Library requirements (gtk+-2.0 libgphoto2 >= 2.1.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.




Thanks.

slackist 07-22-2004 10:51 PM

IIRC, do a search for the libgphoto2.pc file and then issue

export PKG_CONFIG_PATH=/path/to/file/libgphoto2.pc

HTH,
mark

BajaNick 07-22-2004 11:30 PM

Thanks, that seems to have worked. :)
I spoke to soon. Is it necessary to do that 2 times if it is found in 2 different places?

slackist 07-23-2004 12:22 AM

Quote:

Originally posted by BajaNick
Is it necessary to do that 2 times if it is found in 2 different places?
Sorry, I don't know the answer to that.
If it helps the one I used is /usr/lib/pkgconfig/libgphoto2.pc on slack 9.1

mark

BajaNick 07-23-2004 09:16 AM

Thanks. It didnt work cuz I used the wrong path but then I tried the other one and it worked.
Thanks for the help.:jawa:


All times are GMT -5. The time now is 06:29 PM.