avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #25804] configure script does not abort if flex/lex i


From: Dan Ståhlberg
Subject: [avrdude-dev] [bug #25804] configure script does not abort if flex/lex is missing
Date: Mon, 09 Mar 2009 21:28:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6

URL:
  <http://savannah.nongnu.org/bugs/?25804>

                 Summary: configure script does not abort if flex/lex is
missing
                 Project: AVR Downloader/UploaDEr
            Submitted by: stahlberg
            Submitted on: Mon 09 Mar 2009 09:28:49 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Dan Ståhlberg
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

On SUSE 11.1, logged in as root, using BASH-3.2.

Downloaded and extracted AVRDUDE-5.6.

The configure script reports that flex/lex is missing but does not abort.
This is easy to miss.

checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... bison -y
*checking for flex... no*
*checking for lex... no*
checking for ranlib... ranlib
checking for tputs in -ltermcap... no
checking for tputs in -lncurses... yes
checking for readline in -lreadline... yes

Running make afterwards gives an error that is hard to figure out:

sed '/^#/ s|y\.tab\.c|config_gram.c|' y.tab.c >config_gram.ct && mv
config_gram.ct config_gram.c
rm -f y.tab.c
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_DIR=\"/usr/local/etc\"  -Wall -g
-O2 -MT libavrdude_a-config_gram.o -MD -MP -MF
".deps/libavrdude_a-config_gram.Tpo" -c -o libavrdude_a-config_gram.o `test -f
'config_gram.c' || echo './'`config_gram.c; \
   then mv -f ".deps/libavrdude_a-config_gram.Tpo"
".deps/libavrdude_a-config_gram.Po"; else rm -f
".deps/libavrdude_a-config_gram.Tpo"; exit 1; fi
config_gram.y: In function ‘parse_cmdbits’:
config_gram.y:1373: warning: ‘brkt’ may be used uninitialized in this
function
:   lexer.l
sed '/^#/ s|\.c|lexer.c|' .c >lexer.c
*sed: can't read .c: No such file or directory*
*make[2]: *** [lexer.c] Error 2*
make[2]: Leaving directory `/root/avrdude-5.6'




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?25804>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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