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

Re: gEDA-dev: [PCB] bugreport: configure vs flex/bison



Igor2 wrote:
> Hi Dan,
> 
> Today I made more experiments, installing and removing bison and flex. The
> bug which I could reproduce:
> 1. run ./configure without having bison/flex, at the end it will say
> everything was fine (altough it detects missing yacc and lex);
> 2. run make and find out that you don't have yacc
> 3. install yacc and lex
> 4. run make again
> 5. ylwrap will fail silently



> However if bison and flex are installed before I run ./configure,
> everything works.

ah.  This makes sense now.  In general if ./configure fails to find 
something and you then install that something, you have to install 
./configure again.

> For me it seems that missing yacc is not critical for ./configure while it
> should be: maybe the 'expected' behaviour should be that configure fails
> on missing yacc/lex the same way as it fails for missing libs.

I checked in a change last night so the configure script should fail 
with an error in the event that either yacc or lex are not found. 
Hopefully that will address your problems.  I don't quite understand why 
AC_PROG_LEX and AC_PROG_YACC didn't already do this.

-Dan


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev