Not found mysqlclient library

./configure --enable-server --with-mysql --with-net-snmp
とすると

checking for mysql_config... /usr/sfw/bin/mysql_config
checking for main in -lmysqlclient ... no
configure: error: Not found mysqlclient library
でとまります。

よくわからないのですが、

ぐぐってみるとmysql_configを修正すればよい、とあり
そのとおりにしてみましたが、結果は変わりません。

--with-mysql=/usr/sfw/libとしてあげると今度は

configure: error: Not found mysql libraryになります。

基本的なことが分かっていないんですが原因や解決するために
必要な情報があれば教えてください。OSはソラリスです。

コメント表示オプション

お好みのコメント表示方法を選び「設定の保存」をクリックすると変更が反映されます。
ユーザー KAZ の写真

kanaさん

KAZと申します。

MySQLですが、(OSバンドルの)rpmインストールですか?
それともconfigureインストールしたものですか?

不明な場合はmysql_configを実行し、そこに表示される情報が自分の使いたいMySQLか確認することが先決となります。

configureインストールしたMySQlで、rpm版のMySQLが入っている場合はライブラリの優先参照がrpm版となりますので、MySQLのconfigure時点から色々と考える必要があります。
※:一番楽なのは不要なMySQLのrpmを抜くことです。

MySQLがconfigureしたものなら、zabbixのconfigureは下記になるかと。
<code>
./configure \
--enable-server \
--enable-agent \
--with-mysql={MySQLのインストールdir}/mysql/bin/mysql_config \
--with-net-snmp
</code>

上記のzabbixのconfigureを行うまでの手順は下記の通り。
1.OSバンドル版のMySQLをrpm -eで消す。
2.自分が入れたいMySQLをconfigure
3.php関連をconfigure
4.zabbixをconfigure

※:apacheのインストール順については割愛しています。

ユーザー kana の写真

KAZさん
ご返信ありがとうございます。

mysqlはソラリスにもともと入っていたものでOSインストール後にpkgaddなどは行っていません。companionCDもインストールしていません。

以下のURLを参考にmysqlデータベースへの接続確認まで実施しています。
http://www.avant-tokyo.com/solaris/default_mysql.html

/usr/sfw/bin以下にmysql_configがあります。

ここからどのようにすればエラーを回避できるのでしょうか。

ユーザー KAZ の写真

zabbixのconfigureですが、下記を試して頂けますか?
<code>
./configure \
--enable-server \
--with-mysql=/usr/sfw/bin/mysql_config \
--with-net-snmp
</code>

「--with-mysql」ですが、zabbix1.4系から「--with-mysql=/usr/sfw/bin」ではなく「--with-mysql=/usr/sfw/bin/mysql_config」が正しい指定の形です。

※:zabbix1.1系の「--with-mysql」は指定の方法が異なります。

ユーザー kana の写真

kazさん
こんにちは
ご回答ありがとうございます。
何度か試したり、OSを入れ直してみたりとがんばっているうちに返信が遅くなりもうしわけありません。

>./configure \
>--enable-server \
>--with-mysql=/usr/sfw/bin/mysql_config \
>--with-net-snmp

上記をそのまま実行しましたが、

checking for mysql_config... /usr/sfw/bin/mysql_config
checking for main in -lmysqlclient ... no
configure: error: Not found mysqlclient library

となり、やはりだめでした。

(今はOSインストール→pathの設定を行い→zabbixインストール試行、という状態です。ほかの設定は変えていません。
あまり関係ないかもしれませんが、vmwareで仮想しています。)

mysqlclient libraryは下のフォルダにあるのですが、
ここをみにいけていないのでしょうか?
# pwd
/usr/sfw/lib
# ls | grep mysql
libmysqlclient.so
libmysqlclient.so.12
libmysqlclient.so.12.0.0
libmysqlclient_r.so
libmysqlclient_r.so.12
libmysqlclient_r.so.12.0.0
mysql
#

お手上げ状態なのですが、解決策があれば是非教えていただきたいと思います。
よろしくおねがいします。

ユーザー KAZ の写真

kanaさん

mysqlclient libraryは下のフォルダにあるのですが、
ここをみにいけていないのでしょうか?

エラーの詳細はconfigure.logに出力されます。
なので、configure失敗時のconfigure.logを公開頂けると原因がつかめるかも知れません。

# ls | grep mysql
libmysqlclient.so
libmysqlclient.so.12
libmysqlclient.so.12.0.0
libmysqlclient_r.so
libmysqlclient_r.so.12
libmysqlclient_r.so.12.0.0

MySQLのバージョンは幾つでしょうか?
下記を実行するとバージョンやMySQLが認識しているLIBの位置がわかります。
<code>/usr/sfw/bin/mysql_config</code>
ちなみに、zabbix1.6系はどうやらMySQL4.0では上手くインストールできない事象があるようです。

また、MySQLですがOSプリインストール以外のものは使用できないのでしょうか?現在のMySQLを抜いて、configureして入れ直す方法はとれますでしょうか?

ユーザー kana の写真

こんにちは
以下がconfig.logです。

1 This file contains any messages produced by compilers while
2 running configure, to aid debugging if configure makes a mistake.
3
4 It was created by configure, which was
5 generated by GNU Autoconf 2.59. Invocation command line was
6
7 $ ./configure --enable-server --with-mysql=/usr/sfw/bin/mysql_config --with-net-snmp
8
9 ## --------- ##
10 ## Platform. ##
11 ## --------- ##
12
13 hostname = slrsv01
14 uname -m = i86pc
15 uname -r = 5.10
16 uname -s = SunOS
17 uname -v = Generic_137138-09
18
19 /usr/bin/uname -p = i386
20 /bin/uname -X = System = SunOS
21 Node = slrsv01
22 Release = 5.10
23 KernelID = Generic_137138-09
24 Machine = i86pc
25 BusType = <unknown>
26 Serial = <unknown>
27 Users = <unknown>
28 OEM# = 0
29 Origin# = 1
30 NumCPU = 1
31
32 /bin/arch = i86pc
33 /usr/bin/arch -k = i86pc
34 /usr/convex/getsysinfo = unknown
35 hostinfo = unknown
36 /bin/machine = unknown
37 /usr/bin/oslevel = unknown
38 /bin/universe = unknown
39
40 PATH: /usr/local/bin
41 PATH: /usr/sfw/bin
42 PATH: /opt/sfw/bin
43 PATH: /usr/bin
44 PATH: /usr/sbin
45 PATH: /usr/ucb
46
47
48 ## ----------- ##
49 ## Core tests. ##
50 ## ----------- ##
51
52 configure:1410: checking for a BSD-compatible install
53 configure:1465: result: ./install-sh -c
54 configure:1476: checking whether build environment is sane
55 configure:1519: result: yes
56 configure:1584: checking for gawk
57 configure:1613: result: no
58 configure:1584: checking for mawk
59 configure:1613: result: no
60 configure:1584: checking for nawk
61 configure:1600: found /usr/bin/nawk
62 configure:1610: result: nawk
63 configure:1620: checking whether make sets $(MAKE)
64 configure:1644: result: no
65 configure:1809: Configuring
66 configure:1812: checking whether make sets $(MAKE)
67 configure:1836: result: no
68 configure:1851: checking build system type
69 configure:1869: result: i386-pc-solaris2.10
70 configure:1877: checking host system type
71 configure:1891: result: i386-pc-solaris2.10
72 configure:1946: checking for gcc
73 configure:1962: found /usr/sfw/bin/gcc
74 configure:1972: result: gcc
75 configure:2216: checking for C compiler version
76 configure:2219: gcc --version </dev/null >&5
77 gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
78 Copyright (C) 2004 Free Software Foundation, Inc.
79 This is free software; see the source for copying conditions. There is NO
80 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
81
82 configure:2222: $? = 0
83 configure:2224: gcc -v </dev/null >&5
84 Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
85 Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
86 Thread model: posix
87 gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
88 configure:2227: $? = 0
89 configure:2229: gcc -V </dev/null >&5
90 gcc: `-V' option must have argument
91 configure:2232: $? = 1
92 configure:2255: checking for C compiler default output file name
93 configure:2258: gcc conftest.c >&5
94 configure:2261: $? = 0
95 configure:2307: result: a.out
96 configure:2312: checking whether the C compiler works
97 configure:2318: ./a.out
98 configure:2321: $? = 0
99 configure:2338: result: yes
100 configure:2345: checking whether we are cross compiling
101 configure:2347: result: no
102 configure:2350: checking for suffix of executables
103 configure:2352: gcc -o conftest conftest.c >&5
104 configure:2355: $? = 0
105 configure:2380: result:
106 configure:2386: checking for suffix of object files
107 configure:2407: gcc -c conftest.c >&5
108 configure:2410: $? = 0
109 configure:2432: result: o
110 configure:2436: checking whether we are using the GNU C compiler
111 configure:2460: gcc -c conftest.c >&5
112 configure:2466: $? = 0
113 configure:2469: test -z || test ! -s conftest.err
114 configure:2472: $? = 0
115 configure:2475: test -s conftest.o
116 configure:2478: $? = 0
117 configure:2491: result: yes
118 configure:2497: checking whether gcc accepts -g
119 configure:2518: gcc -c -g conftest.c >&5
120 configure:2524: $? = 0
121 configure:2527: test -z || test ! -s conftest.err
122 configure:2530: $? = 0
123 configure:2533: test -s conftest.o
124 configure:2536: $? = 0
125 configure:2547: result: yes
126 configure:2564: checking for gcc option to accept ANSI C
127 configure:2634: gcc -c -g -O2 conftest.c >&5
128 configure:2640: $? = 0
129 configure:2643: test -z || test ! -s conftest.err
130 configure:2646: $? = 0
131 configure:2649: test -s conftest.o
132 configure:2652: $? = 0
133 configure:2670: result: none needed
134 configure:2688: gcc -c -g -O2 conftest.c >&5
135 conftest.c:2: error: syntax error before "me"
136 configure:2694: $? = 1
137 configure: failed program was:
138 | #ifndef __cplusplus
139 | choke me
140 | #endif
141 configure:2835: checking for style of include used by make
142 configure:2863: result: none
143 configure:2891: checking dependency style of gcc
144 configure:2981: result: none
145 configure:3005: checking how to run the C preprocessor
146 configure:3040: gcc -E conftest.c
147 configure:3046: $? = 0
148 configure:3078: gcc -E conftest.c
149 conftest.c:11:28: ac_nonexistent.h: No such file or directory
150 configure:3084: $? = 1
151 configure: failed program was:
152 | /* confdefs.h. */
153 |
154 | #define PACKAGE_NAME ""
155 | #define PACKAGE_TARNAME ""
156 | #define PACKAGE_VERSION ""
157 | #define PACKAGE_STRING ""
158 | #define PACKAGE_BUGREPORT ""
159 | #define PACKAGE "zabbix"
160 | #define VERSION "1.4.6"
161 | /* end confdefs.h. */
162 | #include <ac_nonexistent.h>
163 configure:3123: result: gcc -E
164 configure:3147: gcc -E conftest.c
165 configure:3153: $? = 0
166 configure:3185: gcc -E conftest.c
167 conftest.c:11:28: ac_nonexistent.h: No such file or directory
168 configure:3191: $? = 1
169 configure: failed program was:
170 | /* confdefs.h. */
171 |
172 | #define PACKAGE_NAME ""
173 | #define PACKAGE_TARNAME ""
174 | #define PACKAGE_VERSION ""
175 | #define PACKAGE_STRING ""
176 | #define PACKAGE_BUGREPORT ""
177 | #define PACKAGE "zabbix"
178 | #define VERSION "1.4.6"
179 | /* end confdefs.h. */
180 | #include <ac_nonexistent.h>
181 configure:3235: checking for egrep
182 configure:3245: result: egrep
183 configure:3250: checking for ANSI C header files
184 configure:3275: gcc -c -g -O2 conftest.c >&5
185 configure:3281: $? = 0
186 configure:3284: test -z || test ! -s conftest.err
187 configure:3287: $? = 0
188 configure:3290: test -s conftest.o
189 configure:3293: $? = 0
190 configure:3382: gcc -o conftest -g -O2 conftest.c >&5
191 configure:3385: $? = 0
192 configure:3387: ./conftest
193 configure:3390: $? = 0
194 configure:3405: result: yes
195 configure:3429: checking for sys/types.h
196 configure:3445: gcc -c -g -O2 conftest.c >&5
197 configure:3451: $? = 0
198 configure:3454: test -z || test ! -s conftest.err
199 configure:3457: $? = 0
200 configure:3460: test -s conftest.o
201 configure:3463: $? = 0
202 configure:3474: result: yes
203 configure:3429: checking for sys/stat.h
204 configure:3445: gcc -c -g -O2 conftest.c >&5
205 configure:3451: $? = 0
206 configure:3454: test -z || test ! -s conftest.err
207 configure:3457: $? = 0
208 configure:3460: test -s conftest.o
209 configure:3463: $? = 0
210 configure:3474: result: yes
211 configure:3429: checking for stdlib.h
212 configure:3445: gcc -c -g -O2 conftest.c >&5
213 configure:3451: $? = 0
214 configure:3454: test -z || test ! -s conftest.err
215 configure:3457: $? = 0
216 configure:3460: test -s conftest.o
217 configure:3463: $? = 0
218 configure:3474: result: yes
219 configure:3429: checking for string.h
220 configure:3445: gcc -c -g -O2 conftest.c >&5
221 configure:3451: $? = 0
222 configure:3454: test -z || test ! -s conftest.err
223 configure:3457: $? = 0
224 configure:3460: test -s conftest.o
225 configure:3463: $? = 0
226 configure:3474: result: yes
227 configure:3429: checking for memory.h
228 configure:3445: gcc -c -g -O2 conftest.c >&5
229 configure:3451: $? = 0
230 configure:3454: test -z || test ! -s conftest.err
231 configure:3457: $? = 0
232 configure:3460: test -s conftest.o
233 configure:3463: $? = 0
234 configure:3474: result: yes
235 configure:3429: checking for strings.h
236 configure:3445: gcc -c -g -O2 conftest.c >&5
237 configure:3451: $? = 0
238 configure:3454: test -z || test ! -s conftest.err
239 configure:3457: $? = 0
240 configure:3460: test -s conftest.o
241 configure:3463: $? = 0
242 configure:3474: result: yes
243 configure:3429: checking for inttypes.h
244 configure:3445: gcc -c -g -O2 conftest.c >&5
245 configure:3451: $? = 0
246 configure:3454: test -z || test ! -s conftest.err
247 configure:3457: $? = 0
248 configure:3460: test -s conftest.o
249 configure:3463: $? = 0
250 configure:3474: result: yes
251 configure:3429: checking for stdint.h
252 configure:3445: gcc -c -g -O2 conftest.c >&5
253 configure:3451: $? = 0
254 configure:3454: test -z || test ! -s conftest.err
255 configure:3457: $? = 0
256 configure:3460: test -s conftest.o
257 configure:3463: $? = 0
258 configure:3474: result: yes
259 configure:3429: checking for unistd.h
260 configure:3445: gcc -c -g -O2 conftest.c >&5
261 configure:3451: $? = 0
262 configure:3454: test -z || test ! -s conftest.err
263 configure:3457: $? = 0
264 configure:3460: test -s conftest.o
265 configure:3463: $? = 0
266 configure:3474: result: yes
267 configure:3593: checking stdio.h usability
268 configure:3605: gcc -c -g -O2 conftest.c >&5
269 configure:3611: $? = 0
270 configure:3614: test -z || test ! -s conftest.err
271 configure:3617: $? = 0
272 configure:3620: test -s conftest.o
273 configure:3623: $? = 0
274 configure:3633: result: yes
275 configure:3637: checking stdio.h presence
276 configure:3647: gcc -E conftest.c
277 configure:3653: $? = 0
278 configure:3673: result: yes
279 configure:3708: checking for stdio.h
280 configure:3715: result: yes
281 configure:3584: checking for stdlib.h
282 configure:3589: result: yes
283 configure:3584: checking for string.h
284 configure:3589: result: yes
285 configure:3584: checking for unistd.h
286 configure:3589: result: yes
287 configure:3593: checking netdb.h usability
288 configure:3605: gcc -c -g -O2 conftest.c >&5
289 configure:3611: $? = 0
290 configure:3614: test -z || test ! -s conftest.err
291 configure:3617: $? = 0
292 configure:3620: test -s conftest.o
293 configure:3623: $? = 0
294 configure:3633: result: yes
295 configure:3637: checking netdb.h presence
296 configure:3647: gcc -E conftest.c
297 configure:3653: $? = 0
298 configure:3673: result: yes
299 configure:3708: checking for netdb.h
300 configure:3715: result: yes
301 configure:3593: checking signal.h usability
302 configure:3605: gcc -c -g -O2 conftest.c >&5
303 configure:3611: $? = 0
304 configure:3614: test -z || test ! -s conftest.err
305 configure:3617: $? = 0
306 configure:3620: test -s conftest.o
307 configure:3623: $? = 0
308 configure:3633: result: yes
309 configure:3637: checking signal.h presence
310 configure:3647: gcc -E conftest.c
311 configure:3653: $? = 0
312 configure:3673: result: yes
313 configure:3708: checking for signal.h
314 configure:3715: result: yes
315 configure:3593: checking syslog.h usability
316 configure:3605: gcc -c -g -O2 conftest.c >&5
317 configure:3611: $? = 0
318 configure:3614: test -z || test ! -s conftest.err
319 configure:3617: $? = 0
320 configure:3620: test -s conftest.o
321 configure:3623: $? = 0
322 configure:3633: result: yes
323 configure:3637: checking syslog.h presence
324 configure:3647: gcc -E conftest.c
325 configure:3653: $? = 0
326 configure:3673: result: yes
327 configure:3708: checking for syslog.h
328 configure:3715: result: yes
329 configure:3593: checking time.h usability
330 configure:3605: gcc -c -g -O2 conftest.c >&5
331 configure:3611: $? = 0
332 configure:3614: test -z || test ! -s conftest.err
333 configure:3617: $? = 0
334 configure:3620: test -s conftest.o
335 configure:3623: $? = 0
336 configure:3633: result: yes
337 configure:3637: checking time.h presence
338 configure:3647: gcc -E conftest.c
339 configure:3653: $? = 0
340 configure:3673: result: yes
341 configure:3708: checking for time.h
342 configure:3715: result: yes
343 configure:3593: checking errno.h usability
344 configure:3605: gcc -c -g -O2 conftest.c >&5
345 configure:3611: $? = 0
346 configure:3614: test -z || test ! -s conftest.err
347 configure:3617: $? = 0
348 configure:3620: test -s conftest.o
349 configure:3623: $? = 0
350 configure:3633: result: yes
351 configure:3637: checking errno.h presence
352 configure:3647: gcc -E conftest.c
353 configure:3653: $? = 0
354 configure:3673: result: yes
355 configure:3708: checking for errno.h
356 configure:3715: result: yes
357 configure:3584: checking for sys/types.h
358 configure:3589: result: yes
359 configure:3584: checking for sys/stat.h
360 configure:3589: result: yes
361 configure:3593: checking netinet/in.h usability
362 configure:3605: gcc -c -g -O2 conftest.c >&5
363 configure:3611: $? = 0
364 configure:3614: test -z || test ! -s conftest.err
365 configure:3617: $? = 0
366 configure:3620: test -s conftest.o
367 configure:3623: $? = 0
368 configure:3633: result: yes
369 configure:3637: checking netinet/in.h presence
370 configure:3647: gcc -E conftest.c
371 configure:3653: $? = 0
372 configure:3673: result: yes
373 configure:3708: checking for netinet/in.h
374 configure:3715: result: yes
375 configure:3593: checking math.h usability
376 configure:3605: gcc -c -g -O2 conftest.c >&5
377 configure:3611: $? = 0
378 configure:3614: test -z || test ! -s conftest.err
379 configure:3617: $? = 0
380 configure:3620: test -s conftest.o
381 configure:3623: $? = 0
382 configure:3633: result: yes
383 configure:3637: checking math.h presence
384 configure:3647: gcc -E conftest.c
385 configure:3653: $? = 0
386 configure:3673: result: yes
387 configure:3708: checking for math.h
388 configure:3715: result: yes
389 configure:3593: checking sys/socket.h usability
390 configure:3605: gcc -c -g -O2 conftest.c >&5
391 configure:3611: $? = 0
392 configure:3614: test -z || test ! -s conftest.err
393 configure:3617: $? = 0
394 configure:3620: test -s conftest.o
395 configure:3623: $? = 0
396 configure:3633: result: yes
397 configure:3637: checking sys/socket.h presence
398 configure:3647: gcc -E conftest.c
399 configure:3653: $? = 0
400 configure:3673: result: yes
401 configure:3708: checking for sys/socket.h
402 configure:3715: result: yes
403 configure:3593: checking dirent.h usability
404 configure:3605: gcc -c -g -O2 conftest.c >&5
405 configure:3611: $? = 0
406 configure:3614: test -z || test ! -s conftest.err
407 configure:3617: $? = 0
408 configure:3620: test -s conftest.o
409 configure:3623: $? = 0
410 configure:3633: result: yes
411 configure:3637: checking dirent.h presence
412 configure:3647: gcc -E conftest.c
413 configure:3653: $? = 0
414 configure:3673: result: yes
415 configure:3708: checking for dirent.h
416 configure:3715: result: yes
417 configure:3593: checking ctype.h usability
418 configure:3605: gcc -c -g -O2 conftest.c >&5
419 configure:3611: $? = 0
420 configure:3614: test -z || test ! -s conftest.err
421 configure:3617: $? = 0
422 configure:3620: test -s conftest.o
423 configure:3623: $? = 0
424 configure:3633: result: yes
425 configure:3637: checking ctype.h presence
426 configure:3647: gcc -E conftest.c
427 configure:3653: $? = 0
428 configure:3673: result: yes
429 configure:3708: checking for ctype.h
430 configure:3715: result: yes
431 configure:3593: checking mtent.h usability
432 configure:3605: gcc -c -g -O2 conftest.c >&5
433 conftest.c:71:19: mtent.h: No such file or directory
434 configure:3611: $? = 1
435 configure: failed program was:
436 | /* confdefs.h. */
437 |
438 | #define PACKAGE_NAME ""
439 | #define PACKAGE_TARNAME ""
440 | #define PACKAGE_VERSION ""
441 | #define PACKAGE_STRING ""
442 | #define PACKAGE_BUGREPORT ""
443 | #define PACKAGE "zabbix"
444 | #define VERSION "1.4.6"
445 | #define STDC_HEADERS 1
446 | #define HAVE_SYS_TYPES_H 1
447 | #define HAVE_SYS_STAT_H 1
448 | #define HAVE_STDLIB_H 1
449 | #define HAVE_STRING_H 1
450 | #define HAVE_MEMORY_H 1
451 | #define HAVE_STRINGS_H 1
452 | #define HAVE_INTTYPES_H 1
453 | #define HAVE_STDINT_H 1
454 | #define HAVE_UNISTD_H 1
455 | #define HAVE_STDIO_H 1
456 | #define HAVE_STDLIB_H 1
457 | #define HAVE_STRING_H 1
458 | #define HAVE_UNISTD_H 1
459 | #define HAVE_NETDB_H 1
460 | #define HAVE_SIGNAL_H 1
461 | #define HAVE_SYSLOG_H 1
462 | #define HAVE_TIME_H 1
463 | #define HAVE_ERRNO_H 1
464 | #define HAVE_SYS_TYPES_H 1
465 | #define HAVE_SYS_STAT_H 1
466 | #define HAVE_NETINET_IN_H 1
467 | #define HAVE_MATH_H 1
468 | #define HAVE_SYS_SOCKET_H 1
469 | #define HAVE_DIRENT_H 1
470 | #define HAVE_CTYPE_H 1
471 | /* end confdefs.h. */
472 | #include <stdio.h>
473 | #if HAVE_SYS_TYPES_H
474 | # include <sys/types.h>
475 | #endif
476 | #if HAVE_SYS_STAT_H
477 | # include <sys/stat.h>
478 | #endif
479 | #if STDC_HEADERS
480 | # include <stdlib.h>
481 | # include <stddef.h>
482 | #else
483 | # if HAVE_STDLIB_H
484 | # include <stdlib.h>
485 | # endif
486 | #endif
487 | #if HAVE_STRING_H
488 | # if !STDC_HEADERS && HAVE_MEMORY_H
489 | # include <memory.h>
490 | # endif
491 | # include <string.h>
492 | #endif
493 | #if HAVE_STRINGS_H
494 | # include <strings.h>
495 | #endif
496 | #if HAVE_INTTYPES_H
497 | # include <inttypes.h>
498 | #else
499 | # if HAVE_STDINT_H
500 | # include <stdint.h>
501 | # endif
502 | #endif
503 | #if HAVE_UNISTD_H
504 | # include <unistd.h>
505 | #endif
506 | #include <mtent.h>
507 configure:3633: result: no
508 configure:3637: checking mtent.h presence
509 configure:3647: gcc -E conftest.c
510 conftest.c:37:19: mtent.h: No such file or directory
511 configure:3653: $? = 1
512 configure: failed program was:
513 | /* confdefs.h. */
514 |
515 | #define PACKAGE_NAME ""
516 | #define PACKAGE_TARNAME ""
517 | #define PACKAGE_VERSION ""
518 | #define PACKAGE_STRING ""
519 | #define PACKAGE_BUGREPORT ""
520 | #define PACKAGE "zabbix"
521 | #define VERSION "1.4.6"
522 | #define STDC_HEADERS 1
523 | #define HAVE_SYS_TYPES_H 1
524 | #define HAVE_SYS_STAT_H 1
525 | #define HAVE_STDLIB_H 1
526 | #define HAVE_STRING_H 1
527 | #define HAVE_MEMORY_H 1
528 | #define HAVE_STRINGS_H 1
529 | #define HAVE_INTTYPES_H 1
530 | #define HAVE_STDINT_H 1
531 | #define HAVE_UNISTD_H 1
532 | #define HAVE_STDIO_H 1
533 | #define HAVE_STDLIB_H 1
534 | #define HAVE_STRING_H 1
535 | #define HAVE_UNISTD_H 1
536 | #define HAVE_NETDB_H 1
537 | #define HAVE_SIGNAL_H 1
538 | #define HAVE_SYSLOG_H 1
539 | #define HAVE_TIME_H 1
540 | #define HAVE_ERRNO_H 1
541 | #define HAVE_SYS_TYPES_H 1
542 | #define HAVE_SYS_STAT_H 1
543 | #define HAVE_NETINET_IN_H 1
544 | #define HAVE_MATH_H 1
545 | #define HAVE_SYS_SOCKET_H 1
546 | #define HAVE_DIRENT_H 1
547 | #define HAVE_CTYPE_H 1
548 | /* end confdefs.h. */
549 | #include <mtent.h>
550 configure:3673: result: no
551 configure:3708: checking for mtent.h
552 configure:3715: result: no
553 configure:3593: checking fcntl.h usability
554 configure:3605: gcc -c -g -O2 conftest.c >&5
555 configure:3611: $? = 0
556 configure:3614: test -z || test ! -s conftest.err
557 configure:3617: $? = 0
558 configure:3620: test -s conftest.o
559 configure:3623: $? = 0
560 configure:3633: result: yes
561 configure:3637: checking fcntl.h presence
562 configure:3647: gcc -E conftest.c
563 configure:3653: $? = 0
564 configure:3673: result: yes
565 configure:3708: checking for fcntl.h
566 configure:3715: result: yes
567 configure:3593: checking sys/param.h usability
568 configure:3605: gcc -c -g -O2 conftest.c >&5
569 configure:3611: $? = 0
570 configure:3614: test -z || test ! -s conftest.err
571 configure:3617: $? = 0
572 configure:3620: test -s conftest.o
573 configure:3623: $? = 0
574 configure:3633: result: yes
575 configure:3637: checking sys/param.h presence
576 configure:3647: gcc -E conftest.c
577 configure:3653: $? = 0
578 configure:3673: result: yes
579 configure:3708: checking for sys/param.h
580 configure:3715: result: yes
581 configure:3593: checking sys/mount.h usability
582 configure:3605: gcc -c -g -O2 conftest.c >&5
583 configure:3611: $? = 0
584 configure:3614: test -z || test ! -s conftest.err
585 configure:3617: $? = 0
586 configure:3620: test -s conftest.o
587 configure:3623: $? = 0
588 configure:3633: result: yes
589 configure:3637: checking sys/mount.h presence
590 configure:3647: gcc -E conftest.c
591 configure:3653: $? = 0
592 configure:3673: result: yes
593 configure:3708: checking for sys/mount.h
594 configure:3715: result: yes
595 configure:3593: checking arpa/inet.h usability
596 configure:3605: gcc -c -g -O2 conftest.c >&5
597 configure:3611: $? = 0
598 configure:3614: test -z || test ! -s conftest.err
599 configure:3617: $? = 0
600 configure:3620: test -s conftest.o
601 configure:3623: $? = 0
602 configure:3633: result: yes
603 configure:3637: checking arpa/inet.h presence
604 configure:3647: gcc -E conftest.c
605 configure:3653: $? = 0
606 configure:3673: result: yes
607 configure:3708: checking for arpa/inet.h
608 configure:3715: result: yes
609 configure:3593: checking sys/vfs.h usability
610 configure:3605: gcc -c -g -O2 conftest.c >&5
611 configure:3611: $? = 0
612 configure:3614: test -z || test ! -s conftest.err
613 configure:3617: $? = 0
614 configure:3620: test -s conftest.o
615 configure:3623: $? = 0
616 configure:3633: result: yes
617 configure:3637: checking sys/vfs.h presence
618 configure:3647: gcc -E conftest.c
619 configure:3653: $? = 0
620 configure:3673: result: yes
621 configure:3708: checking for sys/vfs.h
622 configure:3715: result: yes
623 configure:3593: checking sys/pstat.h usability
624 configure:3605: gcc -c -g -O2 conftest.c >&5
625 conftest.c:76:23: sys/pstat.h: No such file or directory
626 configure:3611: $? = 1
627 configure: failed program was:
628 | /* confdefs.h. */
629 |
630 | #define PACKAGE_NAME ""
631 | #define PACKAGE_TARNAME ""
632 | #define PACKAGE_VERSION ""
633 | #define PACKAGE_STRING ""
634 | #define PACKAGE_BUGREPORT ""
635 | #define PACKAGE "zabbix"
636 | #define VERSION "1.4.6"
637 | #define STDC_HEADERS 1
638 | #define HAVE_SYS_TYPES_H 1
639 | #define HAVE_SYS_STAT_H 1
640 | #define HAVE_STDLIB_H 1
641 | #define HAVE_STRING_H 1
642 | #define HAVE_MEMORY_H 1
643 | #define HAVE_STRINGS_H 1
644 | #define HAVE_INTTYPES_H 1
645 | #define HAVE_STDINT_H 1
646 | #define HAVE_UNISTD_H 1
647 | #define HAVE_STDIO_H 1
648 | #define HAVE_STDLIB_H 1
649 | #define HAVE_STRING_H 1
650 | #define HAVE_UNISTD_H 1
651 | #define HAVE_NETDB_H 1
652 | #define HAVE_SIGNAL_H 1
653 | #define HAVE_SYSLOG_H 1
654 | #define HAVE_TIME_H 1
655 | #define HAVE_ERRNO_H 1
656 | #define HAVE_SYS_TYPES_H 1
657 | #define HAVE_SYS_STAT_H 1
658 | #define HAVE_NETINET_IN_H 1
659 | #define HAVE_MATH_H 1
660 | #define HAVE_SYS_SOCKET_H 1
661 | #define HAVE_DIRENT_H 1
662 | #define HAVE_CTYPE_H 1
663 | #define HAVE_FCNTL_H 1
664 | #define HAVE_SYS_PARAM_H 1
665 | #define HAVE_SYS_MOUNT_H 1
666 | #define HAVE_ARPA_INET_H 1
667 | #define HAVE_SYS_VFS_H 1
668 | /* end confdefs.h. */
669 | #include <stdio.h>
670 | #if HAVE_SYS_TYPES_H
671 | # include <sys/types.h>
672 | #endif
673 | #if HAVE_SYS_STAT_H
674 | # include <sys/stat.h>
675 | #endif
676 | #if STDC_HEADERS
677 | # include <stdlib.h>
678 | # include <stddef.h>
679 | #else
680 | # if HAVE_STDLIB_H
681 | # include <stdlib.h>
682 | # endif
683 | #endif
684 | #if HAVE_STRING_H
685 | # if !STDC_HEADERS && HAVE_MEMORY_H
686 | # include <memory.h>
687 | # endif
688 | # include <string.h>
689 | #endif
690 | #if HAVE_STRINGS_H
691 | # include <strings.h>
692 | #endif
693 | #if HAVE_INTTYPES_H
694 | # include <inttypes.h>
695 | #else
696 | # if HAVE_STDINT_H
697 | # include <stdint.h>
698 | # endif
699 | #endif
700 | #if HAVE_UNISTD_H
701 | # include <unistd.h>
702 | #endif
703 | #include <sys/pstat.h>
704 configure:3633: result: no
705 configure:3637: checking sys/pstat.h presence
706 configure:3647: gcc -E conftest.c
707 conftest.c:42:23: sys/pstat.h: No such file or directory
708 configure:3653: $? = 1
709 configure: failed program was:
710 | /* confdefs.h. */
711 |
712 | #define PACKAGE_NAME ""
713 | #define PACKAGE_TARNAME ""
714 | #define PACKAGE_VERSION ""
715 | #define PACKAGE_STRING ""
716 | #define PACKAGE_BUGREPORT ""
717 | #define PACKAGE "zabbix"
718 | #define VERSION "1.4.6"
719 | #define STDC_HEADERS 1
720 | #define HAVE_SYS_TYPES_H 1
721 | #define HAVE_SYS_STAT_H 1
722 | #define HAVE_STDLIB_H 1
723 | #define HAVE_STRING_H 1
724 | #define HAVE_MEMORY_H 1
725 | #define HAVE_STRINGS_H 1
726 | #define HAVE_INTTYPES_H 1
727 | #define HAVE_STDINT_H 1
728 | #define HAVE_UNISTD_H 1
729 | #define HAVE_STDIO_H 1
730 | #define HAVE_STDLIB_H 1
731 | #define HAVE_STRING_H 1
732 | #define HAVE_UNISTD_H 1
733 | #define HAVE_NETDB_H 1
734 | #define HAVE_SIGNAL_H 1
735 | #define HAVE_SYSLOG_H 1
736 | #define HAVE_TIME_H 1
737 | #define HAVE_ERRNO_H 1
738 | #define HAVE_SYS_TYPES_H 1
739 | #define HAVE_SYS_STAT_H 1
740 | #define HAVE_NETINET_IN_H 1
741 | #define HAVE_MATH_H 1
742 | #define HAVE_SYS_SOCKET_H 1
743 | #define HAVE_DIRENT_H 1
744 | #define HAVE_CTYPE_H 1
745 | #define HAVE_FCNTL_H 1
746 | #define HAVE_SYS_PARAM_H 1
747 | #define HAVE_SYS_MOUNT_H 1
748 | #define HAVE_ARPA_INET_H 1
749 | #define HAVE_SYS_VFS_H 1
750 | /* end confdefs.h. */
751 | #include <sys/pstat.h>
752 configure:3673: result: no
753 configure:3708: checking for sys/pstat.h
754 configure:3715: result: no
755 configure:3593: checking sys/sysinfo.h usability
756 configure:3605: gcc -c -g -O2 conftest.c >&5
757 configure:3611: $? = 0
758 configure:3614: test -z || test ! -s conftest.err
759 configure:3617: $? = 0
760 configure:3620: test -s conftest.o
761 configure:3623: $? = 0
762 configure:3633: result: yes
763 configure:3637: checking sys/sysinfo.h presence
764 configure:3647: gcc -E conftest.c
765 configure:3653: $? = 0
766 configure:3673: result: yes
767 configure:3708: checking for sys/sysinfo.h
768 configure:3715: result: yes
769 configure:3593: checking sys/statvfs.h usability
770 configure:3605: gcc -c -g -O2 conftest.c >&5
771 configure:3611: $? = 0
772 configure:3614: test -z || test ! -s conftest.err
773 configure:3617: $? = 0
774 configure:3620: test -s conftest.o
775 configure:3623: $? = 0
776 configure:3633: result: yes
777 configure:3637: checking sys/statvfs.h presence
778 configure:3647: gcc -E conftest.c
779 configure:3653: $? = 0
780 configure:3673: result: yes
781 configure:3708: checking for sys/statvfs.h
782 configure:3715: result: yes
783 configure:3584: checking for sys/socket.h
784 configure:3589: result: yes
785 configure:3593: checking sys/loadavg.h usability
786 configure:3605: gcc -c -g -O2 conftest.c >&5
787 configure:3611: $? = 0
788 configure:3614: test -z || test ! -s conftest.err
789 configure:3617: $? = 0
790 configure:3620: test -s conftest.o
791 configure:3623: $? = 0
792 configure:3633: result: yes
793 configure:3637: checking sys/loadavg.h presence
794 configure:3647: gcc -E conftest.c
795 configure:3653: $? = 0
796 configure:3673: result: yes
797 configure:3708: checking for sys/loadavg.h
798 configure:3715: result: yes
799 configure:3584: checking for netinet/in.h
800 configure:3589: result: yes
801 configure:3584: checking for arpa/inet.h
802 configure:3589: result: yes
803 configure:3593: checking sys/swap.h usability
804 configure:3605: gcc -c -g -O2 conftest.c >&5
805 configure:3611: $? = 0
806 configure:3614: test -z || test ! -s conftest.err
807 configure:3617: $? = 0
808 configure:3620: test -s conftest.o
809 configure:3623: $? = 0
810 configure:3633: result: yes
811 configure:3637: checking sys/swap.h presence
812 configure:3647: gcc -E conftest.c
813 configure:3653: $? = 0
814 configure:3673: result: yes
815 configure:3708: checking for sys/swap.h
816 configure:3715: result: yes
817 configure:3593: checking sys/vmmeter.h usability
818 configure:3605: gcc -c -g -O2 conftest.c >&5
819 configure:3611: $? = 0
820 configure:3614: test -z || test ! -s conftest.err
821 configure:3617: $? = 0
822 configure:3620: test -s conftest.o
823 configure:3623: $? = 0
824 configure:3633: result: yes
825 configure:3637: checking sys/vmmeter.h presence
826 configure:3647: gcc -E conftest.c
827 configure:3653: $? = 0
828 configure:3673: result: yes
829 configure:3708: checking for sys/vmmeter.h
830 configure:3715: result: yes
831 configure:3584: checking for strings.h
832 configure:3589: result: yes
833 configure:3593: checking sys/sysctl.h usability
834 configure:3605: gcc -c -g -O2 conftest.c >&5
835 conftest.c:85:24: sys/sysctl.h: No such file or directory
836 configure:3611: $? = 1
837 configure: failed program was:
838 | /* confdefs.h. */
839 |
840 | #define PACKAGE_NAME ""
841 | #define PACKAGE_TARNAME ""
842 | #define PACKAGE_VERSION ""
843 | #define PACKAGE_STRING ""
844 | #define PACKAGE_BUGREPORT ""
845 | #define PACKAGE "zabbix"
846 | #define VERSION "1.4.6"
847 | #define STDC_HEADERS 1
848 | #define HAVE_SYS_TYPES_H 1
849 | #define HAVE_SYS_STAT_H 1
850 | #define HAVE_STDLIB_H 1
851 | #define HAVE_STRING_H 1
852 | #define HAVE_MEMORY_H 1
853 | #define HAVE_STRINGS_H 1
854 | #define HAVE_INTTYPES_H 1
855 | #define HAVE_STDINT_H 1
856 | #define HAVE_UNISTD_H 1
857 | #define HAVE_STDIO_H 1
858 | #define HAVE_STDLIB_H 1
859 | #define HAVE_STRING_H 1
860 | #define HAVE_UNISTD_H 1
861 | #define HAVE_NETDB_H 1
862 | #define HAVE_SIGNAL_H 1
863 | #define HAVE_SYSLOG_H 1
864 | #define HAVE_TIME_H 1
865 | #define HAVE_ERRNO_H 1
866 | #define HAVE_SYS_TYPES_H 1
867 | #define HAVE_SYS_STAT_H 1
868 | #define HAVE_NETINET_IN_H 1
869 | #define HAVE_MATH_H 1
870 | #define HAVE_SYS_SOCKET_H 1
871 | #define HAVE_DIRENT_H 1
872 | #define HAVE_CTYPE_H 1
873 | #define HAVE_FCNTL_H 1
874 | #define HAVE_SYS_PARAM_H 1
875 | #define HAVE_SYS_MOUNT_H 1
876 | #define HAVE_ARPA_INET_H 1
877 | #define HAVE_SYS_VFS_H 1
878 | #define HAVE_SYS_SYSINFO_H 1
879 | #define HAVE_SYS_STATVFS_H 1
880 | #define HAVE_SYS_SOCKET_H 1
881 | #define HAVE_SYS_LOADAVG_H 1
882 | #define HAVE_NETINET_IN_H 1
883 | #define HAVE_ARPA_INET_H 1
884 | #define HAVE_SYS_SWAP_H 1
885 | #define HAVE_SYS_VMMETER_H 1
886 | #define HAVE_STRINGS_H 1
887 | /* end confdefs.h. */
888 | #include <stdio.h>
889 | #if HAVE_SYS_TYPES_H
890 | # include <sys/types.h>
891 | #endif
892 | #if HAVE_SYS_STAT_H
893 | # include <sys/stat.h>
894 | #endif
895 | #if STDC_HEADERS
896 | # include <stdlib.h>
897 | # include <stddef.h>
898 | #else
899 | # if HAVE_STDLIB_H
900 | # include <stdlib.h>
901 | # endif
902 | #endif
903 | #if HAVE_STRING_H
904 | # if !STDC_HEADERS && HAVE_MEMORY_H
905 | # include <memory.h>
906 | # endif
907 | # include <string.h>
908 | #endif
909 | #if HAVE_STRINGS_H
910 | # include <strings.h>
911 | #endif
912 | #if HAVE_INTTYPES_H
913 | # include <inttypes.h>
914 | #else
915 | # if HAVE_STDINT_H
916 | # include <stdint.h>
917 | # endif
918 | #endif
919 | #if HAVE_UNISTD_H
920 | # include <unistd.h>
921 | #endif
922 | #include <sys/sysctl.h>
923 configure:3633: result: no
924 configure:3637: checking sys/sysctl.h presence
925 configure:3647: gcc -E conftest.c
926 conftest.c:51:24: sys/sysctl.h: No such file or directory
927 configure:3653: $? = 1
928 configure: failed program was:
929 | /* confdefs.h. */
930 |
931 | #define PACKAGE_NAME ""
932 | #define PACKAGE_TARNAME ""
933 | #define PACKAGE_VERSION ""
934 | #define PACKAGE_STRING ""
935 | #define PACKAGE_BUGREPORT ""
936 | #define PACKAGE "zabbix"
937 | #define VERSION "1.4.6"
938 | #define STDC_HEADERS 1
939 | #define HAVE_SYS_TYPES_H 1
940 | #define HAVE_SYS_STAT_H 1
941 | #define HAVE_STDLIB_H 1
942 | #define HAVE_STRING_H 1
943 | #define HAVE_MEMORY_H 1
944 | #define HAVE_STRINGS_H 1
945 | #define HAVE_INTTYPES_H 1
946 | #define HAVE_STDINT_H 1
947 | #define HAVE_UNISTD_H 1
948 | #define HAVE_STDIO_H 1
949 | #define HAVE_STDLIB_H 1
950 | #define HAVE_STRING_H 1
951 | #define HAVE_UNISTD_H 1
952 | #define HAVE_NETDB_H 1
953 | #define HAVE_SIGNAL_H 1
954 | #define HAVE_SYSLOG_H 1
955 | #define HAVE_TIME_H 1
956 | #define HAVE_ERRNO_H 1
957 | #define HAVE_SYS_TYPES_H 1
958 | #define HAVE_SYS_STAT_H 1
959 | #define HAVE_NETINET_IN_H 1
960 | #define HAVE_MATH_H 1
961 | #define HAVE_SYS_SOCKET_H 1
962 | #define HAVE_DIRENT_H 1
963 | #define HAVE_CTYPE_H 1
964 | #define HAVE_FCNTL_H 1
965 | #define HAVE_SYS_PARAM_H 1
966 | #define HAVE_SYS_MOUNT_H 1
967 | #define HAVE_ARPA_INET_H 1
968 | #define HAVE_SYS_VFS_H 1
969 | #define HAVE_SYS_SYSINFO_H 1
970 | #define HAVE_SYS_STATVFS_H 1
971 | #define HAVE_SYS_SOCKET_H 1
972 | #define HAVE_SYS_LOADAVG_H 1
973 | #define HAVE_NETINET_IN_H 1
974 | #define HAVE_ARPA_INET_H 1
975 | #define HAVE_SYS_SWAP_H 1
976 | #define HAVE_SYS_VMMETER_H 1
977 | #define HAVE_STRINGS_H 1
978 | /* end confdefs.h. */
979 | #include <sys/sysctl.h>
980 configure:3673: result: no
981 configure:3708: checking for sys/sysctl.h
982 configure:3715: result: no
983 configure:3593: checking vm/vm_param.h usability
984 configure:3605: gcc -c -g -O2 conftest.c >&5
985 conftest.c:85:25: vm/vm_param.h: No such file or directory
986 configure:3611: $? = 1
987 configure: failed program was:
988 | /* confdefs.h. */
989 |
990 | #define PACKAGE_NAME ""
991 | #define PACKAGE_TARNAME ""
992 | #define PACKAGE_VERSION ""
993 | #define PACKAGE_STRING ""
994 | #define PACKAGE_BUGREPORT ""
995 | #define PACKAGE "zabbix"
996 | #define VERSION "1.4.6"
997 | #define STDC_HEADERS 1
998 | #define HAVE_SYS_TYPES_H 1
999 | #define HAVE_SYS_STAT_H 1
1000 | #define HAVE_STDLIB_H 1
1001 | #define HAVE_STRING_H 1
1002 | #define HAVE_MEMORY_H 1
1003 | #define HAVE_STRINGS_H 1
1004 | #define HAVE_INTTYPES_H 1
1005 | #define HAVE_STDINT_H 1
1006 | #define HAVE_UNISTD_H 1
1007 | #define HAVE_STDIO_H 1
1008 | #define HAVE_STDLIB_H 1
1009 | #define HAVE_STRING_H 1
1010 | #define HAVE_UNISTD_H 1
1011 | #define HAVE_NETDB_H 1
1012 | #define HAVE_SIGNAL_H 1
1013 | #define HAVE_SYSLOG_H 1
1014 | #define HAVE_TIME_H 1
1015 | #define HAVE_ERRNO_H 1
1016 | #define HAVE_SYS_TYPES_H 1
1017 | #define HAVE_SYS_STAT_H 1
1018 | #define HAVE_NETINET_IN_H 1
1019 | #define HAVE_MATH_H 1
1020 | #define HAVE_SYS_SOCKET_H 1
1021 | #define HAVE_DIRENT_H 1
1022 | #define HAVE_CTYPE_H 1
1023 | #define HAVE_FCNTL_H 1
1024 | #define HAVE_SYS_PARAM_H 1
1025 | #define HAVE_SYS_MOUNT_H 1
1026 | #define HAVE_ARPA_INET_H 1
1027 | #define HAVE_SYS_VFS_H 1
1028 | #define HAVE_SYS_SYSINFO_H 1
1029 | #define HAVE_SYS_STATVFS_H 1
1030 | #define HAVE_SYS_SOCKET_H 1
1031 | #define HAVE_SYS_LOADAVG_H 1
1032 | #define HAVE_NETINET_IN_H 1
1033 | #define HAVE_ARPA_INET_H 1
1034 | #define HAVE_SYS_SWAP_H 1
1035 | #define HAVE_SYS_VMMETER_H 1
1036 | #define HAVE_STRINGS_H 1
1037 | /* end confdefs.h. */
1038 | #include <stdio.h>
1039 | #if HAVE_SYS_TYPES_H
1040 | # include <sys/types.h>
1041 | #endif
1042 | #if HAVE_SYS_STAT_H
1043 | # include <sys/stat.h>
1044 | #endif
1045 | #if STDC_HEADERS
1046 | # include <stdlib.h>
1047 | # include <stddef.h>
1048 | #else
1049 | # if HAVE_STDLIB_H
1050 | # include <stdlib.h>
1051 | # endif
1052 | #endif
1053 | #if HAVE_STRING_H
1054 | # if !STDC_HEADERS && HAVE_MEMORY_H
1055 | # include <memory.h>
1056 | # endif
1057 | # include <string.h>
1058 | #endif
1059 | #if HAVE_STRINGS_H
1060 | # include <strings.h>
1061 | #endif
1062 | #if HAVE_INTTYPES_H
1063 | # include <inttypes.h>
1064 | #else
1065 | # if HAVE_STDINT_H
1066 | # include <stdint.h>
1067 | # endif
1068 | #endif
1069 | #if HAVE_UNISTD_H
1070 | # include <unistd.h>
1071 | #endif
1072 | #include <vm/vm_param.h>
1073 configure:3633: result: no
1074 configure:3637: checking vm/vm_param.h presence
1075 configure:3647: gcc -E conftest.c
1076 conftest.c:51:25: vm/vm_param.h: No such file or directory
1077 configure:3653: $? = 1
1078 configure: failed program was:
1079 | /* confdefs.h. */
1080 |
1081 | #define PACKAGE_NAME ""
1082 | #define PACKAGE_TARNAME ""
1083 | #define PACKAGE_VERSION ""
1084 | #define PACKAGE_STRING ""
1085 | #define PACKAGE_BUGREPORT ""
1086 | #define PACKAGE "zabbix"
1087 | #define VERSION "1.4.6"
1088 | #define STDC_HEADERS 1
1089 | #define HAVE_SYS_TYPES_H 1
1090 | #define HAVE_SYS_STAT_H 1
1091 | #define HAVE_STDLIB_H 1
1092 | #define HAVE_STRING_H 1
1093 | #define HAVE_MEMORY_H 1
1094 | #define HAVE_STRINGS_H 1
1095 | #define HAVE_INTTYPES_H 1
1096 | #define HAVE_STDINT_H 1
1097 | #define HAVE_UNISTD_H 1
1098 | #define HAVE_STDIO_H 1
1099 | #define HAVE_STDLIB_H 1
1100 | #define HAVE_STRING_H 1
1101 | #define HAVE_UNISTD_H 1
1102 | #define HAVE_NETDB_H 1
1103 | #define HAVE_SIGNAL_H 1
1104 | #define HAVE_SYSLOG_H 1
1105 | #define HAVE_TIME_H 1
1106 | #define HAVE_ERRNO_H 1
1107 | #define HAVE_SYS_TYPES_H 1
1108 | #define HAVE_SYS_STAT_H 1
1109 | #define HAVE_NETINET_IN_H 1
1110 | #define HAVE_MATH_H 1
1111 | #define HAVE_SYS_SOCKET_H 1
1112 | #define HAVE_DIRENT_H 1
1113 | #define HAVE_CTYPE_H 1
1114 | #define HAVE_FCNTL_H 1
1115 | #define HAVE_SYS_PARAM_H 1
1116 | #define HAVE_SYS_MOUNT_H 1
1117 | #define HAVE_ARPA_INET_H 1
1118 | #define HAVE_SYS_VFS_H 1
1119 | #define HAVE_SYS_SYSINFO_H 1
1120 | #define HAVE_SYS_STATVFS_H 1
1121 | #define HAVE_SYS_SOCKET_H 1
1122 | #define HAVE_SYS_LOADAVG_H 1
1123 | #define HAVE_NETINET_IN_H 1
1124 | #define HAVE_ARPA_INET_H 1
1125 | #define HAVE_SYS_SWAP_H 1
1126 | #define HAVE_SYS_VMMETER_H 1
1127 | #define HAVE_STRINGS_H 1
1128 | /* end confdefs.h. */
1129 | #include <vm/vm_param.h>
1130 configure:3673: result: no
1131 configure:3708: checking for vm/vm_param.h
1132 configure:3715: result: no
1133 configure:3593: checking sys/time.h usability
1134 configure:3605: gcc -c -g -O2 conftest.c >&5
1135 configure:3611: $? = 0
1136 configure:3614: test -z || test ! -s conftest.err
1137 configure:3617: $? = 0
1138 configure:3620: test -s conftest.o
1139 configure:3623: $? = 0
1140 configure:3633: result: yes
1141 configure:3637: checking sys/time.h presence
1142 configure:3647: gcc -E conftest.c
1143 configure:3653: $? = 0
1144 configure:3673: result: yes
1145 configure:3708: checking for sys/time.h
1146 configure:3715: result: yes
1147 configure:3593: checking kstat.h usability
1148 configure:3605: gcc -c -g -O2 conftest.c >&5
1149 configure:3611: $? = 0
1150 configure:3614: test -z || test ! -s conftest.err
1151 configure:3617: $? = 0
1152 configure:3620: test -s conftest.o
1153 configure:3623: $? = 0
1154 configure:3633: result: yes
1155 configure:3637: checking kstat.h presence
1156 configure:3647: gcc -E conftest.c
1157 configure:3653: $? = 0
1158 configure:3673: result: yes
1159 configure:3708: checking for kstat.h
1160 configure:3715: result: yes
1161 configure:3593: checking sys/syscall.h usability
1162 configure:3605: gcc -c -g -O2 conftest.c >&5
1163 configure:3611: $? = 0
1164 configure:3614: test -z || test ! -s conftest.err
1165 configure:3617: $? = 0
1166 configure:3620: test -s conftest.o
1167 configure:3623: $? = 0
1168 configure:3633: result: yes
1169 configure:3637: checking sys/syscall.h presence
1170 configure:3647: gcc -E conftest.c
1171 configure:3653: $? = 0
1172 configure:3673: result: yes
1173 configure:3708: checking for sys/syscall.h
1174 configure:3715: result: yes
1175 configure:3593: checking sys/sysmacros.h usability
1176 configure:3605: gcc -c -g -O2 conftest.c >&5
1177 configure:3611: $? = 0
1178 configure:3614: test -z || test ! -s conftest.err
1179 configure:3617: $? = 0
1180 configure:3620: test -s conftest.o
1181 configure:3623: $? = 0
1182 configure:3633: result: yes
1183 configure:3637: checking sys/sysmacros.h presence
1184 configure:3647: gcc -E conftest.c
1185 configure:3653: $? = 0
1186 configure:3673: result: yes
1187 configure:3708: checking for sys/sysmacros.h
1188 configure:3715: result: yes
1189 configure:3593: checking sys/procfs.h usability
1190 configure:3605: gcc -c -g -O2 conftest.c >&5
1191 configure:3611: $? = 0
1192 configure:3614: test -z || test ! -s conftest.err
1193 configure:3617: $? = 0
1194 configure:3620: test -s conftest.o
1195 configure:3623: $? = 0
1196 configure:3633: result: yes
1197 configure:3637: checking sys/procfs.h presence
1198 configure:3647: gcc -E conftest.c
1199 configure:3653: $? = 0
1200 configure:3673: result: yes
1201 configure:3708: checking for sys/procfs.h
1202 configure:3715: result: yes
1203 configure:3584: checking for stdint.h
1204 configure:3589: result: yes
1205 configure:3593: checking mach/host_info.h usability
1206 configure:3605: gcc -c -g -O2 conftest.c >&5
1207 conftest.c:91:28: mach/host_info.h: No such file or directory
1208 configure:3611: $? = 1
1209 configure: failed program was:
1210 | /* confdefs.h. */
1211 |
1212 | #define PACKAGE_NAME ""
1213 | #define PACKAGE_TARNAME ""
1214 | #define PACKAGE_VERSION ""
1215 | #define PACKAGE_STRING ""
1216 | #define PACKAGE_BUGREPORT ""
1217 | #define PACKAGE "zabbix"
1218 | #define VERSION "1.4.6"
1219 | #define STDC_HEADERS 1
1220 | #define HAVE_SYS_TYPES_H 1
1221 | #define HAVE_SYS_STAT_H 1
1222 | #define HAVE_STDLIB_H 1
1223 | #define HAVE_STRING_H 1
1224 | #define HAVE_MEMORY_H 1
1225 | #define HAVE_STRINGS_H 1
1226 | #define HAVE_INTTYPES_H 1
1227 | #define HAVE_STDINT_H 1
1228 | #define HAVE_UNISTD_H 1
1229 | #define HAVE_STDIO_H 1
1230 | #define HAVE_STDLIB_H 1
1231 | #define HAVE_STRING_H 1
1232 | #define HAVE_UNISTD_H 1
1233 | #define HAVE_NETDB_H 1
1234 | #define HAVE_SIGNAL_H 1
1235 | #define HAVE_SYSLOG_H 1
1236 | #define HAVE_TIME_H 1
1237 | #define HAVE_ERRNO_H 1
1238 | #define HAVE_SYS_TYPES_H 1
1239 | #define HAVE_SYS_STAT_H 1
1240 | #define HAVE_NETINET_IN_H 1
1241 | #define HAVE_MATH_H 1
1242 | #define HAVE_SYS_SOCKET_H 1
1243 | #define HAVE_DIRENT_H 1
1244 | #define HAVE_CTYPE_H 1
1245 | #define HAVE_FCNTL_H 1
1246 | #define HAVE_SYS_PARAM_H 1
1247 | #define HAVE_SYS_MOUNT_H 1
1248 | #define HAVE_ARPA_INET_H 1
1249 | #define HAVE_SYS_VFS_H 1
1250 | #define HAVE_SYS_SYSINFO_H 1
1251 | #define HAVE_SYS_STATVFS_H 1
1252 | #define HAVE_SYS_SOCKET_H 1
1253 | #define HAVE_SYS_LOADAVG_H 1
1254 | #define HAVE_NETINET_IN_H 1
1255 | #define HAVE_ARPA_INET_H 1
1256 | #define HAVE_SYS_SWAP_H 1
1257 | #define HAVE_SYS_VMMETER_H 1
1258 | #define HAVE_STRINGS_H 1
1259 | #define HAVE_SYS_TIME_H 1
1260 | #define HAVE_KSTAT_H 1
1261 | #define HAVE_SYS_SYSCALL_H 1
1262 | #define HAVE_SYS_SYSMACROS_H 1
1263 | #define HAVE_SYS_PROCFS_H 1
1264 | #define HAVE_STDINT_H 1
1265 | /* end confdefs.h. */
1266 | #include <stdio.h>
1267 | #if HAVE_SYS_TYPES_H
1268 | # include <sys/types.h>
1269 | #endif
1270 | #if HAVE_SYS_STAT_H
1271 | # include <sys/stat.h>
1272 | #endif
1273 | #if STDC_HEADERS
1274 | # include <stdlib.h>
1275 | # include <stddef.h>
1276 | #else
1277 | # if HAVE_STDLIB_H
1278 | # include <stdlib.h>
1279 | # endif
1280 | #endif
1281 | #if HAVE_STRING_H
1282 | # if !STDC_HEADERS && HAVE_MEMORY_H
1283 | # include <memory.h>
1284 | # endif
1285 | # include <string.h>
1286 | #endif
1287 | #if HAVE_STRINGS_H
1288 | # include <strings.h>
1289 | #endif
1290 | #if HAVE_INTTYPES_H
1291 | # include <inttypes.h>
1292 | #else
1293 | # if HAVE_STDINT_H
1294 | # include <stdint.h>
1295 | # endif
1296 | #endif
1297 | #if HAVE_UNISTD_H
1298 | # include <unistd.h>
1299 | #endif
1300 | #include <mach/host_info.h>
1301 configure:3633: result: no
1302 configure:3637: checking mach/host_info.h presence
1303 configure:3647: gcc -E conftest.c
1304 conftest.c:57:28: mach/host_info.h: No such file or directory
1305 configure:3653: $? = 1
1306 configure: failed program was:
1307 | /* confdefs.h. */
1308 |
1309 | #define PACKAGE_NAME ""
1310 | #define PACKAGE_TARNAME ""
1311 | #define PACKAGE_VERSION ""
1312 | #define PACKAGE_STRING ""
1313 | #define PACKAGE_BUGREPORT ""
1314 | #define PACKAGE "zabbix"
1315 | #define VERSION "1.4.6"
1316 | #define STDC_HEADERS 1
1317 | #define HAVE_SYS_TYPES_H 1
1318 | #define HAVE_SYS_STAT_H 1
1319 | #define HAVE_STDLIB_H 1
1320 | #define HAVE_STRING_H 1
1321 | #define HAVE_MEMORY_H 1
1322 | #define HAVE_STRINGS_H 1
1323 | #define HAVE_INTTYPES_H 1
1324 | #define HAVE_STDINT_H 1
1325 | #define HAVE_UNISTD_H 1
1326 | #define HAVE_STDIO_H 1
1327 | #define HAVE_STDLIB_H 1
1328 | #define HAVE_STRING_H 1
1329 | #define HAVE_UNISTD_H 1
1330 | #define HAVE_NETDB_H 1
1331 | #define HAVE_SIGNAL_H 1
1332 | #define HAVE_SYSLOG_H 1
1333 | #define HAVE_TIME_H 1
1334 | #define HAVE_ERRNO_H 1
1335 | #define HAVE_SYS_TYPES_H 1
1336 | #define HAVE_SYS_STAT_H 1
1337 | #define HAVE_NETINET_IN_H 1
1338 | #define HAVE_MATH_H 1
1339 | #define HAVE_SYS_SOCKET_H 1
1340 | #define HAVE_DIRENT_H 1
1341 | #define HAVE_CTYPE_H 1
1342 | #define HAVE_FCNTL_H 1
1343 | #define HAVE_SYS_PARAM_H 1
1344 | #define HAVE_SYS_MOUNT_H 1
1345 | #define HAVE_ARPA_INET_H 1
1346 | #define HAVE_SYS_VFS_H 1
1347 | #define HAVE_SYS_SYSINFO_H 1
1348 | #define HAVE_SYS_STATVFS_H 1
1349 | #define HAVE_SYS_SOCKET_H 1
1350 | #define HAVE_SYS_LOADAVG_H 1
1351 | #define HAVE_NETINET_IN_H 1
1352 | #define HAVE_ARPA_INET_H 1
1353 | #define HAVE_SYS_SWAP_H 1
1354 | #define HAVE_SYS_VMMETER_H 1
1355 | #define HAVE_STRINGS_H 1
1356 | #define HAVE_SYS_TIME_H 1
1357 | #define HAVE_KSTAT_H 1
1358 | #define HAVE_SYS_SYSCALL_H 1
1359 | #define HAVE_SYS_SYSMACROS_H 1
1360 | #define HAVE_SYS_PROCFS_H 1
1361 | #define HAVE_STDINT_H 1
1362 | /* end confdefs.h. */
1363 | #include <mach/host_info.h>
1364 configure:3673: result: no
1365 configure:3708: checking for mach/host_info.h
1366 configure:3715: result: no
1367 configure:3593: checking mach/mach_host.h usability
1368 configure:3605: gcc -c -g -O2 conftest.c >&5
1369 conftest.c:91:28: mach/mach_host.h: No such file or directory
1370 configure:3611: $? = 1
1371 configure: failed program was:
1372 | /* confdefs.h. */
1373 |
1374 | #define PACKAGE_NAME ""
1375 | #define PACKAGE_TARNAME ""
1376 | #define PACKAGE_VERSION ""
1377 | #define PACKAGE_STRING ""
1378 | #define PACKAGE_BUGREPORT ""
1379 | #define PACKAGE "zabbix"
1380 | #define VERSION "1.4.6"
1381 | #define STDC_HEADERS 1
1382 | #define HAVE_SYS_TYPES_H 1
1383 | #define HAVE_SYS_STAT_H 1
1384 | #define HAVE_STDLIB_H 1
1385 | #define HAVE_STRING_H 1
1386 | #define HAVE_MEMORY_H 1
1387 | #define HAVE_STRINGS_H 1
1388 | #define HAVE_INTTYPES_H 1
1389 | #define HAVE_STDINT_H 1
1390 | #define HAVE_UNISTD_H 1
1391 | #define HAVE_STDIO_H 1
1392 | #define HAVE_STDLIB_H 1
1393 | #define HAVE_STRING_H 1
1394 | #define HAVE_UNISTD_H 1
1395 | #define HAVE_NETDB_H 1
1396 | #define HAVE_SIGNAL_H 1
1397 | #define HAVE_SYSLOG_H 1
1398 | #define HAVE_TIME_H 1
1399 | #define HAVE_ERRNO_H 1
1400 | #define HAVE_SYS_TYPES_H 1
1401 | #define HAVE_SYS_STAT_H 1
1402 | #define HAVE_NETINET_IN_H 1
1403 | #define HAVE_MATH_H 1
1404 | #define HAVE_SYS_SOCKET_H 1
1405 | #define HAVE_DIRENT_H 1
1406 | #define HAVE_CTYPE_H 1
1407 | #define HAVE_FCNTL_H 1
1408 | #define HAVE_SYS_PARAM_H 1
1409 | #define HAVE_SYS_MOUNT_H 1
1410 | #define HAVE_ARPA_INET_H 1
1411 | #define HAVE_SYS_VFS_H 1
1412 | #define HAVE_SYS_SYSINFO_H 1
1413 | #define HAVE_SYS_STATVFS_H 1
1414 | #define HAVE_SYS_SOCKET_H 1
1415 | #define HAVE_SYS_LOADAVG_H 1
1416 | #define HAVE_NETINET_IN_H 1
1417 | #define HAVE_ARPA_INET_H 1
1418 | #define HAVE_SYS_SWAP_H 1
1419 | #define HAVE_SYS_VMMETER_H 1
1420 | #define HAVE_STRINGS_H 1
1421 | #define HAVE_SYS_TIME_H 1
1422 | #define HAVE_KSTAT_H 1
1423 | #define HAVE_SYS_SYSCALL_H 1
1424 | #define HAVE_SYS_SYSMACROS_H 1
1425 | #define HAVE_SYS_PROCFS_H 1
1426 | #define HAVE_STDINT_H 1
1427 | /* end confdefs.h. */
1428 | #include <stdio.h>
1429 | #if HAVE_SYS_TYPES_H
1430 | # include <sys/types.h>
1431 | #endif
1432 | #if HAVE_SYS_STAT_H
1433 | # include <sys/stat.h>
1434 | #endif
1435 | #if STDC_HEADERS
1436 | # include <stdlib.h>
1437 | # include <stddef.h>
1438 | #else
1439 | # if HAVE_STDLIB_H
1440 | # include <stdlib.h>
1441 | # endif
1442 | #endif
1443 | #if HAVE_STRING_H
1444 | # if !STDC_HEADERS && HAVE_MEMORY_H
1445 | # include <memory.h>
1446 | # endif
1447 | # include <string.h>
1448 | #endif
1449 | #if HAVE_STRINGS_H
1450 | # include <strings.h>
1451 | #endif
1452 | #if HAVE_INTTYPES_H
1453 | # include <inttypes.h>
1454 | #else
1455 | # if HAVE_STDINT_H
1456 | # include <stdint.h>
1457 | # endif
1458 | #endif
1459 | #if HAVE_UNISTD_H
1460 | # include <unistd.h>
1461 | #endif
1462 | #include <mach/mach_host.h>
1463 configure:3633: result: no
1464 configure:3637: checking mach/mach_host.h presence
1465 configure:3647: gcc -E conftest.c
1466 conftest.c:57:28: mach/mach_host.h: No such file or directory
1467 configure:3653: $? = 1
1468 configure: failed program was:
1469 | /* confdefs.h. */
1470 |
1471 | #define PACKAGE_NAME ""
1472 | #define PACKAGE_TARNAME ""
1473 | #define PACKAGE_VERSION ""
1474 | #define PACKAGE_STRING ""
1475 | #define PACKAGE_BUGREPORT ""
1476 | #define PACKAGE "zabbix"
1477 | #define VERSION "1.4.6"
1478 | #define STDC_HEADERS 1
1479 | #define HAVE_SYS_TYPES_H 1
1480 | #define HAVE_SYS_STAT_H 1
1481 | #define HAVE_STDLIB_H 1
1482 | #define HAVE_STRING_H 1
1483 | #define HAVE_MEMORY_H 1
1484 | #define HAVE_STRINGS_H 1
1485 | #define HAVE_INTTYPES_H 1
1486 | #define HAVE_STDINT_H 1
1487 | #define HAVE_UNISTD_H 1
1488 | #define HAVE_STDIO_H 1
1489 | #define HAVE_STDLIB_H 1
1490 | #define HAVE_STRING_H 1
1491 | #define HAVE_UNISTD_H 1
1492 | #define HAVE_NETDB_H 1
1493 | #define HAVE_SIGNAL_H 1
1494 | #define HAVE_SYSLOG_H 1
1495 | #define HAVE_TIME_H 1
1496 | #define HAVE_ERRNO_H 1
1497 | #define HAVE_SYS_TYPES_H 1
1498 | #define HAVE_SYS_STAT_H 1
1499 | #define HAVE_NETINET_IN_H 1
1500 | #define HAVE_MATH_H 1
1501 | #define HAVE_SYS_SOCKET_H 1
1502 | #define HAVE_DIRENT_H 1
1503 | #define HAVE_CTYPE_H 1
1504 | #define HAVE_FCNTL_H 1
1505 | #define HAVE_SYS_PARAM_H 1
1506 | #define HAVE_SYS_MOUNT_H 1
1507 | #define HAVE_ARPA_INET_H 1
1508 | #define HAVE_SYS_VFS_H 1
1509 | #define HAVE_SYS_SYSINFO_H 1
1510 | #define HAVE_SYS_STATVFS_H 1
1511 | #define HAVE_SYS_SOCKET_H 1
1512 | #define HAVE_SYS_LOADAVG_H 1
1513 | #define HAVE_NETINET_IN_H 1
1514 | #define HAVE_ARPA_INET_H 1
1515 | #define HAVE_SYS_SWAP_H 1
1516 | #define HAVE_SYS_VMMETER_H 1
1517 | #define HAVE_STRINGS_H 1
1518 | #define HAVE_SYS_TIME_H 1
1519 | #define HAVE_KSTAT_H 1
1520 | #define HAVE_SYS_SYSCALL_H 1
1521 | #define HAVE_SYS_SYSMACROS_H 1
1522 | #define HAVE_SYS_PROCFS_H 1
1523 | #define HAVE_STDINT_H 1
1524 | /* end confdefs.h. */
1525 | #include <mach/mach_host.h>
1526 configure:3673: result: no
1527 configure:3708: checking for mach/mach_host.h
1528 configure:3715: result: no
1529 configure:3593: checking knlist.h usability
1530 configure:3605: gcc -c -g -O2 conftest.c >&5
1531 conftest.c:91:20: knlist.h: No such file or directory
1532 configure:3611: $? = 1
1533 configure: failed program was:
1534 | /* confdefs.h. */
1535 |
1536 | #define PACKAGE_NAME ""
1537 | #define PACKAGE_TARNAME ""
1538 | #define PACKAGE_VERSION ""
1539 | #define PACKAGE_STRING ""
1540 | #define PACKAGE_BUGREPORT ""
1541 | #define PACKAGE "zabbix"
1542 | #define VERSION "1.4.6"
1543 | #define STDC_HEADERS 1
1544 | #define HAVE_SYS_TYPES_H 1
1545 | #define HAVE_SYS_STAT_H 1
1546 | #define HAVE_STDLIB_H 1
1547 | #define HAVE_STRING_H 1
1548 | #define HAVE_MEMORY_H 1
1549 | #define HAVE_STRINGS_H 1
1550 | #define HAVE_INTTYPES_H 1
1551 | #define HAVE_STDINT_H 1
1552 | #define HAVE_UNISTD_H 1
1553 | #define HAVE_STDIO_H 1
1554 | #define HAVE_STDLIB_H 1
1555 | #define HAVE_STRING_H 1
1556 | #define HAVE_UNISTD_H 1
1557 | #define HAVE_NETDB_H 1
1558 | #define HAVE_SIGNAL_H 1
1559 | #define HAVE_SYSLOG_H 1
1560 | #define HAVE_TIME_H 1
1561 | #define HAVE_ERRNO_H 1
1562 | #define HAVE_SYS_TYPES_H 1
1563 | #define HAVE_SYS_STAT_H 1
1564 | #define HAVE_NETINET_IN_H 1
1565 | #define HAVE_MATH_H 1
1566 | #define HAVE_SYS_SOCKET_H 1
1567 | #define HAVE_DIRENT_H 1
1568 | #define HAVE_CTYPE_H 1
1569 | #define HAVE_FCNTL_H 1
1570 | #define HAVE_SYS_PARAM_H 1
1571 | #define HAVE_SYS_MOUNT_H 1
1572 | #define HAVE_ARPA_INET_H 1
1573 | #define HAVE_SYS_VFS_H 1
1574 | #define HAVE_SYS_SYSINFO_H 1
1575 | #define HAVE_SYS_STATVFS_H 1
1576 | #define HAVE_SYS_SOCKET_H 1
1577 | #define HAVE_SYS_LOADAVG_H 1
1578 | #define HAVE_NETINET_IN_H 1
1579 | #define HAVE_ARPA_INET_H 1
1580 | #define HAVE_SYS_SWAP_H 1
1581 | #define HAVE_SYS_VMMETER_H 1
1582 | #define HAVE_STRINGS_H 1
1583 | #define HAVE_SYS_TIME_H 1
1584 | #define HAVE_KSTAT_H 1
1585 | #define HAVE_SYS_SYSCALL_H 1
1586 | #define HAVE_SYS_SYSMACROS_H 1
1587 | #define HAVE_SYS_PROCFS_H 1
1588 | #define HAVE_STDINT_H 1
1589 | /* end confdefs.h. */
1590 | #include <stdio.h>
1591 | #if HAVE_SYS_TYPES_H
1592 | # include <sys/types.h>
1593 | #endif
1594 | #if HAVE_SYS_STAT_H
1595 | # include <sys/stat.h>
1596 | #endif
1597 | #if STDC_HEADERS
1598 | # include <stdlib.h>
1599 | # include <stddef.h>
1600 | #else
1601 | # if HAVE_STDLIB_H
1602 | # include <stdlib.h>
1603 | # endif
1604 | #endif
1605 | #if HAVE_STRING_H
1606 | # if !STDC_HEADERS && HAVE_MEMORY_H
1607 | # include <memory.h>
1608 | # endif
1609 | # include <string.h>
1610 | #endif
1611 | #if HAVE_STRINGS_H
1612 | # include <strings.h>
1613 | #endif
1614 | #if HAVE_INTTYPES_H
1615 | # include <inttypes.h>
1616 | #else
1617 | # if HAVE_STDINT_H
1618 | # include <stdint.h>
1619 | # endif
1620 | #endif
1621 | #if HAVE_UNISTD_H
1622 | # include <unistd.h>
1623 | #endif
1624 | #include <knlist.h>
1625 configure:3633: result: no
1626 configure:3637: checking knlist.h presence
1627 configure:3647: gcc -E conftest.c
1628 conftest.c:57:20: knlist.h: No such file or directory
1629 configure:3653: $? = 1
1630 configure: failed program was:
1631 | /* confdefs.h. */
1632 |
1633 | #define PACKAGE_NAME ""
1634 | #define PACKAGE_TARNAME ""
1635 | #define PACKAGE_VERSION ""
1636 | #define PACKAGE_STRING ""
1637 | #define PACKAGE_BUGREPORT ""
1638 | #define PACKAGE "zabbix"
1639 | #define VERSION "1.4.6"
1640 | #define STDC_HEADERS 1
1641 | #define HAVE_SYS_TYPES_H 1
1642 | #define HAVE_SYS_STAT_H 1
1643 | #define HAVE_STDLIB_H 1
1644 | #define HAVE_STRING_H 1
1645 | #define HAVE_MEMORY_H 1
1646 | #define HAVE_STRINGS_H 1
1647 | #define HAVE_INTTYPES_H 1
1648 | #define HAVE_STDINT_H 1
1649 | #define HAVE_UNISTD_H 1
1650 | #define HAVE_STDIO_H 1
1651 | #define HAVE_STDLIB_H 1
1652 | #define HAVE_STRING_H 1
1653 | #define HAVE_UNISTD_H 1
1654 | #define HAVE_NETDB_H 1
1655 | #define HAVE_SIGNAL_H 1
1656 | #define HAVE_SYSLOG_H 1
1657 | #define HAVE_TIME_H 1
1658 | #define HAVE_ERRNO_H 1
1659 | #define HAVE_SYS_TYPES_H 1
1660 | #define HAVE_SYS_STAT_H 1
1661 | #define HAVE_NETINET_IN_H 1
1662 | #define HAVE_MATH_H 1
1663 | #define HAVE_SYS_SOCKET_H 1
1664 | #define HAVE_DIRENT_H 1
1665 | #define HAVE_CTYPE_H 1
1666 | #define HAVE_FCNTL_H 1
1667 | #define HAVE_SYS_PARAM_H 1
1668 | #define HAVE_SYS_MOUNT_H 1
1669 | #define HAVE_ARPA_INET_H 1
1670 | #define HAVE_SYS_VFS_H 1
1671 | #define HAVE_SYS_SYSINFO_H 1
1672 | #define HAVE_SYS_STATVFS_H 1
1673 | #define HAVE_SYS_SOCKET_H 1
1674 | #define HAVE_SYS_LOADAVG_H 1
1675 | #define HAVE_NETINET_IN_H 1
1676 | #define HAVE_ARPA_INET_H 1
1677 | #define HAVE_SYS_SWAP_H 1
1678 | #define HAVE_SYS_VMMETER_H 1
1679 | #define HAVE_STRINGS_H 1
1680 | #define HAVE_SYS_TIME_H 1
1681 | #define HAVE_KSTAT_H 1
1682 | #define HAVE_SYS_SYSCALL_H 1
1683 | #define HAVE_SYS_SYSMACROS_H 1
1684 | #define HAVE_SYS_PROCFS_H 1
1685 | #define HAVE_STDINT_H 1
1686 | /* end confdefs.h. */
1687 | #include <knlist.h>
1688 configure:3673: result: no

(略)

8493 #define STDC_HEADERS 1
8494 #define VERSION "1.4.6"
8495
8496 configure: exit 1

# mysqld -v
mysqld Ver 4.0.31-log for pc-solaris2.10 on i386 (Source distribution)
#
# mysql_config
Usage: /usr/sfw/bin/mysql_config [OPTIONS]
Options:
--cflags [-I/usr/sfw/include/mysql -xstrconst -mt]
--include [-I/usr/sfw/include/mysql]
--libs [-R/usr/sfw/lib -R/usr/sfw/lib/mysql -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm]
--libs_r [-R/usr/sfw/lib -R/usr/sfw/lib/mysql -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqlclient_r -lpthread -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lpthread]
--socket [/tmp/mysql.sock]
--port [3306]
--version [4.0.31]
--libmysqld-libs [-R/usr/sfw/lib -R/usr/sfw/lib/mysql -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqld -lpthread -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lrt]
#

何をつければいいのかわかりませんでした↑

/usr/local以下にmysql-5.1.30をいれてみましたが、結果はかわりませんでした。

申し訳ありませんがよろしくお願いします。

ユーザー KAZ の写真

kanaさん

config.log有難う御座います。
長さを失念致していました。すいません。
全行確認したいので、宜しければ圧縮した物を下記に送って頂けますか?
**** kanaさんよりメールが届きましたのメアドの公開を止めました ****

MySQLのversionは4.0.31のようですね。
zabbixは1.4.6がインストール対象でしょうか?

/usr/local以下にmysql-5.1.30をいれてみましたが、結果はかわりませんでした。

その際のzabbixのconfigureオプションは「--with-mysql=/usr/local/mysql/bin/mysql_config」になります。

mysql-5.1.30を入れる前にOSプリインストール版のMySQLは削除されましたか?削除しないとOSプリインストール版が優先参照されます。

ちなみに、ソラリスのバージョンはいくつですか?

ユーザー kana の写真

こんにちは
メールでconfig.logを送信いたしました。

バージョンは以下の通りです。

solarisのバージョン:10
プリンストールmysqlの削除:実施しませんでした。
(自分で追加したmysqlを、configureするときに=/usr/local・・・と記載することで優先させられると思っていたのと、削除の仕方もわからず、おこなっていません。すみませんが教えてください。)
zabbixバージョン:1.4.6

どうぞよろしくお願いします。

ユーザー KAZ の写真

プリンストールmysqlの削除:実施しませんでした。
(自分で追加したmysqlを、configureするときに=/usr/local・・・と記載することで優先させられると思っていたのと、削除の仕方もわからず、おこなっていません。すみませんが教えてください。)

「pkginfo」でMySQLのパッケージを探し、 「pkgrm パッケージ名」で削除できるかと。

私の方ではMySQLのconfigureは下記の様な感じでやってます。
<code>
./configure \
--prefix=※1 \
--with-unix-socket-path=※2 \
--with-charset=utf8 \
--with-extra-charsets=all \
--with-tcp-port=3306 \
--with-mysqld-user=mysql \
--localstatedir=※3 \
--without-bench
</code>
※1:インストール位置
※2:ソケットファイル名のFull-Path
※3:データdir

config.logは、これから確認させて頂きます。

ユーザー KAZ の写真

kanaさん

config.logを見てみました。
MySQLが原因ではないようです。-lsocketのチェックが失敗しているようです。
/var/tmpに作られた「ccq5FsW2.o」が読めないと言ってます。

4679 configure:3901: checking for library containing socket
4680 configure:3931: gcc -o conftest -g -O2 conftest.c >&5
4681 Undefined first referenced
4682 symbol in file
4683 socket /var/tmp//ccq5FsW2.o
4684 ld: fatal: Symbol referencing errors. No output written to conftest
4685 collect2: ld returned 1 exit status
4686 configure:3937: $? = 1
4687 configure: failed program was:

確認1./var/tmpは存在しますか?
確認2./var/tmpのアクセス権はconfigureを行っているアカウントでアクセス可能ですか?

ユーザー kana の写真

kazさん
こんにちは

/var/tmpは存在していて、アクセスもできました。

プリンストールされていたmysqlを削除してから、自分でインストールし直したところ、正常にzabbixのインストールまで完了しました。

しかし、
SUNWmysqluのみ依存関係の検査に失敗しました。とでてしまい、pkgrmはできませんでした。-Aをつけると強制削除できるかと思ったのですが、変わりません。

そのせいかわかりませんが、
cat create/schema/mysql.sql | mysql -u xxxxx -p xxxxx zabbix
としたところ、以下の表示になりました。
4.0.31となってしまっているのはプリインストールのmysqlをみているのでしょうか?

mysql Ver 12.22 Distrib 4.0.31, for pc-solaris2.10 (i386)
Copyright (C) 2002 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Usage: mysql [OPTIONS] [database]
-?, --help Display this help and exit.
--auto-rehash Enable automatic rehashing. One doesn't need to use
'rehash' to get table and field completion, but startup
and reconnecting may take a longer time. Disable with
--disable-auto-rehash.
-A, --no-auto-rehash
No automatic rehashing. One has to use 'rehash' to get
table and field completion. This gives a quicker start of
mysql and disables rehashing on reconnect. WARNING:
options deprecated; use --disable-auto-rehash instead.
-B, --batch Print results with a tab as separator, each row on new
line. Doesn't use history file.
--character-sets-dir=name
Directory where character sets are.
--default-character-set=name
Set the default character set.
-C, --compress Use compression in server/client protocol.
-D, --database=name Database to use.
-e, --execute=name Execute command and quit. (Output like with --batch).
-E, --vertical Print the output of a query (rows) vertically.
-f, --force Continue even if we get an sql error.
-g, --no-named-commands
Named commands are disabled. Use \* form only, or use
named commands only in the beginning of a line ending
with a semicolon (;) Since version 10.9 the client now
starts with this option ENABLED by default! Disable with
'-G'. Long format commands still work from the first
line. WARNING: option deprecated; use
--disable-named-commands instead.
-G, --named-commands
Enable named commands. Named commands mean this program's
internal commands; see mysql> help . When enabled, the
named commands can be used from any line of the query,
otherwise only from the first line, before an enter.
Disable with --disable-named-commands. This option is
disabled by default.
-i, --ignore-spaces Ignore space after function names.
--local-infile Enable/disable LOAD DATA LOCAL INFILE.
-b, --no-beep Turn off beep on error.
-h, --host=name Connect to host.
-H, --html Produce HTML output.
-X, --xml Produce XML output
--line-numbers Write line numbers for errors.
-L, --skip-line-numbers
Don't write line number for errors. WARNING: -L is
deprecated, use long version of this option instead.
--no-pager Disable pager and print to stdout. See interactive help
(\h) also. WARNING: option deprecated; use
--disable-pager instead.
--no-tee Disable outfile. See interactive help (\h) also. WARNING:
option deprecated; use --disable-tee instead
-n, --unbuffered Flush buffer after each query.
--column-names Write column names in results.
-N, --skip-column-names
Don't write column names in results. WARNING: -N is
deprecated, use long version of this options instead.
-O, --set-variable=name
Change the value of a variable. Please note that this
option is deprecated; you can set variables directly with
--variable-name=value.
-o, --one-database Only update the default database. This is useful for
skipping updates to other database in the update log.
--pager[=name] Pager to use to display results. If you don't supply an
option the default pager is taken from your ENV variable
PAGER. Valid pagers are less, more, cat [> filename],
etc. See interactive help (\h) also. This option does not
work in batch mode.
-p, --password[=name]
Password to use when connecting to server. If password is
not given it's asked from the tty.
-P, --port=# Port number to use for connection.
--prompt=name Set the mysql prompt to this value.
-q, --quick Don't cache result, print it row by row. This may slow
down the server if the output is suspended. Doesn't use
history file.
-r, --raw Write fields without conversion. Used with --batch
-s, --silent Be more silent.
-S, --socket=name Socket file to use for connection.
-t, --table Output in table format.
-T, --debug-info Print some debug info at exit.
--tee=name Append everything into outfile. See interactive help (\h)
also. Does not work in batch mode.
-u, --user=name User for login if not current user.
-U, --safe-updates Only allow UPDATE and DELETE that uses keys.
-U, --i-am-a-dummy Synonym for option --safe-updates, -U.
-v, --verbose Write more. (-v -v -v gives the table output format)
-V, --version Output version information and exit.
-w, --wait Wait and retry if connection is down.
--connect_timeout=#
--max_allowed_packet=#
--net_buffer_length=#
--select_limit=#
--max_join_size=#

Default options are read from the following files in the given order:
/etc/my.cnf /var/mysql/my.cnf ~/.my.cnf
The following groups are read: mysql client
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit
--no-defaults Don't read default options from any options file
--defaults-file=# Only read default options from the given file #
--defaults-extra-file=# Read this file after the global files are read

Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options)
--------------------------------- -----------------------------
auto-rehash FALSE
character-sets-dir (No default value)
default-character-set (No default value)
compress FALSE
database (No default value)
vertical FALSE
force FALSE
named-commands FALSE
local-infile FALSE
no-beep FALSE
host (No default value)
html FALSE
xml FALSE
line-numbers TRUE
unbuffered FALSE
column-names TRUE
port 3306
prompt mysql>
quick FALSE
raw FALSE
socket /tmp/mysql.sock
table FALSE
debug-info FALSE
user xxxxx
safe-updates FALSE
i-am-a-dummy FALSE
connect_timeout 0
max_allowed_packet 16777216
net_buffer_length 16384
select_limit 1000
max_join_size 1000000
#

ユーザー KAZ の写真

kanaさん

そのせいかわかりませんが、
cat create/schema/mysql.sql | mysql -u xxxxx -p xxxxx zabbix
としたところ、以下の表示になりました。
4.0.31となってしまっているのはプリインストールのmysqlをみているのでしょうか?

そのようです。

下記、サイトを参考にMySQLを削除し、再度MySQLを再インストールする事をお勧めします。
[url=http://wiki.kinusati.net/index.php/Solaris10:MySQL-5.1.30%E5%B0%8E%E5%85%A5]Solaris10:MySQL-5.1.30導入[/url]

再度MySQLをconfigureする場合、make cleanを実行した後にconfigureするか、解凍したMySQLのdirを一度削除し再度解凍し直す必要があります。

ユーザー kana の写真

kazさん

ありがとうございます。

プリインストールされていたmysqlを削除し、初期データとイメージのインポートまでできました。