Failing build from subversion repository

I obtained a subversion copy of libsmi, and try to build it (on two machines), I get the following:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT parser-smi.lo -MD -MP -MF .deps/parser-smi.Tpo -c parser-smi.c -o parser-smi.o >/dev/null 2>&1 make[2]: *** No rule to make target `parser-smi.tab.h', needed by `scanner-smi.c'. Stop. make[2]: Leaving directory `/u01/home/kdart/src/libsmi/trunk/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/u01/home/kdart/src/libsmi/trunk' make: *** [all] Error 2
But I have flex and bison:
403 !$ bison --version bison (GNU Bison) 1.875
404 $ flex --version flex version 2.5.4
It looks like the Makefile does not include a rule for this, after all.
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith Dart kdart@kdart.com public key: ID: F3D288E4 =====================================================================

Hi Keith!
Sorry for the *very* late reply. I guess there is no excuse. Your mail must have slipped through somehow ...
Keith Dart wrote:
I obtained a subversion copy of libsmi, and try to build it (on two machines), I get the following:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT parser-smi.lo -MD -MP -MF .deps/parser-smi.Tpo -c parser-smi.c -o parser-smi.o >/dev/null 2>&1 make[2]: *** No rule to make target `parser-smi.tab.h', needed by `scanner-smi.c'. Stop. make[2]: Leaving directory `/u01/home/kdart/src/libsmi/trunk/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/u01/home/kdart/src/libsmi/trunk' make: *** [all] Error 2
But I have flex and bison:
403 !$ bison --version bison (GNU Bison) 1.875
404 $ flex --version flex version 2.5.4
It looks like the Makefile does not include a rule for this, after all.
Thanks! You are absolutely right. I commited a modified Makefile.am to the svn repository.
Best regards, Torsten
participants (2)
-
Keith Dart
-
Torsten Klie