Stephen Gran on 17 Dec 2003 19:12:02 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Debian and cups


On Wed, Dec 17, 2003 at 03:34:01PM -0500, Jon Nelson said:
> -----snip--------------
> cd build-tree/gnutls-0.8.12 && libtoolize --force --copy && aclocal &&
> autoheader && automake --force --copy && autoconf
> automake: unrecognized option -- `--force'
> Try `automake --help' for more information.
> make: *** [post-patches] Error 2
> 
> I found the instances of 'automake --force' and got rid of the --force. 
> Then I got this error:
> 
> -----snip--------------
> cd build-tree/gnutls-0.8.12 && libtoolize --force --copy && aclocal &&
> autoheader && automake --copy && autoconf
> includes/Makefile.am:3: invalid variable `nobase_include_HEADERS'
> make: *** [post-patches] Error 1
> 
> Here is the line causing the problem:
> 
> nobase_include_HEADERS = gnutls/extra.h gnutls/openssl.h gnutls/gnutls.h \
>     gnutls/compat4.h
> 
> After that I am lost.
> 
> Thanks for the help.

in debian/rules, edit this line:
cd $(DEB_SRCDIR) && libtoolize --force --copy && aclocal && autoheader && automake --force --copy && autoconf

so that it uses automake1.7 explicitly:
cd $(DEB_SRCDIR) && libtoolize --force --copy && aclocal && autoheader && automake1.7 --force --copy && autoconf

You probably have an older version kicking around that's messing up.  It
builds fine in my sarge chroot, so it should work for you with some
finessing.

HTH,
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | He who spends a storm beneath a tree,   |
|  steve@lobefin.net             | takes life with a grain of TNT.         |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: pgpQ9cxyXCDab.pgp
Description: PGP signature