[Nut-upsuser] 2.2.2-pre2 64 bit rpm tested on openSUSE 10.3

Arnaud Quette aquette.dev at gmail.com
Tue Apr 22 08:30:53 UTC 2008


Hi Roger

2008/4/21, Roger Price <rprice at cs.uml.edu>:
> On Mon, 21 Apr 2008, Roger Price wrote:
>  > On Mon, 21 Apr 2008, Arnaud Quette wrote:
>  >
>
> > > A source RPM for SuSE is also available, but I'm not sure it's x64 ready!
>  > > http://opensource.mgeops.com/stable/sources/suse/
>  >
>  > I had confused mgeups and mgeops.

well, the whole *MGE* situation tends to make things blurry, even if
you're an insider ;-)

> I downloaded the source rpm and ran the
>  > command
>  >    script -c "rpmbuild --rebuild /tmp/mgeops-psp-3.0.6-2.src.rpm"
>  >              /tmp/rpmbuild.log
>  >
>
> > It ends with:
>  > > checking for NUT... configure: error: Package requirements (libupsclient
>  > > >= 2.0.0) were not met:
>  > > No package 'libupsclient' found
>
>
> Although not asked for, I installed nut-devel-2.2.2-pre2.x86_64.rpm and
>  tried again; this time the build went further and found errors in
>  eggstatusicon.c for example:
>
>  eggstatusicon.c: In function 'egg_status_icon_get_is_blinking':
>  eggstatusicon.c:795: error: 'EggStatusIconPrivate' has no member named
>  'blinking'
>
>  You will find the full result at
>
> http://rogerprice.org/mgeops-psp-3.0.6/rpmbuild.log

right. the API used is an old one, to have a wide platform support spectrum.
You'll find a 3.0.7 archive here:
http://opensource.mgeops.com/stable/sources/projects/psp/

- Retrieve the .bz2
- extract it, and get into the dir
- call configure a first time to generate packaging/mgeops-psp-suse.spec
- then /packaging/mgeops-psp-suse.spec to your SPEC dir, and the .bz2
to your SOURCES dir
- then issue an "rpmbuild -ba .../mgeops-psp-suse.spec"

Since I'm unsure about x64 support, feedback is welcome.

Arnaud
-- 
Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/



More information about the Nut-upsuser mailing list