[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: apcupsd on Red Hat 7.3 and Back-UPS XS USB
- From: "Rilindo Foster" <webmaster monzell com>
- To: <redhat-list redhat com>
- Subject: RE: apcupsd on Red Hat 7.3 and Back-UPS XS USB
- Date: Fri Mar 21 11:54:02 2003
How about specifying the directory when running the configure script - like
this:
/configure --prefix=/usr/local --sbindir=/usr/local/sbin --with-serial-dev=/
dev/usb/hid/hiddev[0-9] --with-upstype=usb --with-upscable=usb --enable-pthr
eads --enable-usb
-------begin signature---------
Rilindo Foster
http://monzell.com
AIM: rilindo
---------end signature---------
-----Original Message-----
From: redhat-list-admin redhat com
[mailto:redhat-list-admin redhat com]On Behalf Of David Kramer
Sent: Friday, March 21, 2003 5:26 AM
To: redhat-list redhat com
Subject: apcupsd on Red Hat 7.3 and Back-UPS XS USB
I downloaded, and did
./configure '--with-serial-dev=/dev/usb/hid/hiddev[0-9]'
--with-upstype=usb --with-upscable=usb --enable-pthreads --enable-usb
which seemed to go OK.
But when I went to install,...
[root uni apcupsd-3.10.5]# make install
/bin/sh ./ /sbin
./: ./: is a directory
make: *** [install-directories] Error 126
Looking at the Makefile, there appears to be no "mkdir" command to actually
make the directories.
install-directories: install-dir
$(SHELL) $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
$(SHELL) $(MKINSTALLDIRS) $(DESTDIR)$(mandir)
@if [ ! -d $(DESTDIR)$(sysconfdir) ] ; then \
$(SHELL) $(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir); \
chmod 755 $(DESTDIR)$(sysconfdir); \
fi
$MKINSTALLDIRS = $(topdir)/, and $topdir isn't set to anyting. Niether is
$DESTDIR
I tried making those directories by hand and bypassing that section, then
make install ran without errors, but did not actually install any files.
You can see the output of "configure" at
http://thekramers.net/tmp/apc-configure.out
You can see my config.status at
http://thekramers.net/tmp/apc-config.status
You can see the Makefile at
http://thekramers.net/tmp/apc-makefile
Any advice would be appreciated.
Thanks.
----------------------------------------------------------------------------
DDDD David Kramer david thekramers net http://thekramers.net
DK KD "Light is meaningful only in relation to darkness, and truth
DKK D presupposes error. It is these mingled opposites which people our
DK KD life, which make it pungent, intoxicating. We only exist in terms
DDDD of this conflict, in the zone where black and white clash."
- Louis Aragon (1897-1982)
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]