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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of David Kramer
Sent: Friday, March 21, 2003 5:26 AM
To: [EMAIL PROTECTED]
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,...

[EMAIL PROTECTED] 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         [EMAIL PROTECTED]       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:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to