Texino build problem

Raja R Harinath harinath@cs.umn.edu
Thu Apr 2 11:32:00 GMT 1998


Manfred Hollstein <manfred@s-direktnet.de> writes:
> On Thu, 26 March 1998, 17:16:47, mmitchell@usa.net wrote:
>     On mips-sgi-irix6.4 I now get:
>     
>       make[3]: Entering directory `/pooma/mitchell/egcs/objdir/texinfo/lib'
>       make[3]: *** No rule to make target `-c', needed by `all'.  Stop.
>     
>     Indeed, it looks like:
>     
>       all: Makefile $(LIBRARIES) $(DATA)
>     
>       DATA =  $(INSTALL_DATA)
>       INSTALL_DATA = ${INSTALL} -m 644
>       INSTALL = ../../../texinfo/../install-sh -c
>     
>     Does anyone comprehend this situation?
> 
> Yep, I do. Makefile.in is now a generated file which depends on
> 
>   Makefile.in -> { Makefile.am, configure.in, aclocal.m4}
> 
> We now have to remember, that we need to rebuild the various
> Makefile.in files after changing configure.in (this unfortunately
> needs automake-1.2f, which I  don't know where to get from. Jeff, do
> you know?). You obviously are having automake-1.2e installed (as I do,
> too), which generates these broken Makefile.in's.

Nope.  Automake 1.2h isn't of any help, and unless things are very
different, Automake 1.2f wouldn't be either.  The problem caused by the
replacement of `AC_PROG_INSTALL' with `EGCS_PROG_INSTALL'.  `automake'
knows `AC_PROG_INSTALL' defines a special var called `INSTALL_DATA', but
it doesn't know that EGCS_PROG_INSTALL does too.  `automake' also
matches any *_DATA variables, and generates a Makefile that tries to
install the files listed in those variables.

One fix would be (I haven't tested this) to either rename
EGCS_PROG_INSTALL in acinclude.m4 to AC_PROG_INSTALL, or say

	AC_DEFINE([AC_PROG_INSTALL],[EGCS_PROG_INSTALL])

in acinclude.m4.

BTW, automake-1.2[fh] can be found at ftp://ftp.cygnus.com/pub/home/tromey .
 
> The current sources in CVS look consistent with only timestamp
> problems. The following command should do the trick (it did it for me):
> 
> $ cd egcs/texinfo
> $ touch `find . -name Makefile.in -print`
> 
> If configure is out of date, you need to execute the following
> commands in between the two:
> 
> $ mv configure configure.orig
> $ autoconf
> $ touch --file=configure.orig configure
> $ autoheader
> $ touch --file=configure config.h.in

That should work.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



More information about the Gcc mailing list