|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.253 2006/04/18 22:52:07 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.254 2006/04/25 15:14:16 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="installation">
|
4 | 4 | <title><![%standalone-include[<productname>PostgreSQL</>]]>
|
@@ -1011,6 +1011,254 @@ su - postgres
|
1011 | 1011 | <userinput>./configure CC=/opt/bin/gcc CFLAGS='-O2 -pipe'</>
|
1012 | 1012 | </screen>
|
1013 | 1013 | </para>
|
| 1014 | + |
| 1015 | + <para> |
| 1016 | + Here's a list of the significant environment variables: |
| 1017 | + </para> |
| 1018 | + |
| 1019 | + <para> |
| 1020 | + <variablelist> |
| 1021 | + |
| 1022 | + <varlistentry> |
| 1023 | + <term><option>AWK=<replaceable>/path/to/awk</></option></term> |
| 1024 | + <listitem> |
| 1025 | + <para> |
| 1026 | + <replaceable>/path/to/awk</> is the full path to <application>awk</>. |
| 1027 | + </para> |
| 1028 | + </listitem> |
| 1029 | + </varlistentry> |
| 1030 | + |
| 1031 | + <varlistentry> |
| 1032 | + <term><option>CC=<replaceable>/path/to/cc</></option></term> |
| 1033 | + <listitem> |
| 1034 | + <para> |
| 1035 | + <replaceable>/path/to/cc</> is the full path to your C compiler, such |
| 1036 | + as <application>gcc</>. |
| 1037 | + </para> |
| 1038 | + </listitem> |
| 1039 | + </varlistentry> |
| 1040 | + |
| 1041 | + <varlistentry> |
| 1042 | + <term><option>CFLAGS=<replaceable>FLAGS</></option></term> |
| 1043 | + <listitem> |
| 1044 | + <para> |
| 1045 | + <replaceable>FLAGS</> is the a list of flags to pass to the C |
| 1046 | + compiler. |
| 1047 | + </para> |
| 1048 | + </listitem> |
| 1049 | + </varlistentry> |
| 1050 | + |
| 1051 | + <varlistentry> |
| 1052 | + <term><option>COLLATEINDEX=<replaceable></></option></term> |
| 1053 | + <listitem> |
| 1054 | + <para> |
| 1055 | + Used for building the SGML documentation. |
| 1056 | + </para> |
| 1057 | + </listitem> |
| 1058 | + </varlistentry> |
| 1059 | + |
| 1060 | + <varlistentry> |
| 1061 | + <term><option>CPP=<replaceable>/path/to/cpp</></option></term> |
| 1062 | + <listitem> |
| 1063 | + <para> |
| 1064 | + <replaceable>/path/to/cpp</> is the full path to your C preprocessor, |
| 1065 | + such as <application>gcc</>. |
| 1066 | + </para> |
| 1067 | + </listitem> |
| 1068 | + </varlistentry> |
| 1069 | + |
| 1070 | + <varlistentry> |
| 1071 | + <term><option>CPPFLAGS=<replaceable>FLAGS</></option></term> |
| 1072 | + <listitem> |
| 1073 | + <para> |
| 1074 | + <replaceable>FLAGS</> is the a list of flags to pass to the C |
| 1075 | + preprocessor. |
| 1076 | + </para> |
| 1077 | + </listitem> |
| 1078 | + </varlistentry> |
| 1079 | + |
| 1080 | + <varlistentry> |
| 1081 | + <term><option>DOCBOOKSTYLE=<replaceable></></option></term> |
| 1082 | + <listitem> |
| 1083 | + <para> |
| 1084 | + Used for building the SGML documentation. |
| 1085 | + </para> |
| 1086 | + </listitem> |
| 1087 | + </varlistentry> |
| 1088 | + |
| 1089 | + <varlistentry> |
| 1090 | + <term><option>JADE=<replaceable></></option></term> |
| 1091 | + <listitem> |
| 1092 | + <para> |
| 1093 | + Used for building the SGML documentation. |
| 1094 | + </para> |
| 1095 | + </listitem> |
| 1096 | + </varlistentry> |
| 1097 | + |
| 1098 | + <varlistentry> |
| 1099 | + <term><option>LDFLAGS=<replaceable>FLAGS</></option></term> |
| 1100 | + <listitem> |
| 1101 | + <para> |
| 1102 | + <replaceable>FLAGS</> is the a list of flags to pass to the link file |
| 1103 | + editor. |
| 1104 | + </para> |
| 1105 | + </listitem> |
| 1106 | + </varlistentry> |
| 1107 | + |
| 1108 | + <varlistentry> |
| 1109 | + <term><option>LDFLAGS_SL=<replaceable></></option></term> |
| 1110 | + <listitem> |
| 1111 | + <para> |
| 1112 | + Used for shared library linking. |
| 1113 | + </para> |
| 1114 | + </listitem> |
| 1115 | + </varlistentry> |
| 1116 | + |
| 1117 | + <varlistentry> |
| 1118 | + <term><option>LORDER=<replaceable>/path/to/lorder</></option></term> |
| 1119 | + <listitem> |
| 1120 | + <para> |
| 1121 | + <replaceable>/path/to/lorder</> is the full path to your dependency |
| 1122 | + listing program. |
| 1123 | + </para> |
| 1124 | + </listitem> |
| 1125 | + </varlistentry> |
| 1126 | + |
| 1127 | + <varlistentry> |
| 1128 | + <term><option>MSGFMT=<replaceable></></option></term> |
| 1129 | + <listitem> |
| 1130 | + <para> |
| 1131 | + Used for Native Language Support (NLS). |
| 1132 | + </para> |
| 1133 | + </listitem> |
| 1134 | + </varlistentry> |
| 1135 | + |
| 1136 | + <varlistentry> |
| 1137 | + <term><option>MSGMERGE=<replaceable></></option></term> |
| 1138 | + <listitem> |
| 1139 | + <para> |
| 1140 | + Used for Native Language Support (NLS). |
| 1141 | + </para> |
| 1142 | + </listitem> |
| 1143 | + </varlistentry> |
| 1144 | + |
| 1145 | + <varlistentry> |
| 1146 | + <term><option>NSGMLS=<replaceable></></option></term> |
| 1147 | + <listitem> |
| 1148 | + <para> |
| 1149 | + Used for building the SGML documentation. |
| 1150 | + </para> |
| 1151 | + </listitem> |
| 1152 | + </varlistentry> |
| 1153 | + |
| 1154 | + <varlistentry> |
| 1155 | + <term><option>PERL=<replaceable>/path/to/perl</></option></term> |
| 1156 | + <listitem> |
| 1157 | + <para> |
| 1158 | + <replaceable>/path/to/perl</> is the full path to your Perl 5 |
| 1159 | + interpreter. Note that this wil be used to determine the dependencies |
| 1160 | + for building PL/Perl. |
| 1161 | + </para> |
| 1162 | + </listitem> |
| 1163 | + </varlistentry> |
| 1164 | + |
| 1165 | + <varlistentry> |
| 1166 | + <term><option>PTHREAD_CC=<replaceable></></option></term> |
| 1167 | + <listitem> |
| 1168 | + <para> |
| 1169 | + Used for adding thread-safety flags. |
| 1170 | + </para> |
| 1171 | + </listitem> |
| 1172 | + </varlistentry> |
| 1173 | + |
| 1174 | + <varlistentry> |
| 1175 | + <term><option>PYTHON=<replaceable>/path/to/python</></option></term> |
| 1176 | + <listitem> |
| 1177 | + <para> |
| 1178 | + <replaceable>/path/to/python</> is the full path to your Python |
| 1179 | + interpreter. Note that this wil be used to determine the dependencies |
| 1180 | + for building PL/Python. |
| 1181 | + </para> |
| 1182 | + </listitem> |
| 1183 | + </varlistentry> |
| 1184 | + |
| 1185 | + <varlistentry> |
| 1186 | + <term><option>RANLIB=<replaceable>/path/to/ranlib</></option></term> |
| 1187 | + <listitem> |
| 1188 | + <para> |
| 1189 | + <replaceable>/path/to/ranlib</> is the full path to your archive |
| 1190 | + library table of contents editor. |
| 1191 | + </para> |
| 1192 | + </listitem> |
| 1193 | + </varlistentry> |
| 1194 | + |
| 1195 | + <varlistentry> |
| 1196 | + <term><option>SGMLSPL=<replaceable></></option></term> |
| 1197 | + <listitem> |
| 1198 | + <para> |
| 1199 | + Used for building the SGML documentation. |
| 1200 | + </para> |
| 1201 | + </listitem> |
| 1202 | + </varlistentry> |
| 1203 | + |
| 1204 | + <varlistentry> |
| 1205 | + <term><option>STRIP=<replaceable>/path/to/strip</></option></term> |
| 1206 | + <listitem> |
| 1207 | + <para> |
| 1208 | + <replaceable>/path/to/strip</> is the full path to your strip program. |
| 1209 | + </para> |
| 1210 | + </listitem> |
| 1211 | + </varlistentry> |
| 1212 | + |
| 1213 | + <varlistentry> |
| 1214 | + <term><option>TCL=<replaceable>/path/to/tcl</></option></term> |
| 1215 | + <listitem> |
| 1216 | + <para> |
| 1217 | + <replaceable>/path/to/tcl</> is the full path to your TCL |
| 1218 | + interpreter. Note that this wil be used to determine the dependencies |
| 1219 | + for building PL/TCL. |
| 1220 | + </para> |
| 1221 | + </listitem> |
| 1222 | + </varlistentry> |
| 1223 | + |
| 1224 | + <varlistentry> |
| 1225 | + <term><option>TAR=<replaceable>/path/to/tar</></option></term> |
| 1226 | + <listitem> |
| 1227 | + <para> |
| 1228 | + <replaceable>/path/to/tar</> is the full path to your tar program. |
| 1229 | + </para> |
| 1230 | + </listitem> |
| 1231 | + </varlistentry> |
| 1232 | + |
| 1233 | + <varlistentry> |
| 1234 | + <term><option>TCLISH=<replaceable>/path/to/tclish</></option></term> |
| 1235 | + <listitem> |
| 1236 | + <para> |
| 1237 | + <replaceable>/path/to/tclish</> is the full path to your tclish program. |
| 1238 | + </para> |
| 1239 | + </listitem> |
| 1240 | + </varlistentry> |
| 1241 | + |
| 1242 | + <varlistentry> |
| 1243 | + <term><option>XGETTEXT=<replaceable>/path/to/xgettext</></option></term> |
| 1244 | + <listitem> |
| 1245 | + <para> |
| 1246 | + <replaceable>/path/to/xgettext</> is the full path to your xgettext program. |
| 1247 | + </para> |
| 1248 | + </listitem> |
| 1249 | + </varlistentry> |
| 1250 | + |
| 1251 | + <varlistentry> |
| 1252 | + <term><option>YACC=<replaceable>/path/to/yacc</></option></term> |
| 1253 | + <listitem> |
| 1254 | + <para> |
| 1255 | + <replaceable>/path/to/yacc</> is the full path to your yacc program. |
| 1256 | + </para> |
| 1257 | + </listitem> |
| 1258 | + </varlistentry> |
| 1259 | + |
| 1260 | + </variablelist> |
| 1261 | + </para> |
1014 | 1262 | </step>
|
1015 | 1263 |
|
1016 | 1264 | <step>
|
|
0 commit comments