[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: amhello build prob
From: |
Ralf Wildenhues |
Subject: |
Re: amhello build prob |
Date: |
Sat, 28 Oct 2006 01:48:23 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Second try.
* Patrick Welche wrote on Wed, Oct 25, 2006 at 07:44:21PM CEST:
> ...
> Making all in doc
> gmake[1]: Entering directory `/usr/src/local/automake/doc'
> ...
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> make: don't know how to make w. Stop
>
> make: stopped in /usr/src/local/automake/doc/amhello
> gmake[1]: *** [amhello-1.0.tar.gz] Error 2
First, please try
gmake --no-print-directory
which should work. Then, please make the amhello example dirty again:
rm doc/amhello-1.0.tar.gz
and try plain
make
which should work unless you use Solaris 2.6 make and also attempt a
VPATH build. Then, again
rm doc/amhello-1.0.tar.gz
then apply the patch below, then build with plain
gmake
which should now finally work, too.
Thanks,
Ralf
2006-10-28 Ralf Wildenhues <address@hidden>
* doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
amhello, to prevent gmake from invoking make with MAKEFLAGS
it does not understand.
Report by Patrick Welche.
Index: doc/Makefile.am
===================================================================
RCS file: /cvs/automake/automake/doc/Makefile.am,v
retrieving revision 1.4
diff -u -r1.4 Makefile.am
--- doc/Makefile.am 19 Aug 2006 13:28:25 -0000 1.4
+++ doc/Makefile.am 27 Oct 2006 23:45:44 -0000
@@ -59,7 +59,7 @@
ACLOCAL=aclocal-$(APIVERSION) AUTOMAKE=automake-$(APIVERSION) \
autoreconf -vfi && \
./configure && \
- make distcheck && \
- make distclean && \
+ $(MAKE) $(AM_MAKEFLAGS) distcheck && \
+ $(MAKE) $(AM_MAKEFLAGS) distclean && \
rm -rf $(amhello_configury) && \
mv amhello-1.0.tar.gz ..