From alsa-devel-owner@alsa.jcu.cz  Tue Nov 24 08:44:28 1998
Received: from cask.force9.net (cask.force9.net [195.166.128.29])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id IAA18362
	for <alsa-devel@jcu.cz>; Tue, 24 Nov 1998 08:43:53 +0100
Message-Id: <199811240743.IAA18362@marvin.jcu.cz>
Received: (qmail 8807 invoked from network); 24 Nov 1998 06:46:00 -0000
Received: from relay2.force9.net (195.166.128.25)
  by cask.force9.net with SMTP; 24 Nov 1998 06:46:00 -0000
Received: (qmail 4901 invoked from network); 24 Nov 1998 06:38:53 -0000
Received: from 37.usr01.shef.dialup.force9.net (HELO downstairs) (195.166.132.37)
  by relay2.force9.net with SMTP; 24 Nov 1998 06:38:53 -0000
From: "John Butler" <john@sandy.force9.co.uk>
To: <alsa-devel@jcu.cz>
Subject: Re: 0.2.0 final status
Date: Mon, 23 Nov 1998 16:06:22 -0000
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Hi,

> checked out a fresh copy of cvs. did 'aclocal; automake; autoconf').
> first, automake complains about some files not found. not fatal (at
> least the first four):

> automake: Makefile.am: required file `./INSTALL' not found
> automake: Makefile.am: required file `./NEWS' not found
> automake: Makefile.am: required file `./README' not found
> automake: Makefile.am: required file `./AUTHORS' not found

You need to run "automake --foreign" instead of simply "automake"

> configure.in: 31: required file `include/version.h.in' not found

I think Jaroslav and I have got mixed up. I added code to generate it to
the makefile, he added it to configure.in

The trouble with Jaroslav's way is that when the config.status file
changes, the version.h will be remade, and all files depending on this will
need to be re-made also. Te way I did it checks if it has changed and only
updates it if it has.

> run autoconf, another warning:
> configure.in:22: warning: AC_TRY_RUN called without default to allow
cross compiling

This is normal, it's from the AC_BIG_ENDIAN test. IIRC, it only falls on
this solution if it can't find out another way.

> and then when i tried to compile the package i get:
> 
> Making all in doc
> make[1]: Entering directory `/home/romosan/alsadriver/alsa-lib/doc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/romosan/alsadriver/alsa-lib/doc'
> Making all in include
> make[1]: Entering directory `/home/romosan/alsadriver/alsa-lib/include'
> Makefile:251: warning: overriding commands for target `version.h'
> Makefile:131: warning: ignoring old commands for target `version.h'
> Makefile:263: *** missing separator.  Stop.
> make[1]: Leaving directory `/home/romosan/alsadriver/alsa-lib/include'
> make: *** [all-recursive] Error 1

This is happening because the rule for version.h put in by automake is
conflicting with the one I put in.

> i think alsa-lib is missing "include/version.h.in". maybe you forgot
> to add it to the cvs repository?

If Jaroslav goes with the way I've added, this can be removed, and
version.h removed from AC_OUTPUT. Otherwise, he needs to remove the rules
from include/Makefile.am

--
Chris <chrisb@sandy.force9.co.uk>

