Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Debian source package fails at build

<quote who="Rob B">

8< snip 8<

Here we have an attempt to run autoconf, which fails...

> # 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-'
> make[1]: *** No targets specified and no makefile found.  Stop.

Then we have no makefile.

> make[1]: Leaving directory `/home/loop/apcupsd-'
> make: *** [build-stamp] Error 2
> For some reason, there is no Makefile in the package (?)  Bug?

Mostly because the autoconf bit failed - see if you can work out what's
going on there (look in debian/rules, and make sure it's doing sane things
based on the clean source).

- Jeff

   "I came for the quality, but I stayed for the freedom." - Sean Neakums