bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Internal Error with 1.10, unterminated IF


From: Jason Curl
Subject: Internal Error with 1.10, unterminated IF
Date: Mon, 30 Jul 2007 16:06:44 +0200 (CEST)

Hello maintainers,

I'd just like to report a failure that was generated on Cygwin with Automake 
1.10. The problem is not so much with Automake, but my Makefile.am, however, 
perhaps Automake should say it's a problem with the Makefile.am instead of its 
own files?

I changed (fi -> endif and it worked as expected)

For example:

Makefile.am
  FILES = dir1 dir2
  if BUILD_DIR3
  FILES += dir3
  fi
  SUBDIRS = $(FILES)

Then you get an error output like:
Makefile.am:19: unterminated conditionals: BUILD_DIR3_TRUE
automake-1.10: ####################
automake-1.10: ## Internal Error ##
automake-1.10: ####################
automake-1.10: undefined condition `TRUE' for `RECURSIVE_TARGETS'
automake-1.10: RECURSIVE_TARGETS:
automake-1.10:   {
automake-1.10:     BUILD_DIR3 => {
automake-1.10:       type: +=
automake-1.10:       where: /usr/share/automake-1.10/am/texinfos.am:
automake-1.10:       comment:
automake-1.10:       value: dvi-recursive html-recursive info-recursive 
pdf-recursive ps-recursive \
automake-1.10:   install-dvi-recursive \
automake-1.10:   install-html-recursive \
automake-1.10:   install-info-recursive \
automake-1.10:   install-pdf-recursive \
automake-1.10:   install-ps-recursive all-recursive check-recursive 
installcheck-recursive
automake-1.10:       owner: Automake
automake-1.10:     }
automake-1.10:   }
automake-1.10:
automake-1.10: Please contact <address@hidden>.
 at /usr/share/automake-1.10/Automake/Channels.pm line 570
        Automake::Channels::msg('automake', '', 'undefined condition `TRUE\' 
for `RECURSIVE_TARGETS\'\x{a}RECURSIV...') called at /u
sr/share/automake-1.10/Automake/ChannelDefs.pm line 191
        Automake::ChannelDefs::prog_error('undefined condition `TRUE\' for 
`RECURSIVE_TARGETS\'\x{a}RECURSIV...') called at /usr/sha
re/automake-1.10/Automake/Item.pm line 96
        Automake::Item::rdef('Automake::Variable=HASH(0x10533660)', 
'Automake::Condition=HASH(0x1023e7b0)') called at /usr/bin/autom
ake-1.10 line 3766
        Automake::handle_subdirs() called at /usr/bin/automake-1.10 line 7486
        Automake::generate_makefile('utils/Makefile.am', 'utils/Makefile.in') 
called at /usr/bin/automake-1.10 line 7834
autoreconf-2.61: automake failed with exit status: 2


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER
Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket
für clevere Doppel-Sparer, nur  34,95 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]