Ethereal-dev: Re: [Ethereal-dev] build broken for $srcdir != $builddir

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Bernd Becker <bb@xxxxxxxxxxxxxxx>
Date: Mon, 21 Jan 2002 10:43:19 +0100
Hi Tim,

I get the message
packaging/rpm/Makefile.am:1: required directory packaging/rpm/SPECS does not exist
from autogen.sh.

I think the problem is the following:
Gerald created a new directory packaging/rpm/SPECS in CVS.
If you are updating you working copy with "cvs update" or
"cvs update -P" only, the new directory won't be created.
You need to call "cvs update" with the "-d" option and it will
get the SPECS directory and the files therein.

Maybe a hint could be added in
http://www.ethereal.com/development.html#anoncvs
about this?


--On Montag, Januar 21, 2002 17:11:45 +1100 Tim Potter <tpot@xxxxxxxxx> wrote:

Hi everyone.  Ethereal seems to be broken for the case where
the source directory is not the same as the build directory:

Making all in packaging
make[2]: Entering directory `/data/work/ethereal/build/packaging'
Making all in rpm
make[3]: Entering directory `/data/work/ethereal/build/packaging/rpm'
Making all in SPECS
/bin/sh: cd: SPECS: No such file or directory

I'm sure there is a one line fix for this but it escapes my meagre
autoconf skills at the moment.


Tim.