|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.264 2006/10/12 18:49:32 neilc Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.265 2006/10/23 14:13:43 petere Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="installation">
|
4 | 4 | <title><![%standalone-include[<productname>PostgreSQL</>]]>
|
@@ -1064,269 +1064,129 @@ su - postgres
|
1064 | 1064 | </para>
|
1065 | 1065 |
|
1066 | 1066 | <para>
|
1067 |
| - Here's a list of the significant environment variables: |
1068 |
| - </para> |
1069 |
| - |
1070 |
| - <para> |
| 1067 | + Here is a list of the significant variables that can be set in |
| 1068 | + this manner: |
| 1069 | + |
1071 | 1070 | <variablelist>
|
1072 |
| - |
1073 |
| - <varlistentry> |
1074 |
| - <term><option>AWK=<replaceable>/path/to/awk</></option></term> |
1075 |
| - <listitem> |
1076 |
| - <para> |
1077 |
| - <replaceable>/path/to/awk</> is the full path to <application>awk</>. |
1078 |
| - </para> |
1079 |
| - </listitem> |
1080 |
| - </varlistentry> |
1081 |
| - |
1082 |
| - <varlistentry> |
1083 |
| - <term><option>CC=<replaceable>/path/to/cc</></option></term> |
1084 |
| - <listitem> |
1085 |
| - <para> |
1086 |
| - <replaceable>/path/to/cc</> is the full path to your C compiler, such |
1087 |
| - as <application>gcc</>. |
1088 |
| - </para> |
1089 |
| - </listitem> |
1090 |
| - </varlistentry> |
1091 |
| - |
1092 |
| - <varlistentry> |
1093 |
| - <term><option>CFLAGS=<replaceable>FLAGS</></option></term> |
1094 |
| - <listitem> |
1095 |
| - <para> |
1096 |
| - <replaceable>FLAGS</> is the a list of flags to pass to the C |
1097 |
| - compiler. |
1098 |
| - </para> |
1099 |
| - </listitem> |
1100 |
| - </varlistentry> |
1101 |
| - |
1102 |
| - <varlistentry> |
1103 |
| - <term><option>COLLATEINDEX</option></term> |
1104 |
| - <listitem> |
1105 |
| - <para> |
1106 |
| - Used for building the SGML documentation. |
1107 |
| - </para> |
1108 |
| - </listitem> |
1109 |
| - </varlistentry> |
1110 |
| - |
1111 |
| - <varlistentry> |
1112 |
| - <term><option>CPP=<replaceable>/path/to/cpp</></option></term> |
1113 |
| - <listitem> |
1114 |
| - <para> |
1115 |
| - <replaceable>/path/to/cpp</> is the full path to your C preprocessor, |
1116 |
| - such as <application>gcc</>. |
1117 |
| - </para> |
1118 |
| - </listitem> |
1119 |
| - </varlistentry> |
1120 |
| - |
1121 | 1071 | <varlistentry>
|
1122 |
| - <term><option>CPPFLAGS=<replaceable>FLAGS</></option></term> |
| 1072 | + <term><envar>CC</envar></term> |
1123 | 1073 | <listitem>
|
1124 | 1074 | <para>
|
1125 |
| - <replaceable>FLAGS</> is the a list of flags to pass to the C |
1126 |
| - preprocessor. |
| 1075 | + C compiler |
1127 | 1076 | </para>
|
1128 | 1077 | </listitem>
|
1129 | 1078 | </varlistentry>
|
1130 | 1079 |
|
1131 | 1080 | <varlistentry>
|
1132 |
| - <term><option>DOCBOOKSTYLE</option></term> |
| 1081 | + <term><envar>CFLAGS</envar></term> |
1133 | 1082 | <listitem>
|
1134 | 1083 | <para>
|
1135 |
| - Used for building the SGML documentation. |
| 1084 | + options to pass to the C compiler |
1136 | 1085 | </para>
|
1137 | 1086 | </listitem>
|
1138 | 1087 | </varlistentry>
|
1139 | 1088 |
|
1140 | 1089 | <varlistentry>
|
1141 |
| - <term><option>DTRACE=<replaceable>/path/to/dtrace</></option></term> |
| 1090 | + <term><envar>CPP</envar></term> |
1142 | 1091 | <listitem>
|
1143 | 1092 | <para>
|
1144 |
| - Specifies the location of the <command>dtrace</command> program. |
| 1093 | + C preprocessor |
1145 | 1094 | </para>
|
1146 | 1095 | </listitem>
|
1147 | 1096 | </varlistentry>
|
1148 | 1097 |
|
1149 | 1098 | <varlistentry>
|
1150 |
| - <term><option>DTRACEFLAGS=<replaceable>FLAGS</></option></term> |
| 1099 | + <term><envar>CPPFLAGS</envar></term> |
1151 | 1100 | <listitem>
|
1152 | 1101 | <para>
|
1153 |
| - <replaceable>FLAGS</> is the a list of flags to pass to the |
1154 |
| - <command>dtrace</command> program. |
| 1102 | + options to pass to the C preprocessor |
1155 | 1103 | </para>
|
1156 | 1104 | </listitem>
|
1157 | 1105 | </varlistentry>
|
1158 | 1106 |
|
1159 | 1107 | <varlistentry>
|
1160 |
| - <term><option>JADE</option></term> |
| 1108 | + <term><envar>DTRACE</envar></term> |
1161 | 1109 | <listitem>
|
1162 | 1110 | <para>
|
1163 |
| - Used for building the SGML documentation. |
| 1111 | + location of the <command>dtrace</command> program |
1164 | 1112 | </para>
|
1165 | 1113 | </listitem>
|
1166 | 1114 | </varlistentry>
|
1167 | 1115 |
|
1168 | 1116 | <varlistentry>
|
1169 |
| - <term><option>LDFLAGS=<replaceable>FLAGS</></option></term> |
| 1117 | + <term><envar>DTRACEFLAGS</envar></term> |
1170 | 1118 | <listitem>
|
1171 | 1119 | <para>
|
1172 |
| - <replaceable>FLAGS</> is the a list of flags to pass to the link file |
1173 |
| - editor. |
| 1120 | + options to pass to the <command>dtrace</command> program |
1174 | 1121 | </para>
|
1175 | 1122 | </listitem>
|
1176 | 1123 | </varlistentry>
|
1177 | 1124 |
|
1178 | 1125 | <varlistentry>
|
1179 |
| - <term><option>LDFLAGS_SL</option></term> |
| 1126 | + <term><envar>LDFLAGS</envar></term> |
1180 | 1127 | <listitem>
|
1181 | 1128 | <para>
|
1182 |
| - Used for shared library linking. |
| 1129 | + options to pass to the link editor |
1183 | 1130 | </para>
|
1184 | 1131 | </listitem>
|
1185 | 1132 | </varlistentry>
|
1186 | 1133 |
|
1187 | 1134 | <varlistentry>
|
1188 |
| - <term><option>LORDER=<replaceable>/path/to/lorder</></option></term> |
| 1135 | + <term><envar>LDFLAGS_SL</envar></term> |
1189 | 1136 | <listitem>
|
1190 | 1137 | <para>
|
1191 |
| - <replaceable>/path/to/lorder</> is the full path to your dependency |
1192 |
| - listing program. |
| 1138 | + linker options for shared library linking |
1193 | 1139 | </para>
|
1194 | 1140 | </listitem>
|
1195 | 1141 | </varlistentry>
|
1196 | 1142 |
|
1197 | 1143 | <varlistentry>
|
1198 |
| - <term><option>MSGFMT</option></term> |
| 1144 | + <term><envar>MSGFMT</envar></term> |
1199 | 1145 | <listitem>
|
1200 | 1146 | <para>
|
1201 |
| - Used for Native Language Support (NLS). |
| 1147 | + <command>msgfmt</command> program for native language support |
1202 | 1148 | </para>
|
1203 | 1149 | </listitem>
|
1204 | 1150 | </varlistentry>
|
1205 | 1151 |
|
1206 | 1152 | <varlistentry>
|
1207 |
| - <term><option>MSGMERGE</option></term> |
| 1153 | + <term><envar>PERL</envar></term> |
1208 | 1154 | <listitem>
|
1209 | 1155 | <para>
|
1210 |
| - Used for Native Language Support (NLS). |
| 1156 | + Full path to the Perl interpreter. This will be used to |
| 1157 | + determine the dependencies for building PL/Perl. |
1211 | 1158 | </para>
|
1212 | 1159 | </listitem>
|
1213 | 1160 | </varlistentry>
|
1214 | 1161 |
|
1215 | 1162 | <varlistentry>
|
1216 |
| - <term><option>NSGMLS</option></term> |
| 1163 | + <term><envar>PYTHON</envar></term> |
1217 | 1164 | <listitem>
|
1218 | 1165 | <para>
|
1219 |
| - Used for building the SGML documentation. |
| 1166 | + Full path to the Python interpreter. This will be used to |
| 1167 | + determine the dependencies for building PL/Python. |
1220 | 1168 | </para>
|
1221 | 1169 | </listitem>
|
1222 | 1170 | </varlistentry>
|
1223 | 1171 |
|
1224 | 1172 | <varlistentry>
|
1225 |
| - <term><option>PERL=<replaceable>/path/to/perl</></option></term> |
| 1173 | + <term><envar>TCLSH</envar></term> |
1226 | 1174 | <listitem>
|
1227 | 1175 | <para>
|
1228 |
| - <replaceable>/path/to/perl</> is the full path to your Perl 5 |
1229 |
| - interpreter. Note that this wil be used to determine the dependencies |
1230 |
| - for building PL/Perl. |
| 1176 | + Full path to the Tcl interpreter. This wil be used to |
| 1177 | + determine the dependencies for building PL/Tcl. |
1231 | 1178 | </para>
|
1232 | 1179 | </listitem>
|
1233 | 1180 | </varlistentry>
|
1234 | 1181 |
|
1235 | 1182 | <varlistentry>
|
1236 |
| - <term><option>PTHREAD_CC</option></term> |
| 1183 | + <term><envar>YACC</envar></term> |
1237 | 1184 | <listitem>
|
1238 | 1185 | <para>
|
1239 |
| - Used for adding thread-safety flags. |
| 1186 | + Yacc program (<literal>bison -y</literal> if using Bison) |
1240 | 1187 | </para>
|
1241 | 1188 | </listitem>
|
1242 | 1189 | </varlistentry>
|
1243 |
| - |
1244 |
| - <varlistentry> |
1245 |
| - <term><option>PYTHON=<replaceable>/path/to/python</></option></term> |
1246 |
| - <listitem> |
1247 |
| - <para> |
1248 |
| - <replaceable>/path/to/python</> is the full path to your Python |
1249 |
| - interpreter. Note that this wil be used to determine the dependencies |
1250 |
| - for building PL/Python. |
1251 |
| - </para> |
1252 |
| - </listitem> |
1253 |
| - </varlistentry> |
1254 |
| - |
1255 |
| - <varlistentry> |
1256 |
| - <term><option>RANLIB=<replaceable>/path/to/ranlib</></option></term> |
1257 |
| - <listitem> |
1258 |
| - <para> |
1259 |
| - <replaceable>/path/to/ranlib</> is the full path to your archive |
1260 |
| - library table of contents editor. |
1261 |
| - </para> |
1262 |
| - </listitem> |
1263 |
| - </varlistentry> |
1264 |
| - |
1265 |
| - <varlistentry> |
1266 |
| - <term><option>SGMLSPL</option></term> |
1267 |
| - <listitem> |
1268 |
| - <para> |
1269 |
| - Used for building the SGML documentation. |
1270 |
| - </para> |
1271 |
| - </listitem> |
1272 |
| - </varlistentry> |
1273 |
| - |
1274 |
| - <varlistentry> |
1275 |
| - <term><option>STRIP=<replaceable>/path/to/strip</></option></term> |
1276 |
| - <listitem> |
1277 |
| - <para> |
1278 |
| - <replaceable>/path/to/strip</> is the full path to your strip program. |
1279 |
| - </para> |
1280 |
| - </listitem> |
1281 |
| - </varlistentry> |
1282 |
| - |
1283 |
| - <varlistentry> |
1284 |
| - <term><option>TCL=<replaceable>/path/to/tcl</></option></term> |
1285 |
| - <listitem> |
1286 |
| - <para> |
1287 |
| - <replaceable>/path/to/tcl</> is the full path to your TCL |
1288 |
| - interpreter. Note that this wil be used to determine the dependencies |
1289 |
| - for building PL/TCL. |
1290 |
| - </para> |
1291 |
| - </listitem> |
1292 |
| - </varlistentry> |
1293 |
| - |
1294 |
| - <varlistentry> |
1295 |
| - <term><option>TAR=<replaceable>/path/to/tar</></option></term> |
1296 |
| - <listitem> |
1297 |
| - <para> |
1298 |
| - <replaceable>/path/to/tar</> is the full path to your tar program. |
1299 |
| - </para> |
1300 |
| - </listitem> |
1301 |
| - </varlistentry> |
1302 |
| - |
1303 |
| - <varlistentry> |
1304 |
| - <term><option>TCLISH=<replaceable>/path/to/tclish</></option></term> |
1305 |
| - <listitem> |
1306 |
| - <para> |
1307 |
| - <replaceable>/path/to/tclish</> is the full path to your tclish program. |
1308 |
| - </para> |
1309 |
| - </listitem> |
1310 |
| - </varlistentry> |
1311 |
| - |
1312 |
| - <varlistentry> |
1313 |
| - <term><option>XGETTEXT=<replaceable>/path/to/xgettext</></option></term> |
1314 |
| - <listitem> |
1315 |
| - <para> |
1316 |
| - <replaceable>/path/to/xgettext</> is the full path to your xgettext program. |
1317 |
| - </para> |
1318 |
| - </listitem> |
1319 |
| - </varlistentry> |
1320 |
| - |
1321 |
| - <varlistentry> |
1322 |
| - <term><option>YACC=<replaceable>/path/to/yacc</></option></term> |
1323 |
| - <listitem> |
1324 |
| - <para> |
1325 |
| - <replaceable>/path/to/yacc</> is the full path to your yacc program. |
1326 |
| - </para> |
1327 |
| - </listitem> |
1328 |
| - </varlistentry> |
1329 |
| - |
1330 | 1190 | </variablelist>
|
1331 | 1191 | </para>
|
1332 | 1192 | </step>
|
|
0 commit comments