Re: Newbie compilation problem: "parsdate.y: not found"
Urs Janßen <[email protected]>
| Newsgroups | gmane.network.tin.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Nov 21, 2003 at 07:22:57PM -0800, [email protected] wrote: > Hi, all - > > I'm trying to compile tin 1.5.8 under cygwin, but when I run the current stable version is tin 1.6.2 > expect 6 shift/reduce conflicts... > ./parsdate.y > ./parsdate.y: not found > make: *** [parsdate.o] Error 127 you dont have a YACC-parser installed (i.e. yacc or byacc or bison), but configure should have told you that and issed a warning. so either go and get a YACC-parser (or copy parsdate.c from the vms-subdir into the src-dir and tweak the makefile). > I am a novice to the whole cygwin environment, tin, and *nix (but > not command lines!) in general. But I cannot understand why the > make command is claiming it cannot find the file which is clearly > present and valid in the src directory. cause it tries to invoke "$YACC ./parsdate.y" with $YSACC set to the insatted yacc-parser, but in your case $YACC is empty so it tries to invoke ./parsdate.y which is no executable... > I saw another thread in this group that implied that one needs > something called 'yacc' to be installed, and I don't recall ever right > installing it, but it doesn't look to me like it's even getting > that far. Would the "parsdate.y: not found" error be appropriate it does, you need to install yacc, yacc will transform the grammer described in parsdate.y into code which then will be compiled. > if, in fact, parsdate.y is present but the interpreter isn't? the "interprete" would be yacc (or bison or byacc), but you do not ahve it on your system (configure should have detected that and issue a warning). install yacc and reconfigure. urs -- "Only whimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it ;)" - Linus