Re: AMDEP does not appear in AM_CONDITIONAL

2002-08-31 Thread Tom Tromey

  == Olefirenko Alexander [EMAIL PROTECTED] writes:

 Subj: what am i doing wrong ?
 executing automake i getting alot of messages:
 /usr/share/automake/am/lang-compile.am: AMDEP does not appear in 
 AM_CONDITIONAL
 and 
 /usr/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL

My first guess is that you didn't run aclocal.
If it isn't that then I'd need more information.
For instance, what versions of auto* are you using?

Tom





AMDEP does not appear in AM_CONDITIONAL

2002-08-28 Thread Olefirenko Alexander

Subj: what am i doing wrong ?
executing automake i getting alot of messages:
/usr/share/automake/am/lang-compile.am: AMDEP does not appear in 
AM_CONDITIONAL
and 
/usr/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL







Re: Problems with AMDEP does not appear in AM_CONDITIONAL

2001-10-15 Thread Adam Tee

On Friday 12 Oct 2001 12:41 pm, you wrote:
  Adam == Adam Tee [EMAIL PROTECTED] writes:

  Adam Hi all,
  Adam I've just upgraded my machine to use automake 1.5 and autoconf 2.5
  Adam and am having problems with the automake and autoconf process.
  Adam I get the following messages:

  Adam /usr/share/automake/am/depend2.am: AMDEP does not appear
  Adam in AM_CONDITIONAL

 Did you run 'aclocal' before running 'automake'?  You should :)

Yes, I did and no joy I still get the same errors.
When I do autoconf I don't get any errors but with autoreconf I do.

When I run make I get the following error:

make[1]: Entering directory `/home/eenajt/Simulation'
Making all in src
make[2]: Entering directory `/home/eenajt/Simulation/src'
Makefile:207: *** missing separator.  Stop.
make[2]: Leaving directory `/home/eenajt/Simulation/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eenajt/Simulation'
make: *** [all] Error 2

In the Makefile the lines are

..
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/cleanlexer.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/cleanparser.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/kbar.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/kbeat.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/knote.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/kscore.Po@am__quote@
etc
...



Adam




Re: Problems with AMDEP does not appear in AM_CONDITIONAL

2001-10-15 Thread Adam Tee

On Monday 15 Oct 2001 1:03 pm, you wrote:
 On Friday 12 Oct 2001 12:41 pm, you wrote:
   Adam == Adam Tee [EMAIL PROTECTED] writes:
 
   Adam Hi all,
   Adam I've just upgraded my machine to use automake 1.5 and autoconf 2.5
   Adam and am having problems with the automake and autoconf process.
   Adam I get the following messages:
 
   Adam /usr/share/automake/am/depend2.am: AMDEP does not appear
   Adam in AM_CONDITIONAL
 
  Did you run 'aclocal' before running 'automake'?  You should :)

 Yes, I did and no joy I still get the same errors.
 When I do autoconf I don't get any errors but with autoreconf I do.

Apologies,  I've solved the problem by deleting the stale Makefile and 
Makefile.in,   running aclocal and autoreconf.

Adam




Re: Problems with AMDEP does not appear in AM_CONDITIONAL

2001-10-12 Thread Robert Collins

Have you run aclocal ?

Rob
- Original Message -
From: Adam Tee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 12, 2001 6:47 PM
Subject: Problems with AMDEP does not appear in AM_CONDITIONAL


 Hi all,

 I've just upgraded my machine to use automake 1.5 and autoconf 2.5
 and am having problems with the automake and autoconf process.
 I get the following messages:

 /usr/share/automake/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
 /usr/share/automake/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
 /usr/share/automake/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
 /usr/share/automake/am/lang-compile.am: AMDEP does not appear in
 AM_CONDITIONAL

 The toplevel makefile.am is as follows:

 SUBDIRS = src macros TestCode

 and the configure.in is

 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(src/kscore.cc)


 AM_CONFIG_HEADER(config.h)
 AC_CANONICAL_SYSTEM
 AM_INIT_AUTOMAKE(Simulation, 0.2.6)

 dnl Checks for programs.
 #AM_ACLOCAL_INCLUDE(macros)

 AC_PROG_CC
 AC_PROG_CPP
 AC_PROG_CXX
 AM_PROG_LEX
 AC_PROG_YACC

 dnl Checks for libraries.
 #AM_PATH_GTK(1.2.0, [LIBS=$LIBS $GTK_LIBS
 #   CFLAGS=$CFLAGS $GTK_CFLAGS
 #   LDFLAGS=$LDFLAGS $GTK_LDFLAGS],
 #   AC_MSG_ERROR(Cannot find GTK: Is gtk-config in
path?))
  #AM_PATH_SIGC(1.0.0,,
 #AC_MSG_ERROR(Cannot find libsigc++ = 1.0.0))
 #AM_PATH_GTKMM(1.2.0,,
 #   AC_MSG_ERROR(Cannot find GTK-- = 1.2.0))

 #AM_PATH_GTKEXTRA(0.99.13, [LIBS=$LIBS $GTK_EXTRA_LIBS
 #   CFLAGS=$CFLAGS $GTK_EXTRA_CFLAGS],
 #   AC_MSG_ERROR(Cannot find GTK+Extra: Is
 #gtkextra-config in path?))

 CXXFLAGS=$CFLAGS -g -Wall -O2

 dnl Checks for header files.

 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST

 dnl Checks for library functions.
 AC_SUBST(CFLAGS)
 AC_SUBST(CPPFLAGS)
 AC_SUBST(LDFLAGS)

 AC_OUTPUT([Makefile src/Makefile macros/Makefile TestCode/Makefile])

 Other projects that I have do not have this problem.


 Adam








Re: Problems with AMDEP does not appear in AM_CONDITIONAL

2001-10-12 Thread Adam Tee

On Friday 12 Oct 2001 11:40 am, you wrote:
 Have you run aclocal ?

yes, but still the error messages occur.

Adam