[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: Need help compiling Noteedit 1.17.1
From:       Joerg Anders <j.anders () informatik ! tu-chemnitz ! de>
Date:       2002-03-14 9:49:27
[Download RAW message or body]

On Wed, 13 Mar 2002, Achim Lehmkuhl wrote:

> Am Mittwoch, 13. März 2002 22:44 schrieb Bendt Vinge Rasmussen:
> > When I try to compile Noteedit 1.17.1 on my LFS-linux-system(kernel 2.4.17)
> > I get the following error:
> >
> >
> > /bin/sh ../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I.
> > -I.. -I/opt/kde2//include -I/usr/lib/qt2/include -I/usr/X11R6/include
> > -I/usr/include  -I/usr/src/anthem-0.0.13/    -ansi -D_XOPEN_SOURCE=500
> > -D_BSD_SOURCE -O2 -fno-exceptions -fno-check-new  -DYYLINENO=NEDITlineno
> > -DYYRESTART=NEDITrestart -DYYPARSE=NEDITparse -DYYLVAL=NEDITlval -c
> > lexik.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde2//include
> > -I/usr/lib/qt2/include -I/usr/X11R6/include -I/usr/include
> > -I/usr/src/anthem-0.0.13/ -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2
> > -fno-exceptions -fno-check-new -DYYLINENO=NEDITlineno
> > -DYYRESTART=NEDITrestart -DYYPARSE=NEDITparse -DYYLVAL=NEDITlval -c
> > lexik.cc  -fPIC -DPIC -o .libs/lexik.o
> > lexik.ll:28: grammar.h: No such file or directory
> > make[3]: *** [lexik.lo] Error 1
> > make[3]: Leaving directory `/usr/src/noteedit-1.17.1/noteedit'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/usr/src/noteedit-1.17.1/noteedit'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/noteedit-1.17.1'
> > make: *** [all-recursive-am] Error 2
> >
> > The file "grammar.yy" is in the noteedit directory.
> > I have bison installed on my system.
> 
> Hi Bendt!
> Do you have all required packages to compile Noteedit?
> 

I'm afraid there is a different problem. Interesting are the
lines immediately before this problem. The missing file
"grammar.h" should be produced by "bison" and by renaming
the bison product: "y.tab.h" into "grammar.h":

  bison -yd  -pNEDIT grammar.yy
  sed '/extern *char *\*getenv *( *) *;/d' y.tab.c > grammar.cc
  rm y.tab.c
  if test -f y.tab.h; then \
  if cmp -s y.tab.h grammar.h; then rm -f y.tab.h; else mv y.tab.h grammar.h; fi; \
  else :; fi

Please send me the lines from "bison" instruction on!


-- 
J.Anders, Chemnitz, GERMANY (ja@informatik.tu-chemnitz.de)

_______________________________________________
kde-multimedia mailing list
kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic