You are not logged in.
While trying to write a PKGBUILD for osdsh (http://osdsh.sourceforge.net/) I got this error on compilation
error: apm.h: No such file or directoryUnfortunately I don't know in which package I can find that header, looking at osdsh entry in debian repos it depends on libapm1 but there isn't anything similar in pacman
.
Any idea?
Thanks
Offline
Just guessing: acpitool, and probably xosd.
Offline
it's part of the kernel: /usr/src/linux-2.6.28-ARCH/arch/x86/include/asm/mach-default/apm.h
Probably the file is on your system but it can't find it.
Offline
I'm just coming upon this message now, and I know I shouldn't post to zombie threads, but I had a copy of that PKGBUILD from before it got dropped from the repo.
Here are some urls to try. The first I think doesn't work anymore, the other two do.
http://www.worldvisions.ca/~apenwarr/apmd/
http://alumnit.ca/~apenwarr/apmd/
http://ftp.de.debian.org/debian/pool/main/a/apmd/
Last edited by Profjim (2010-01-04 14:33:29)
Offline
For future reference, you can use pkgfile from pkgtools to help with this ![]()
[git] | [AURpkgs] | [arch-games]
Offline
Except not in this case, right? because apmd isn't in the repos anymore. (It is in AUR.) I replied because I knew apmd had been dropped from the repos but I knew this file belonged to it.
But thanks for the tip, I've never looked into pkgtools before.
Offline
In this case you're right. If it's in the repos though, it would find it.
[git] | [AURpkgs] | [arch-games]
Offline