On Fri, 11 Nov 2005, Paul wrote:
On Friday 11 November 2005 14:40, Dan Hatton wrote:
There doesn't seem to be an equivalent to libapm-dev on Fedora, so I pulled the apm.h file out of the Debian one, and put it in /usr/include.
Try apmd-devel - Our friend, google, seems to suggest Fedora uses apmd as a holder for these libs..
Having expanded my yum configuration's search area somewhat, I found that apmd-debuginfo has an apm.h.
cc -o sleepd sleepd.o acpi.o -lapm /usr/bin/ld: cannot find -lapm collect2: ld returned 1 exit status make: *** [sleepd] Error 1
To be expected - Not only do you need the headers, but also the libapm.*.a & libapm.*.so files - If you try to use the Debian versions, expect a few other dependencies to crop up... It may be easier to find the source rpm for apmd (or libapm) and build that before sleepd.
None of Fedora's binary packages seem to have the libapm.*.so files, so, as you suggested, I recompiled apmd from source (as it happens, I got the source code from a Debian mirror,) which made them appear in /usr/lib without further ado. Once that was done, sleepd magically compiled without problems. Thank you very much.