Re: [AM-1.4] make distclean tries to build objects

2006-06-13 Thread Stepan Kasal
Hello,

 What can one say about this? I don't get it.

I'm afraid your mail does not contain enough information for any
reasonable answer.
Can the project be downloaded somewhere?
Could you post gui/Makefile.am?
Which version of Automake was used?

Stepan




Re: [AM-1.4] make distclean tries to build objects

2006-06-13 Thread Gary V. Vaughan
Hi Daniel,

Daniel Haude wrote:
 What can one say about this? I don't get it.
 
 Thanks,
 --Daniel
 
 
 [EMAIL PROTECTED]:~/Projects/ctops$ make distclean
 Making distclean in .
 make[1]: Entering directory `/home/dh/Projects/ctops'
 rm -f config.h
 rm -f TAGS ID
 rm -f Makefile
 rm -f config.cache config.log stamp-h stamp-h[0-9]*
 make[1]: Leaving directory `/home/dh/Projects/ctops'
 Making distclean in gui
 make[1]: Entering directory `/home/dh/Projects/ctops/gui'
 gcc -DHAVE_CONFIG_H -I. -I. -I..
 -DPACKAGE_DATA_DIR=\/usr/local/share\
 -DPACKAGE_LOCALE_DIR=\/usr/local//locale\-DXTHREADS
 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
 -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I../tops  
 -W -Wall -ansi -pedantic -g -g -O2 -c refine.c
 In file included from refine.c:7:
 support.h:6:22: config.h: No such file or directory
 make[1]: *** [refine.o] Error 1
 make[1]: Leaving directory `/home/dh/Projects/ctops/gui'
 make: *** [distclean-recursive] Error 1
 [EMAIL PROTECTED]:~/Projects/ctops$
 [EMAIL PROTECTED]

From automake.info(Recursing subdirectories);

  By default, Automake generates `Makefiles' which work depth-first
  (`postfix').  However, it is possible to change this ordering.  You can
  do this by putting `.' into `SUBDIRS'.  For instance, putting `.'
  first will cause a `prefix' ordering of directories.  All `clean'
  targets are run in reverse order of build targets.

I don't recall whether ancient automake supports the `.' option in SUBDIRS.
Probably not.  You are fighting against all the bugs and misfeatures that
have been fixed over the last five years of automake development if you
insist on staying with automake-1.4 (I branched for the 1.4px series in
early 2001).

HTH,
Gary.
-- 
Gary V. Vaughan  ())_.  [EMAIL PROTECTED],gnu.org}
Research Scientist   ( '/   http://blog.azazil.net
GNU Hacker   / )=   http://trac.azazil.net/projects/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook



signature.asc
Description: OpenPGP digital signature


Re: [AM-1.4] make distclean tries to build objects

2006-06-13 Thread Daniel Haude

On Tue, 13 Jun 2006 17:08:58 +0200, Gary V. Vaughan [EMAIL PROTECTED] wrote:


Probably not.  You are fighting against all the bugs and misfeatures that
have been fixed over the last five years of automake development if you
insist on staying with automake-1.4 (I branched for the 1.4px series in
early 2001).


Not only that -- the problems i had were actually caused by my
involuntarily using a mixture of 1.4 and 1.9. The reason I started in 1.4
in the first place was that this is a project using Glade-2 (a gtk
GUI builder) which generates automake-1.4 files. My migration to 1.9
seems to have only worked half way throgh. I've now written everything
from scratch for 1.9 and all works fine.

Thanks,
--Daniel




Re: recommendation for GNU make

2006-06-13 Thread Paul Eggert
Ralf Wildenhues [EMAIL PROTECTED] writes:

   * doc/install.texi (Compilers and Options): Weaken the
   suggestion to use GNU make for VPATH builds.

Thanks, I installed that.