On Fri, 6 Oct 2000, Garst R. Reese wrote:
> Allan Rae wrote:
> >
> > On Thu, 5 Oct 2000, Kayvan A. Sylvan wrote:
> >
> > > > Making all in intl
> > > > make[2]: Entering directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/intl'
> > > > make[2]: Nothing to be done for `all'.
> > > > make[2]: Leaving directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/intl'
> > > > Making all in po
> > > > make[2]: Entering directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/po'
> > > > make[2]: *** No rule to make target `../../src/buffer.C', needed by `lyx.pot'.
> Stop.
> > > > make[2]: Leaving directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/po'
> > > > make[1]: *** [all-recursive] Error 1
> > > > make[1]: Leaving directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs'
> > > > Bad exit status from /var/tmp/rpm-tmp.46255 (%build)
> > > > make: *** [rpmdist] Error 1
> > > > ****
> > > > BUILD FAILED: lyx rpm
> > > > ****
> > >
> > > Please fix.
> >
> > This looks like a problem I had early on in testing my POTFILES.in patch.
> > I did a make maintainer-clean and a make distcheck and it built fine.
> > Do you build in the same checked out directory all the time?
> >
> > The problem is that the rebuilding of Makefile is confused. For some
> > reason it hasn't rebuilt POTFILES from the updated POTFILES.in (I left
> > POTFILE.in in the repository to try to get around this by triggering a
> > rebuild of POTFILES but it doesn't look like it worked).
> >
> > Did you rerun autogen.sh at all?
> >
> > Allan. (ARRae)
> I did a make distclean, autogen.sh and it failed the same way.
> I disabled nls to get a compile.
> Yes I build in the same checked out directory all the time.
Okay the problem appears to be the change in POTFILES.in isn't causing the
POTFILES to be updated first. Instead make is trying to build lyx.pot
when it should be rebuilding Makefile. Actually it should have built
Makefile right in the first place -- for now you can just:
cd po
rm POTFILES
make POTFILES
cd -
make
and it should work (it does here). and I'll continue with trying to fix
the initial building of Makefile.
Allan. (ARRae)