質問編集履歴

1

./configure --help の内容 + トライ2

2018/11/15 10:18

投稿

nopim
nopim

スコア10

test CHANGED
File without changes
test CHANGED
@@ -42,6 +42,8 @@
42
42
 
43
43
  ### 試したこと
44
44
 
45
+ #### その1
46
+
45
47
  GeoIP のインストールはできました。
46
48
 
47
49
  ```
@@ -90,9 +92,55 @@
90
92
 
91
93
 
92
94
 
93
-
95
+ #### その2
96
+
94
-
97
+ 1. `config.site` ファイル作成
98
+
99
+ ```
100
+
101
+ $ cat << EOF > $HOME/local/share/config.site
102
+
103
+ CPPFLAGS=-I$HOME/local/include
104
+
95
- ### 補足情報(FW/ツールのバージョンなど)
105
+ LDFLAGS=-L$HOME/local/lib
106
+
107
+ EOF
108
+
109
+ ```
110
+
111
+ 2. `.cshrc` ファイルに `LD_LIBRARY_PATH` を追加。
112
+
113
+ ```
114
+
115
+ set LD_LIBRARY_PATH = ($HOME/local/lib)
116
+
117
+ ```
118
+
119
+ 3. ログインし直す。
120
+
121
+ 4. 以下のコマンドで同じエラー。
122
+
123
+ ```
124
+
125
+ % ./configure --enable-utf8 --enable-geoip=legacy --prefix=$HOME/local/
126
+
127
+ ...
128
+
129
+ % make
130
+
131
+ ./bin2c resources/tpls.html src/tpls.h tpls
132
+
133
+ Shared object "libGeoIP.so.1" not found, required by "bin2c"
134
+
135
+ *** [tpls.h] Error code 1
136
+
137
+ ```
138
+
139
+
140
+
141
+ ### 補足情報
142
+
143
+ #### サーバ
96
144
 
97
145
  ```
98
146
 
@@ -105,3 +153,223 @@
105
153
  amd64
106
154
 
107
155
  ```
156
+
157
+ #### ./configure --help
158
+
159
+ ```
160
+
161
+ $ ./configure --help
162
+
163
+ `configure' configures goaccess 1.2 to adapt to many kinds of systems.
164
+
165
+
166
+
167
+ Usage: ./configure [OPTION]... [VAR=VALUE]...
168
+
169
+
170
+
171
+ To assign environment variables (e.g., CC, CFLAGS...), specify them as
172
+
173
+ VAR=VALUE. See below for descriptions of some of the useful variables.
174
+
175
+
176
+
177
+ Defaults for the options are specified in brackets.
178
+
179
+
180
+
181
+ Configuration:
182
+
183
+ -h, --help display this help and exit
184
+
185
+ --help=short display options specific to this package
186
+
187
+ --help=recursive display the short help of all the included packages
188
+
189
+ -V, --version display version information and exit
190
+
191
+ -q, --quiet, --silent do not print `checking ...' messages
192
+
193
+ --cache-file=FILE cache test results in FILE [disabled]
194
+
195
+ -C, --config-cache alias for `--cache-file=config.cache'
196
+
197
+ -n, --no-create do not create output files
198
+
199
+ --srcdir=DIR find the sources in DIR [configure dir or `..']
200
+
201
+
202
+
203
+ Installation directories:
204
+
205
+ --prefix=PREFIX install architecture-independent files in PREFIX
206
+
207
+ [/usr/local]
208
+
209
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
210
+
211
+ [PREFIX]
212
+
213
+
214
+
215
+ By default, `make install' will install all the files in
216
+
217
+ `/usr/local/bin', `/usr/local/lib' etc. You can specify
218
+
219
+ an installation prefix other than `/usr/local' using `--prefix',
220
+
221
+ for instance `--prefix=$HOME'.
222
+
223
+
224
+
225
+ For better control, use the options below.
226
+
227
+
228
+
229
+ Fine tuning of the installation directories:
230
+
231
+ --bindir=DIR user executables [EPREFIX/bin]
232
+
233
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
234
+
235
+ --libexecdir=DIR program executables [EPREFIX/libexec]
236
+
237
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
238
+
239
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
240
+
241
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
242
+
243
+ --libdir=DIR object code libraries [EPREFIX/lib]
244
+
245
+ --includedir=DIR C header files [PREFIX/include]
246
+
247
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
248
+
249
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
250
+
251
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
252
+
253
+ --infodir=DIR info documentation [DATAROOTDIR/info]
254
+
255
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
256
+
257
+ --mandir=DIR man documentation [DATAROOTDIR/man]
258
+
259
+ --docdir=DIR documentation root [DATAROOTDIR/doc/goaccess]
260
+
261
+ --htmldir=DIR html documentation [DOCDIR]
262
+
263
+ --dvidir=DIR dvi documentation [DOCDIR]
264
+
265
+ --pdfdir=DIR pdf documentation [DOCDIR]
266
+
267
+ --psdir=DIR ps documentation [DOCDIR]
268
+
269
+
270
+
271
+ Program names:
272
+
273
+ --program-prefix=PREFIX prepend PREFIX to installed program names
274
+
275
+ --program-suffix=SUFFIX append SUFFIX to installed program names
276
+
277
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
278
+
279
+
280
+
281
+ System types:
282
+
283
+ --build=BUILD configure for building on BUILD [guessed]
284
+
285
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
286
+
287
+
288
+
289
+ Optional Features:
290
+
291
+ --disable-option-checking ignore unrecognized --enable/--with options
292
+
293
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
294
+
295
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
296
+
297
+ --disable-dependency-tracking speeds up one-time build
298
+
299
+ --enable-dependency-tracking do not reject slow dependency extractors
300
+
301
+ --enable-debug Create a debug build. Default is disabled
302
+
303
+ --enable-geoip Enable GeoIP country lookup. Default is disabled
304
+
305
+ --enable-utf8 Enable ncurses library that handles wide characters
306
+
307
+ --enable-tcb Enable TokyoCabinet database. Default is disabled
308
+
309
+ --disable-zlib Build without ZLIB compression
310
+
311
+ --disable-bzip Build without BZIP2 compression
312
+
313
+
314
+
315
+ Optional Packages:
316
+
317
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
318
+
319
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
320
+
321
+ --with-openssl build with OpenSSL support
322
+
323
+ --with-getline Build using dynamic line buffer.
324
+
325
+
326
+
327
+ Some influential environment variables:
328
+
329
+ CC C compiler command
330
+
331
+ CFLAGS C compiler flags
332
+
333
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
334
+
335
+ nonstandard directory <lib dir>
336
+
337
+ LIBS libraries to pass to the linker, e.g. -l<library>
338
+
339
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
340
+
341
+ you have headers in a nonstandard directory <include dir>
342
+
343
+ CPP C preprocessor
344
+
345
+
346
+
347
+ Use these variables to override the choices made by `configure' or to help
348
+
349
+ it to find libraries and programs with nonstandard names/locations.
350
+
351
+
352
+
353
+ Report bugs to <goaccess@prosoftcorp.com>.
354
+
355
+ goaccess home page: <http://goaccess.io>.
356
+
357
+
358
+
359
+ ```
360
+
361
+ #### libGeoIP.so.1 の場所
362
+
363
+ 問題の `libGeoIP.so.1` は `$HOME/local/lib` に入っています。
364
+
365
+ ```
366
+
367
+ % ls $HOME/local/lib
368
+
369
+ libGeoIP.a libGeoIP.so.1
370
+
371
+ libGeoIP.la libGeoIP.so.1.6.11
372
+
373
+ libGeoIP.so
374
+
375
+ ```