[Nut-upsuser] Network UPS Tools version 2.2.2-pre2 released
Roger Price
rprice at cs.uml.edu
Sat Apr 19 17:46:45 UTC 2008
On Sat, 19 Apr 2008, Charles Lepple wrote:
> On Sat, Apr 19, 2008 at 9:16 AM, Roger Price <rprice at cs.uml.edu> wrote:
> > On Sat, 19 Apr 2008, Charles Lepple wrote:
> >
> > > Do you have libtool installed?
> >
> > No, it wasn't asked for.
>
> Hence, my question to Arjen about whether autoreconf needs to be
> called (it uses libtool, but the spec file shouldn't need to call
> autoreconf in the first place).
>
> I'm no expert on 64-bit systems or RPM-based distributions, but when
> you installed gcc42, what executables are installed that start with
> 'gcc'? (If you type 'gcc<TAB>' on the command line, what is returned?)
Ok, it was just some n00b fumbling - I went back to the openSUSE 10.3 rpm
repositories and found an rpm "gcc" which installs nothing, but defines
links /usr/bin/cc -> gcc-4.2 and /usr/bin/gcc -> gcc-4.2
With this in place, the command
rpmbuild --rebuild nut-2.2.2-pre2.src.rpm
goes further. The output is visible at http://rogerprice.org/rpmbuild.log
It ends with
checking whether to enable HAL support... yes
configure: error: "neon libraries not found, required for neon based
XML/HTTP driver"
error: Bad exit status from /var/tmp/rpm-tmp.52627 (%build)
I looked for "neon" in the rpm repositories and found "neon-devel" which
hadn't been asked for. I installed it and rpm -qa | grep neon now
reports
neon-0.26.4-17
neon-devel-0.26.4-17
With neon-devel in place, the build now produces three rpm's:
Wrote: /usr/src/packages/RPMS/x86_64/nut-2.2.2-pre2.x86_64.rpm
Wrote: /usr/src/packages/RPMS/x86_64/nut-devel-2.2.2-pre2.x86_64.rpm
Wrote: /usr/src/packages/RPMS/x86_64/nut-hal-2.2.2-pre2.x86_64.rpm
ls -alF /usr/src/packages/RPMS/x86_64/ reports:
total 2668
drwxrwxrwt 2 root root 4096 2008-04-19 19:29 ./
drwxrwxrwt 4 root root 4096 2008-03-11 16:35 ../
-rw-r--r-- 1 root root 2360916 2008-04-19 19:29 nut-2.2.2-pre2.x86_64.rpm
-rw-r--r-- 1 root root 28061 2008-04-19 19:29 nut-devel-2.2.2-pre2.x86_64.rpm
-rw-r--r-- 1 root root 321756 2008-04-19 19:29 nut-hal-2.2.2-pre2.x86_64.rpm
I'll try them tomorrow; meanwhile, another n00bie question : What does
nut-hal do? Do I need it?
Roger
More information about the Nut-upsuser
mailing list