Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bd5c3d824c3db63ffd9226c15941e6ad > files > 1436

mozart-1.4.0-1mdv2010.0.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>5 Compiling on Unix</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node4.html#chapter.src.get">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node6.html#chapter.src.cygwin">Next &gt;&gt;</A></TD></TR></TABLE><DIV id="chapter.src.make"><H1><A name="chapter.src.make">5 Compiling on Unix</A></H1><P>Now, you need to decide where you are going to build the system. Let us assume that the Mozart sources are in <CODE>~/mozart</CODE>. We recommend that you then create a separate build directory; for example, on a Linux system you might call it <CODE>~/mozart-linux</CODE>. Then, from that directory you should invoke the <CODE>configure</CODE> file from the Mozart source distribution. </P><BLOCKQUOTE class="code"><CODE>%&nbsp;mkdir&nbsp;~/mozart-linux<BR>%&nbsp;cd&nbsp;~/mozart-linux<BR>%&nbsp;~/mozart/configure</CODE></BLOCKQUOTE><P> The configure script takes a long time to run and prints out a lot of information. If you are lucky, the script completes successfully and you can proceed directly with compilation: </P><BLOCKQUOTE class="code"><CODE>%&nbsp;make</CODE></BLOCKQUOTE><P> Often, however, the configure script will fail and print out a message explaining what went wrong and possibly how to fix it. Most frequently the problem is either that (1) a library, tool, or include file cannot be found, (2) or the installed version is too old. There are many shell variables and command line options that can be used to parametrize the configuration process. See <A href="node12.html#chapter.src.configure">Chapter&nbsp;7</A> for their description.</P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node4.html#chapter.src.get">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node6.html#chapter.src.cygwin">Next &gt;&gt;</A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~duchier/">Denys&nbsp;Duchier</A>, <A href="http://www.ps.uni-sb.de/~kornstae/">Leif&nbsp;Kornstaedt</A>, <A href="http://www.ps.uni-sb.de/~scheidhr/">Ralf&nbsp;Scheidhauer</A> and&nbsp;<A href="http://www.ps.uni-sb.de/~schulte/">Christian&nbsp;Schulte</A><BR><SPAN class="version">Version 1.4.0 (20090610)</SPAN></ADDRESS></BODY></HTML>