bugAVR Downloader/UploaDEr - Bugs: bug #19897, configure checks for flex, does...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #19897: configure checks for flex, does not stop when none found

Submitter:  None
Submitted:  Fri 18 May 2007 07:47:36 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Matthias Trute
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Thu 02 Jul 2009 11:01:56 AM UTC, comment #1: 

Duplicate for bug #25804.  As the more recent bug report
already has some discussion, I'm closing this one as a
duplicate.

Joerg Wunsch <joerg_wunsch>
Group administrator
Fri 18 May 2007 07:47:36 AM UTC, original submission:  

avrdude 5.4 original tar file is used. The configure script
checks for flex, reports "no" but does not stop working. The
make run afterwards crashes.

from running configure:
------------
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
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 yywrap in -lfl... no
checking for yywrap in -ll... no
checking for ranlib... ranlib
checking for tputs in -ltermcap... no
-------------------------------------------

The last few lines of configure and the whole make
--------------------------------------------
config.status: creating avrdude.conf.tmp
config.status: creating ac_cfg.h
config.status: executing depfiles commands
mt@Durc:~/2/avrdude-5.4$ make
make  all-recursive
make[1]: Betrete Verzeichnis '/home/mt/2/avrdude-5.4'
make[2]: Betrete Verzeichnis '/home/mt/2/avrdude-5.4'
bison -y  -d config_gram.y
if test -f y.tab.h; then \
          to=`echo "config_gram_H" | sed \
                -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
                -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
          sed -e "/^#/!b" -e "s/Y_TAB_H/$to/g" -e "s|y\.tab\.h|config_gram.h|" \
            y.tab.h >config_gram.ht; \
          rm -f y.tab.h; \
          if cmp -s config_gram.ht config_gram.h; then \
            rm -f config_gram.ht ;\
          else \
            mv config_gram.ht config_gram.h; \
          fi; \
        fi
if test -f y.output; then \
          mv y.output config_gram.output; \
        fi
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
/bin/bash /home/mt/2/avrdude-5.4/missing --run flex   lexer.l
/home/mt/2/avrdude-5.4/missing: line 46: flex: command not found
WARNING: `flex' is missing on your system.  You should only need it if
         you modified a `.l' file.  You may need the `Flex' package
         in order for those modifications to take effect.  You can get
         `Flex' from any GNU archive site.
sed '/^#/ s|\.c|lexer.c|' .c >lexer.c
sed: kann .c nicht lesen: No such file or directory
make[2]: * [lexer.c] Fehler 2
make[2]: Verlasse Verzeichnis '/home/mt/2/avrdude-5.4'
make[1]: * [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/mt/2/avrdude-5.4'
make: * [all] Fehler 2
mt@Durc:~/2/avrdude-5.4$
------------------------------------

System: Ubuntu Linux 7.04. installing flex solves the underlying
problem.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-07-02 joerg_wunsch StatusNone Duplicate
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-0329.
    Corresponding source code