[Nut-upsuser] Bug#439055: hid driver tries to mmap huge area, fails
Justin Piszcz
jpiszcz at lucidpixels.com
Sat Sep 8 12:32:27 UTC 2007
On Sat, 8 Sep 2007, Charles Lepple wrote:
> On 9/8/07, Justin Piszcz <jpiszcz at lucidpixels.com> wrote:
>> $ ./configure --with-user=nut --with-group=nut
>> --prefix=/app/nut-trunk-1091
>>
>> checking sys/time.h presence... yes
>> checking for sys/time.h... yes
>> ./configure: line 5460: NUT_TYPE_SOCKLEN_T: command not found
>> ./configure: line 5461: NUT_TYPE_UINT16_T: command not found
>> ./configure: line 5462: NUT_TYPE_UINT8_T: command not found
>> checking for --with-all... not given
>> ./configure: line 5492: syntax error near unexpected token `serial,'
>> ./configure: line 5492: `NUT_ARG_WITH(serial, build and install serial
>> drivers, yes)'
>>
>> autoconf/automake do not produce a working configure and no configure in
>> trunk?
>
> This looks like you need to run autoreconf. It will re-run autoconf
> and automake, but will also include all of the NUT-specific macros in
> the m4/ directory. Also, be sure that you do not have automake-1.4
> installed at all, and you have a later version of automake, such as
> 1.8 or 1.9.
>
> --
> - Charles Lepple
>
By the way, ./configure --prefix=/app/nut-2.2.0-r1090:
Making install in scripts
make[1]: Entering directory `/home/war/nut-2.2.0-r1090/scripts'
Making install in hotplug
make[2]: Entering directory `/home/war/nut-2.2.0-r1090/scripts/hotplug'
make[3]: Entering directory `/home/war/nut-2.2.0-r1090/scripts/hotplug'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/etc/hotplug/usb" || /bin/mkdir -p "/etc/hotplug/usb"
/usr/bin/install -c -m 644 'libhid.usermap'
'/etc/hotplug/usb/libhid.usermap'
/usr/bin/install: cannot create regular file
`/etc/hotplug/usb/libhid.usermap': Permission denied
make[3]: *** [install-dist_hotplugusbDATA] Error 1
make[3]: Leaving directory `/home/war/nut-2.2.0-r1090/scripts/hotplug'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/war/nut-2.2.0-r1090/scripts/hotplug'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/war/nut-2.2.0-r1090/scripts'
make: *** [install-recursive] Error 1
Command exited with non-zero status 2
1.90user 1.52system 0:03.40elapsed 100%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (0major+684410minor)pagefaults 0swaps
Justin.
More information about the Nut-upsuser
mailing list