At 21:47 28/02/2002, Jeff Waugh sent this up the stick:
><quote who="Rob B">
>
> > How do I fix the "utmp entry ("loop") does not match value of LOGNAME
> > ("root"); using "root" at /usr/lib/dpkg/controllib.pl line 47.
> > " error? and if that gets fixed, will the next lot go away?
>
>Don't build packages as root - use the fakeroot tool. I recommend
>downloading the source and running dpkg-buildpackage manually. -rfakeroot
>will let you build as yourself, using fakeroot.

Thats what I have since found, I have a new error now :)

<as user>
bunbun:~/apcupsd-3.8.1.5$ dpkg-buildpackage -rfakeroot -uc -b
dpkg-buildpackage: source package is apcupsd
dpkg-buildpackage: source version is 3.8.1.5-1
dpkg-buildpackage: source maintainer is Martin Mitchell <[EMAIL PROTECTED]>
  fakeroot debian/rules clean DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386 
DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386 
DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux
dh_testdir
dh_testroot
rm -f build-stamp install-stamp
# Add here commands to clean up after the build process.
make realclean
make[1]: Entering directory `/home/loop/apcupsd-3.8.1.5'
make[1]: *** No rule to make target `realclean'.  Stop.
make[1]: Leaving directory `/home/loop/apcupsd-3.8.1.5'
make: [clean] Error 2 (ignored)
dh_clean
  debian/rules build DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386 
DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386 
DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux
dh_testdir
# Add here commands to compile the package.
autoconf -l autoconf autoconf/configure.in >configure
/bin/sh: ./autoconf: is a directory
make: [build-stamp] Error 126 (ignored)
SHUTDOWN=/sbin/shutdown CFLAGS="-O2 -g -Wall" ./configure --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info --enable-powerflute 
--enable-cgi --sysconfdir=/etc/apcupsd 
--with-cgi-bin=/usr/lib/cgi-bin/apcupsd --with-catgets --with-pid-dir=/var/run
make
make[1]: Entering directory `/home/loop/apcupsd-3.8.1.5'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/home/loop/apcupsd-3.8.1.5'
make: *** [build-stamp] Error 2

For some reason, there is no Makefile in the package (?)  Bug?

Thanks,
Rob


--
Ding a ding-dang my dang-a-long ling-long

[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian
This is random quote 340 of a collection of 1204

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to