1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 3<html> 4 <head> 5 <meta name="generator" content="HTML Tidy, see www.w3.org"> 6 <title>Compilation and Install</title> 7 <meta name="GENERATOR" content= 8 "Modular DocBook HTML Stylesheet Version 1.7"> 9 <link rel="HOME" title=" LPRng Reference Manual" href= 10 "index.htm"> 11 <link rel="UP" title="Installation" href="installation.htm"> 12 <link rel="PREVIOUS" title= 13 "Checking System Installation with checkpc" href="x926.htm"> 14 <link rel="NEXT" title="Installation Problems" href= 15 "x1000.htm"> 16 </head> 17 18 <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link= 19 "#0000FF" vlink="#840084" alink="#0000FF"> 20 <div class="NAVHEADER"> 21 <table summary="Header navigation table" width="100%" border= 22 "0" cellpadding="0" cellspacing="0"> 23 <tr> 24 <th colspan="3" align="center">LPRng Reference Manual: 5 25 Sep 2003 (For LPRng-3.8.22)</th> 26 </tr> 27 28 <tr> 29 <td width="10%" align="left" valign="bottom"><a href= 30 "x926.htm" accesskey="P">Prev</a></td> 31 32 <td width="80%" align="center" valign="bottom">Chapter 2. 33 Installation</td> 34 35 <td width="10%" align="right" valign="bottom"><a href= 36 "x1000.htm" accesskey="N">Next</a></td> 37 </tr> 38 </table> 39 <hr align="LEFT" width="100%"> 40 </div> 41 42 <div class="SECT1"> 43 <h1 class="SECT1"><a name="AEN962">2.8. Compilation and 44 Install</a></h1> 45 46 <p>Once you have decided on the configuration you want and 47 understand what files need to be installed, then you are 48 ready to do the install. It is extremely simple to extract 49 the files, configure, compile and install the software:</p> 50 51 <div class="INFORMALEXAMPLE"> 52 <a name="AEN965"></a> 53<pre class="SCREEN"> 54 <samp class="PROMPT">h4: {4} %</samp> <kbd class= 55"USERINPUT">gunzip -c LPRng-<version>.tgz | tar xvf -</kbd> 56 <samp class="PROMPT">h4: {5} %</samp> <kbd class= 57"USERINPUT">cd LPRng-<version></kbd> 58 <samp class="PROMPT">h4: {6} %</samp> <kbd class= 59"USERINPUT">./configure [ ... configuration options ]</kbd> 60 <samp class="PROMPT">h4: {7} %</samp> <kbd class= 61"USERINPUT">make clean all</kbd> 62 <samp class="PROMPT">h4: {8} %</samp> <kbd class= 63"USERINPUT">su # you must do the following commands as root</kbd> 64 <samp class="PROMPT">h4: {9} #</samp> <kbd class= 65"USERINPUT">make install</kbd> 66 <samp class="PROMPT">h4: {10} #</samp> <kbd class= 67"USERINPUT"># if checkpc did not run, do the next command</kbd> 68 <samp class="PROMPT">h4: {11} #</samp> <kbd class= 69"USERINPUT"># make sure checkpc and lpq are in your paths</kbd> 70 <samp class="PROMPT">h4: {12} #</samp> <kbd class= 71"USERINPUT"># if using CSH, use 'rehash' as well</kbd> 72 <samp class="PROMPT">h4: {13} #</samp> <kbd class= 73"USERINPUT">checkpc -f</kbd> 74 <samp class="PROMPT">h4: {14} #</samp> <kbd class= 75"USERINPUT"># check to see if the server is running</kbd> 76 <samp class="PROMPT">h4: {15} #</samp> <kbd class= 77"USERINPUT">lpq</kbd> 78</pre> 79 </div> 80 <br> 81 <br> 82 83 <p>During installation you may get an error message 84 indicating that the <b class="APPLICATION">lpd</b> file could 85 not be installed or the <b class="APPLICATION">lpd</b> server 86 could not be started. If this is the case, then carry out the 87 appropriate steps in <a href="update.htm">Updating Print 88 Spooler Software and Startup Scripts</a> to remove the 89 existing print spooling software and then try to reinstall <b 90 class="APPLICATION">LPRng</b>. You should also to check the 91 <a href="systemspecific.htm">System Specific Notes</a> 92 section for any system specific installation 93 requirements.</p> 94 95 <p>While the <b class="APPLICATION">LPRng</b> installation 96 scripts try hard to set up the <b class="APPLICATION">lpd</b> 97 server in place, you will still need to reboot your host and 98 make sure that the various printing facilities are working 99 correctly after reboot.</p> 100 </div> 101 102 <div class="NAVFOOTER"> 103 <hr align="LEFT" width="100%"> 104 105 <table summary="Footer navigation table" width="100%" border= 106 "0" cellpadding="0" cellspacing="0"> 107 <tr> 108 <td width="33%" align="left" valign="top"><a href= 109 "x926.htm" accesskey="P">Prev</a></td> 110 111 <td width="34%" align="center" valign="top"><a href= 112 "index.htm" accesskey="H">Home</a></td> 113 114 <td width="33%" align="right" valign="top"><a href= 115 "x1000.htm" accesskey="N">Next</a></td> 116 </tr> 117 118 <tr> 119 <td width="33%" align="left" valign="top">Checking System 120 Installation with <b class="APPLICATION">checkpc</b></td> 121 122 <td width="34%" align="center" valign="top"><a href= 123 "installation.htm" accesskey="U">Up</a></td> 124 125 <td width="33%" align="right" valign="top">Installation 126 Problems</td> 127 </tr> 128 </table> 129 </div> 130 </body> 131</html> 132 133