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>PATH Environment Variable and Utilities</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="Installation" href= 13 "installation.htm"> 14 <link rel="NEXT" title= 15 "Network Mounted File System and Spool Directories" href= 16 "nfsmount.htm"> 17 </head> 18 19 <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link= 20 "#0000FF" vlink="#840084" alink="#0000FF"> 21 <div class="NAVHEADER"> 22 <table summary="Header navigation table" width="100%" border= 23 "0" cellpadding="0" cellspacing="0"> 24 <tr> 25 <th colspan="3" align="center">LPRng Reference Manual: 5 26 Sep 2003 (For LPRng-3.8.22)</th> 27 </tr> 28 29 <tr> 30 <td width="10%" align="left" valign="bottom"><a href= 31 "installation.htm" accesskey="P">Prev</a></td> 32 33 <td width="80%" align="center" valign="bottom">Chapter 2. 34 Installation</td> 35 36 <td width="10%" align="right" valign="bottom"><a href= 37 "nfsmount.htm" accesskey="N">Next</a></td> 38 </tr> 39 </table> 40 <hr align="LEFT" width="100%"> 41 </div> 42 43 <div class="SECT1"> 44 <h1 class="SECT1"><a name="AEN433">2.2. <var class= 45 "ENVAR">PATH</var> Environment Variable and 46 Utilities</a></h1> 47 48 <p>Make sure that directory where you you have installed the 49 GNU tools is one of the first entries in the shell search 50 <var class="ENVAR">PATH</var> environment variable. For 51 example, if you have installed the utilities in the (default) 52 directory <tt class="FILENAME">/usr/local/bin</tt>, this 53 should be one of the first entries in the <var class= 54 "ENVAR">PATH</var>. For example:</p> 55 56 <div class="INFORMALEXAMPLE"> 57 <a name="AEN440"></a> 58<pre class="SCREEN"> 59 PATH=/usr/local/bin:/bin:/sbin:/usr/bin 60</pre> 61 </div> 62 <br> 63 <br> 64 65 <p>If you are compiling the distribution on a Solaris system 66 you will need to use the utilities in the <tt class= 67 "FILENAME">/usr/ccs/bin</tt> directory. This directory must 68 be in the <var class="ENVAR">PATH</var> <span class= 69 "emphasis"><i class="EMPHASIS">after</i></span> the directory 70 where the GNU utilities have been installed. For example:</p> 71 72 <div class="INFORMALEXAMPLE"> 73 <a name="AEN446"></a> 74<pre class="SCREEN"> 75 PATH=/usr/local/bin:/bin:/sbin:/usr/bin:/usr/ccs/bin 76</pre> 77 </div> 78 <br> 79 <br> 80 81 <p>Check to see that the GNU <b class="APPLICATION">make</b> 82 utility and not the default OS <b class= 83 "APPLICATION">make</b> is being used by default. Use <tt 84 class="COMMAND">make -v</tt> to determine what version you 85 are using:</p> 86 87 <div class="INFORMALEXAMPLE"> 88 <a name="AEN452"></a> 89 90 <p class="LITERALLAYOUT"><samp class="PROMPT">h4: {1} 91 %</samp> <kbd class="USERINPUT">make -v</kbd><br> 92 GNU Make version 3.78, by Richard Stallman and Roland McGrath.<br> 93 94 Copyright (C) 1988-1999</p> 95 </div> 96 <br> 97 <br> 98 </div> 99 100 <div class="NAVFOOTER"> 101 <hr align="LEFT" width="100%"> 102 103 <table summary="Footer navigation table" width="100%" border= 104 "0" cellpadding="0" cellspacing="0"> 105 <tr> 106 <td width="33%" align="left" valign="top"><a href= 107 "installation.htm" accesskey="P">Prev</a></td> 108 109 <td width="34%" align="center" valign="top"><a href= 110 "index.htm" accesskey="H">Home</a></td> 111 112 <td width="33%" align="right" valign="top"><a href= 113 "nfsmount.htm" accesskey="N">Next</a></td> 114 </tr> 115 116 <tr> 117 <td width="33%" align="left" valign="top"> 118 Installation</td> 119 120 <td width="34%" align="center" valign="top"><a href= 121 "installation.htm" accesskey="U">Up</a></td> 122 123 <td width="33%" align="right" valign="top">Network 124 Mounted File System and Spool Directories</td> 125 </tr> 126 </table> 127 </div> 128 </body> 129</html> 130 131