LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Help with libdaemon and ifplugd (https://www.linuxquestions.org/questions/slackware-14/help-with-libdaemon-and-ifplugd-291239/)

Random`Zero 02-16-2005 11:50 PM

Help with libdaemon and ifplugd
 
I installed libdaemon (./configure, make, make install, make clean) and then I try to configure ifplugg but I always get the error
Quote:

checking for libdaemon >= 0.5 ... Package libdaemon was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdaemon.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdaemon' found

configure: error: Library requirements ( libdaemon >= 0.5 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
What am I doing wrong?

shilo 02-17-2005 12:58 PM

Since you posted this last night, I'm sure your search database has already been updated, so:

Code:

slocate libdaemon.pc
That will tell you where libdaemon.pc is, like /path/to/file/libdaemon.pc . When you go to configure ifplugg,
you are probably just using:
Code:

./configure
The message is saying that it may work if you try:

Code:

./configure PKG_CONFIG_PATH=/path/to/file
That has worked for me in the past with similar problems.

Random`Zero 02-18-2005 07:39 PM

Quote:

[08:37:32]root@laptop:/home/dan/ifplugd-0.26$> slocate libdaemon.pc /usr/local/lib/pkgconfig/libdaemon.pc
/home/dan/.kde/share/apps/RecentDocuments/libdaemon.pc.desktop
/home/dan/libdaemon-0.7/libdaemon.pc.in
/home/dan/libdaemon-0.7/libdaemon.pc
Quote:

[08:38:43]root@laptop:/home/dan/ifplugd-0.26$> ./configure PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/libdaemon.pc
.....
checking for pkg-config... /usr/bin/pkg-config
checking for libdaemon >= 0.5 ... Package libdaemon was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdaemon.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdaemon' found

configure: error: Library requirements ( libdaemon >= 0.5 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
:(
I've tried it with and without quotes, nothing seems to have any effect :(

shilo 02-18-2005 07:55 PM

Code:

[08:38:43]root@laptop:/home/dan/ifplugd-0.26$> ./configure PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
Does this work? Note, the message says to specify the directory only, not to specify the filename.

Random`Zero 02-18-2005 09:16 PM

Quote:

[10:17:04]root@laptop:/home/dan/ifplugd-0.26$> ./configure PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" --with-initdir=DIR
That worked :)
Thanks for your help.


All times are GMT -5. The time now is 07:50 PM.