This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: "Jeremy Keen" <address@hidden> >Organization: Ensco, Inc. >Keywords: 200503011603.j21G39S8021981 LDM configure yacc Jeremy, >Institution: Ensco Inc >Package Version: 6.2.1 >Operating System: Mandrakelinux 10.1 >Hardware Information: hp pavilion ze5000 >Inquiry: When running the ./configure it couldn't finish because of >some yacc. What is this yacc? 'yacc' stands for yet another compiler compiler. Here is the first part of the description of yacc from its man page under AIX 5.1: DESCRIPTION The yacc command converts a context-free grammar into a set of tables for a simple automaton that executes an LALR(1) parsing algorithm. The grammar may be ambiguous; specified precedence rules are used to break ambiguities. The output file, y.tab.c, must be compiled by the C compiler to produce a function yyparse(). This program must be loaded with the lexical analyzer program, yylex(), as well as main() and yyerror(), an error handling routine. These routines must be supplied by the user; the lex(1) command is useful for creating lexical analyzers usable by yacc. >I have installed LDM several times >before on linux 9.3 and less and haven't had any problems. This would indicate that when the 9.3 OS was installed, it was done specifying a full development environment. Apparently, your Mandrake 10.1 installation was not done specifying that you wanted a full development environment. The simplest thing to do is figure out which RPM (I believe that Mandrake uses RPMs; please correct me if I am incorrect) contains yacc and then install it (as 'root'). >Of course >this time I am installing it under a different user then ldm. The user name shouldn't make a difference _unless_ the PATH for the user does not include the directories containing the tools needed for the build. As the user your are trying to install LDM under, use the 'locate' command to see if yacc can be found: locate yacc If it can be found, it means that your PATH is incomplete. At this point simply update your PATH, remove files created by the 'configure' script and then start your LDM build from scratch. This process should not take more than a couple of minutes. >Any suggestions would be greatly appreciated. Thanks. Please see comments above. Cheers, Tom Yoksas -- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us. >From address@hidden Tue Mar 1 12:04:21 2005 Thanks I found a yacc rpm for mandrake and I also had to down load the flex rpm for the make portion of ldm. It is up and running fine. The information contained in this email message is intended only for the use of the individuals to whom it is addressed and may contain information that is privileged and sensitive. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by email at the above referenced address. Thank you.