You are not logged in.

#1 2009-01-24 18:24:33

AsA
Member
From: Milan - Italy
Registered: 2008-10-05
Posts: 46

Where can I find apm.h

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 directory

Unfortunately 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 sad.

Any idea?

Thanks

Offline

#2 2009-01-24 20:04:06

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Where can I find apm.h

Just guessing: acpitool, and probably xosd.

Offline

#3 2009-01-24 20:37:22

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Where can I find apm.h

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

#4 2010-01-04 14:31:15

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: Where can I find apm.h

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

#5 2010-01-05 14:25:50

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Where can I find apm.h

For future reference, you can use pkgfile from pkgtools to help with this smile

Offline

#6 2010-01-05 14:47:57

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: Where can I find apm.h

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

#7 2010-01-08 16:22:04

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Where can I find apm.h

In this case you're right. If it's in the repos though, it would find it.

Offline

Board footer

Powered by FluxBB