rayantony / linux-track

Automatically exported from code.google.com/p/linux-track
MIT License
0 stars 0 forks source link

configure doesn't test for yacc #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Don't install yacc/bison on your system
2. ./configure
3. make
4. Watch compile fail on missing yacc

This is on latest SVN.

Original issue reported on code.google.com by k04j...@gmail.com on 20 Feb 2014 at 3:56

GoogleCodeExporter commented 9 years ago
Hi,
you are right; unfortunately it seems to be the default behavior of the macro I 
use (AC_PROG_YACC).
I'll try and add explicit check for bison...
Thank you for the report!
Kind regards,

Michal

PS. I found this:
If AC_PROG_YACC set YACC to 'bison -y', then 'bison' is on PATH.  Only
if $YACC ends up as 'yacc' do you run the risk that AC_PROG_YACC didn't
find anything.  But since 'yacc' is required to be on all POSIX-y
systems and is listed as one of the portable programs that the GNU
Coding Standards states that you can assume to exist, this shouldn't
matter in practice.

Original comment by f.jo...@email.cz on 20 Feb 2014 at 8:21

GoogleCodeExporter commented 9 years ago
Weird, it's definitely not on Ubuntu by default and doesn't come in the 
build-essential package.

Original comment by k04j...@gmail.com on 20 Feb 2014 at 10:40

GoogleCodeExporter commented 9 years ago
I know, I haven't found it in base packages either.
Anyway, I'm working on a explicit test for bison; will check it in when I get 
home.
Kind regards,

Michal

Original comment by f.jo...@email.cz on 21 Feb 2014 at 6:32

GoogleCodeExporter commented 9 years ago
Hello,
I just checked-in the test for bison (rev798).
I'm going to close this issue now; should you run into this problem again, 
please reopen it or file a new one...
Thank you for your help,

Michal

Original comment by f.jo...@email.cz on 21 Feb 2014 at 9:16