* [Powertop] PowerTop configure fails on BeagleBone/Ubuntu
@ 2012-05-21 14:56 Bram Bouwens
0 siblings, 0 replies; 4+ messages in thread
From: Bram Bouwens @ 2012-05-21 14:56 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 1222 bytes --]
Hi!
I'm trying to build powertop-2.0 on a BeagleBone running Ubuntu:
root(a)omap:~/powertop-2.0# uname -a
Linux omap 3.2.0-psp7 #1 Fri Apr 13 04:55:05 UTC 2012 armv7l armv7l armv7l GNU/Linux
but I get an error in the ./configure stage:
checking for strtoull... yes
checking for library containing delwin... -lncurses
./configure: line 19020: syntax error near unexpected token `PCIUTILS,'
./configure: line 19020: `PKG_CHECK_MODULES(PCIUTILS, libpci,,'
I do have the pci utils I think:
root(a)omap:~/powertop-2.0# dpkg --list | egrep -i pci
ii libpci-dev 1:3.1.8-2ubuntu5 Linux PCI Utilities (development files)
ii libpci3 1:3.1.8-2ubuntu5 Linux PCI Utilities (shared library)
ii libpciaccess0 0.12.902-1 Generic PCI access library for X
ii pciutils 1:3.1.8-2ubuntu5 Linux PCI Utilities
though I see something unexpected with the PCI bus:
root(a)omap:~/powertop-2.0# ls /proc/bus/pci
ls: cannot access /proc/bus/pci: No such file or directory
I'm not sure this board has a PCI bus, actually.
How should I proceed?
Bram
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Powertop] PowerTop configure fails on BeagleBone/Ubuntu
@ 2012-05-21 16:47 Lekensteyn
0 siblings, 0 replies; 4+ messages in thread
From: Lekensteyn @ 2012-05-21 16:47 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
On Monday 21 May 2012 16:56:20 Bram Bouwens wrote:
> checking for strtoull... yes
> checking for library containing delwin... -lncurses
> ./configure: line 19020: syntax error near unexpected token `PCIUTILS,'
> ./configure: line 19020: `PKG_CHECK_MODULES(PCIUTILS, libpci,,'
You need to install the pkg-config package.
> though I see something unexpected with the PCI bus:
>
> root(a)omap:~/powertop-2.0# ls /proc/bus/pci
> ls: cannot access /proc/bus/pci: No such file or directory
Not sure if there is a kernel config missing, does /sys/bus/pci/ exists?
Peter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Powertop] PowerTop configure fails on BeagleBone/Ubuntu
@ 2012-05-21 20:00 Bram Bouwens
0 siblings, 0 replies; 4+ messages in thread
From: Bram Bouwens @ 2012-05-21 20:00 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 968 bytes --]
On 05/21/2012 06:47 PM, Lekensteyn wrote:
> On Monday 21 May 2012 16:56:20 Bram Bouwens wrote:
>> checking for strtoull... yes
>> checking for library containing delwin... -lncurses
>> ./configure: line 19020: syntax error near unexpected token `PCIUTILS,'
>> ./configure: line 19020: `PKG_CHECK_MODULES(PCIUTILS, libpci,,'
> You need to install the pkg-config package.
No, that's present.
>
>> though I see something unexpected with the PCI bus:
>>
>> root(a)omap:~/powertop-2.0# ls /proc/bus/pci
>> ls: cannot access /proc/bus/pci: No such file or directory
> Not sure if there is a kernel config missing, does /sys/bus/pci/ exists?
That isn't there either. Just checked under Angstrom too, it simply isn't there;
the message is slightly different though:
checking for PCIUTILS... no
checking for library containing pci_get_dev... no
configure: error: libpci is required but was not found
And opkg can't find a package for it....
Bram
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Powertop] PowerTop configure fails on BeagleBone/Ubuntu
@ 2012-05-21 21:18 Lekensteyn
0 siblings, 0 replies; 4+ messages in thread
From: Lekensteyn @ 2012-05-21 21:18 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]
On Monday 21 May 2012 22:00:25 Bram Bouwens wrote:
> On 05/21/2012 06:47 PM, Lekensteyn wrote:
> > On Monday 21 May 2012 16:56:20 Bram Bouwens wrote:
> >> checking for strtoull... yes
> >> checking for library containing delwin... -lncurses
> >> ./configure: line 19020: syntax error near unexpected token `PCIUTILS,'
> >> ./configure: line 19020: `PKG_CHECK_MODULES(PCIUTILS, libpci,,'
> >
> > You need to install the pkg-config package.
>
> No, that's present.
Have you re-executed autogen.sh after installing pkg-config?
> >> though I see something unexpected with the PCI bus:
> >>
> >> root(a)omap:~/powertop-2.0# ls /proc/bus/pci
> >> ls: cannot access /proc/bus/pci: No such file or directory
> >
> > Not sure if there is a kernel config missing, does /sys/bus/pci/ exists?
>
> That isn't there either. Just checked under Angstrom too, it simply isn't
> there; the message is slightly different though:
>
> checking for PCIUTILS... no
> checking for library containing pci_get_dev... no
> configure: error: libpci is required but was not found
>
> And opkg can't find a package for it....
No idea on this, sorry. Perhaps you can crosscompile it? (no experience on
doing it with powertop though)
Regards,
Peter
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-21 21:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-21 14:56 [Powertop] PowerTop configure fails on BeagleBone/Ubuntu Bram Bouwens
-- strict thread matches above, loose matches on Subject: below --
2012-05-21 16:47 Lekensteyn
2012-05-21 20:00 Bram Bouwens
2012-05-21 21:18 Lekensteyn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.