LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-17-2005, 12:50 AM   #1
Random`Zero
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Rep: Reputation: 15
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?
 
Old 02-17-2005, 01:58 PM   #2
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
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.
 
Old 02-18-2005, 08:39 PM   #3
Random`Zero
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 02-18-2005, 08:55 PM   #4
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
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.
 
Old 02-18-2005, 10:16 PM   #5
Random`Zero
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorry, there is already an instance of ifplugd for eth0 running. Maxplayer14 Mandriva 1 03-30-2005 11:21 AM
ifupdown/ifplugd equivalent(s) for Slackware? alephnull Slackware 3 01-28-2005 11:56 PM
Problem installing ifplugd/libdaemon from source kk5000 Linux - Software 2 05-19-2004 06:34 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration