suspend 0.8

Hi,

I get an error in the configure script of suspend 0.8
(SourceForge.net: Linux suspend)

My error:

checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
appending configuration tag “F77” to libtool
checking for pkg-config… /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for m4… m4
checking for special C compiler options needed for large files… no
checking for _FILE_OFFSET_BITS value needed for large files… 64
checking for LIBPCI… no
checking for pci_init in -lpci… no
checking for pci_init in -lpci… no
configure: error: Required pciutils >= 2.2.4 not found

I have pciutils 2.2.6. I checked this in Yast.

Does anyone know how to fix th error??

Best regards

Jan-Erik Lange


zypper se -s suspend
Loading repository data...
Reading installed packages...

S | Name    | Type    | Version            | Arch   | Repository       
--+---------+---------+--------------------+--------+------------------
i | suspend | package | 0.80.20081103-1.28 | x86_64 | openSUSE-11.1-Oss
v | suspend | package | 0.80.20081103-1.30 | i586   | openSUSE-11.1-Oss

So why not install the packages already offered by openSUSE?

(BTW: Such errors indicate a missing devel package in > 99% of all cases)

  1. Thanks for your answer. I have the package in my suse but I want to build a tool in which you can s2ram the system pressing a little button. Therefor I want to use a part of the code perhaps. Do you have another idea?

  2. Writing mem in the /sys/power/stat let my system s2ram. But it don’t resumes pressing on the power button. The system boots but you can’t see anything on the screen. I read there is a problem with the graphics adapter and the X window system. Í heard that in some cases there a tools to fix this problem but in my case there is none. Do you have an idea to solve the problem?

Thanks a lot

I already told you what is missing.

And BTW, if you use the last “stable” tarball from the sourceforge site, you get code a lot older than the one from openSUSE.

Use the src.rpm or CVS instead.

And for writing a little tool getting s2ram with a button, you certainly don’t need the source of suspend.

Yes you told me that Such errors indicate a missing devel package in > 99% of all cases. But which devel package in my case?

I don’t need the source neccessarily. But writing mem into /sys/power/state let my system s2ram but not resume. I want do debug and unterstand the way how the system is suspending. Therefor I want to get this suspend compiled.

And I got it from sourceforge. By the way I’m new in Linux. Private as well as professional.

Thanks a lot

configure: error: Required pciutils >= 2.2.4 not found

I have pciutils 2.2.6. I checked this in Yast.

Such errors indicate a missing devel package in > 99% of all cases

And now make a sharp guess which devel it might be.

Pm-utils - openSUSE that should help you understand…

Having just encountered similar to your self(Suspended but didn’t wake), first make sure that unlike me you’re not getting caught out by bios.