libc.h (где взять?)

Модератор: Модераторы разделов

NIKoVITus
Сообщения: 50

libc.h

Сообщение NIKoVITus »

Не компилиться одна программа - ругается на отсутствие libc.h.
Подскажите как ее установить? Или в каком пакете она поставляется?
Спасибо сказали:
Аватара пользователя
Sparky
Сообщения: 604
Статус: core dumped
ОС: Plan 9

Re: libc.h

Сообщение Sparky »

(NIKoVITus @ Вторник, 05 Апреля 2005, 15:52) писал(а):Не компилиться одна программа - ругается на отсутствие libc.h.
Подскажите как ее установить? Или в каком пакете она поставляется?

Текст ошибки неплохо бы запостить :)
Блог
--------------------

GCS/M/MU/P/IT/E d- s: a- C++(+++) UBL++ P->-- L+++$ E- W+++$ N* o? K? w>--
O M-@ V- PS@ PE+ Y+ PGP+ t 5 X R* tv-->- b++ DI? D>+ G e+(++) h--- r+ y++
Спасибо сказали:
NIKoVITus
Сообщения: 50

Re: libc.h

Сообщение NIKoVITus »

configure:3139: checking libc.h usability
configure:3151: gcc -c -g -O2 conftest.c >&5
conftest.c:56:18: libc.h: No such file or directory
configure:3157: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBCRYPT 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CRYPT_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libc.h>
configure:3180: result: no
configure:3184: checking libc.h presence
configure:3194: gcc -E conftest.c
conftest.c:22:18: libc.h: No such file or directory
configure:3200: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBCRYPT 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CRYPT_H 1
| /* end confdefs.h. */
| #include <libc.h>
configure:3220: result: no
configure:3255: checking for libc.h
configure:3262: result: no

и еще ругается на отсутствие

configure:2709: gcc -E conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:2715: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBCRYPT 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
Спасибо сказали:
Ananas
Сообщения: 64

Re: libc.h

Сообщение Ananas »

попробуй перед ./configure выполнить aclocal и autoconf
Спасибо сказали:
Аватара пользователя
Vladislav
Сообщения: 383
ОС: Debian Sid

Re: libc.h

Сообщение Vladislav »

(NIKoVITus @ Вторник, 05 Апреля 2005, 14:52) писал(а):Не компилиться одна программа - ругается на отсутствие libc.h.
Подскажите как ее установить? Или в каком пакете она поставляется?

Не знаю какой у Вас дистрибутив, у меня Debian "Sarge"
apt-file search libc.h
libg++2.8.1.3-dev: usr/include/g++-3/libc.h
libg++27-altdev: usr/i486-linuxlibc1/include/g++/libc.h
В Вашем случае имена пакетов могут отличаться, но думаю смысл понятен.
Спасибо сказали:
NIKoVITus
Сообщения: 50

Re: libc.h

Сообщение NIKoVITus »

попробуй перед ./configure выполнить aclocal и autoconf

нету таких команд
OS - Мandrake 10.1
Спасибо сказали:
Аватара пользователя
Valerius
Бывший модератор
Сообщения: 1469
Статус: Отпетый КДЕ'шник

Re: libc.h

Сообщение Valerius »

(NIKoVITus @ Вторник, 12 Апреля 2005, 14:47) писал(а):нету таких команд

Поставь пакты automake и autoconf и научись пользоваться поиском пакетов - urpmf
После установки этих пакетов сделай:

aclocal
automake -a -f
autoconf

Может быть поможет.
Кстати что за прога, ты искал её в рпм-е под Мандрейк?
зы. А libc.h в Мандрейке действительно нету :)
Свобода есть тонкая полоска между диктатурой и анархией.

---------------------
Mandriva Linux PowerPack 2006 (Cooker-нутая) / KDE-3.5.1
Спасибо сказали:
Аватара пользователя
sash-kan
Администратор
Сообщения: 13939
Статус: oel ngati kameie
ОС: GNU

Re: libc.h

Сообщение sash-kan »

(Valerius @ Вторник, 12 Апреля 2005, 18:06) писал(а):зы. А libc.h в Мандрейке действительно нету :)

а еще некоторые говорят -
мандрейк - хороший дистрибутив, мандрейк - замечательный дистрибутив :devil_2:
шучу-шучу :rolleyes:
Писать безграмотно - значит посягать на время людей, к которым мы адресуемся, а потому совершенно недопустимо в правильно организованном обществе. © Щерба Л. В., 1957
при сбоях форума см.блог
Спасибо сказали:
NIKoVITus
Сообщения: 50

Re: libc.h

Сообщение NIKoVITus »

(Valerius @ Вторник, 12 Апреля 2005, 18:06) писал(а):
(NIKoVITus @ Вторник, 12 Апреля 2005, 14:47) писал(а):нету таких команд

Поставь пакты automake и autoconf и научись пользоваться поиском пакетов - urpmf
После установки этих пакетов сделай:

aclocal
automake -a -f
autoconf

Может быть поможет.
Кстати что за прога, ты искал её в рпм-е под Мандрейк?
зы. А libc.h в Мандрейке действительно нету :)


Да, вот грабли!!!! Нету таких пакетов :(
Спасибо сказали:
Аватара пользователя
Valerius
Бывший модератор
Сообщения: 1469
Статус: Отпетый КДЕ'шник

Re: libc.h

Сообщение Valerius »

(NIKoVITus @ Среда, 13 Апреля 2005, 15:40) писал(а):Да, вот грабли!!!! Нету таких пакетов

Каких? automake/autoconf ??? На что спорим, что есть? :)
Напиши в консольке от рута:

urpmi automake autoconf

что говорит?
Свобода есть тонкая полоска между диктатурой и анархией.

---------------------
Mandriva Linux PowerPack 2006 (Cooker-нутая) / KDE-3.5.1
Спасибо сказали:
NIKoVITus
Сообщения: 50

Re: libc.h

Сообщение NIKoVITus »

(Valerius @ Среда, 13 Апреля 2005, 18:42) писал(а):
(NIKoVITus @ Среда, 13 Апреля 2005, 15:40) писал(а):Да, вот грабли!!!! Нету таких пакетов

Каких? automake/autoconf ??? На что спорим, что есть? :)
Напиши в консольке от рута:

urpmi automake autoconf

что говорит?


Ну не совсем же я чайник!!!
Я так уже искал:
нет пакета с именем automake
нет пакета с именем autoconf :unsure:
Спасибо сказали:
Ananas
Сообщения: 64

Re: libc.h

Сообщение Ananas »

ну нет, так нет. вперед, на http://rpmfind.net/

p.s. еще стоит удалить config.cache
Спасибо сказали:
NIKoVITus
Сообщения: 50

Re: libc.h

Сообщение NIKoVITus »

Установил необходимые пакеты, делаю

aclocal
automake -a -f

configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
configure.in: installing `./install-sh'
configure.in: installing `./missing'
automake: no `Makefile.am' found for any configure output

В configure.in нету строчки AM_INIT_AUTOMAKE и файла aclocal.m4 не было создано в результате выполнения команды aclocal

aclocal: found macro AM_PROG_LD in /usr/share/aclocal/libtool.m4: 5877
aclocal: found macro AM_PROG_NM in /usr/share/aclocal/libtool.m4: 5878
aclocal: found macro LT_AC_PROG_GCJ in /usr/share/aclocal/libtool.m4: 5883
aclocal: found macro LT_AC_PROG_RC in /usr/share/aclocal/libtool.m4: 5889
aclocal: found macro LT_AC_PROG_SED in /usr/share/aclocal/libtool.m4: 5903
aclocal: running autom4te --language Autoconf-without-aclocal-m4 configure.in

:wacko:
Спасибо сказали:
Ananas
Сообщения: 64

Re: libc.h

Сообщение Ananas »

потому что automake запускать не нужно. только aclocal и autoconf
Спасибо сказали:
Аватара пользователя
Valerius
Бывший модератор
Сообщения: 1469
Статус: Отпетый КДЕ'шник

Re: libc.h

Сообщение Valerius »

(NIKoVITus @ Пятница, 15 Апреля 2005, 9:25) писал(а):Ну не совсем же я чайник!!!
Я так уже искал:
нет пакета с именем automake
нет пакета с именем autoconf

У меня точно такой же дистр, и в нём есть и всегда были все нужные для сборки утилиты. Не рассказывай сказки! Значит у тебя чегото с базой рпм.
autoconf находится на 1-м диске, automake - на 2-м, а automake-1.8 на 4-м диске.
Свобода есть тонкая полоска между диктатурой и анархией.

---------------------
Mandriva Linux PowerPack 2006 (Cooker-нутая) / KDE-3.5.1
Спасибо сказали:
NIKoVITus
Сообщения: 50

Re: libc.h

Сообщение NIKoVITus »

(Ananas @ Понедельник, 18 Апреля 2005, 15:38) писал(а):потому что automake запускать не нужно. только aclocal и autoconf

выполнил, запустил после /configure - результат тот же.
Какой должен быть результат выполнения команд aclocal и autoconf?
После запуска aclocal:
- . . .
aclocal: found macro LT_AC_PROG_SED in /usr/share/aclocal/libtool.m4: 5903
aclocal: running autom4te --language Autoconf-without-aclocal-m4 configure.in

- создается директория autom4te.cache с файлами output.0, request, traces.0

После запуска autoconf:

- autoconf-2.5x: running /usr/bin/autom4te --verbose --language=autoconf --output=configure configure.in
autom4te-2.5x: formatting traces for `/root/tmp/am4t9o26oZ/dependencies': include, m4_include
autom4te-2.5x: up_to_date (autom4te.cache/traces.0): up to date
autom4te-2.5x: the trace request object is:
autom4te-2.5x: $VAR1 = bless( [
autom4te-2.5x: '0',
autom4te-2.5x: 1,
autom4te-2.5x: [
autom4te-2.5x: '/usr/share/autoconf'
autom4te-2.5x: ],
autom4te-2.5x: [
autom4te-2.5x: '/usr/share/autoconf/autoconf/autoconf.m4f',
autom4te-2.5x: 'configure.in'
autom4te-2.5x: ],
autom4te-2.5x: {
autom4te-2.5x: 'm4_pattern_forbid' => 1,
autom4te-2.5x: 'AC_CONFIG_LIBOBJ_DIR' => 1,
autom4te-2.5x: 'AC_C_VOLATILE' => 1,
autom4te-2.5x: 'AC_TYPE_OFF_T' => 1,
autom4te-2.5x: 'AC_FUNC_CLOSEDIR_VOID' => 1,
autom4te-2.5x: 'AC_REPLACE_FNMATCH' => 1,
autom4te-2.5x: 'AC_PROG_LIBTOOL' => 1,
autom4te-2.5x: 'AC_FUNC_STAT' => 1,
autom4te-2.5x: 'AC_FUNC_WAIT3' => 1,
autom4te-2.5x: 'AC_HEADER_TIME' => 1,
autom4te-2.5x: 'AC_FUNC_LSTAT' => 1,
autom4te-2.5x: 'AC_STRUCT_TM' => 1,
autom4te-2.5x: 'AM_AUTOMAKE_VERSION' => 1,
autom4te-2.5x: 'AC_FUNC_GETMNTENT' => 1,
autom4te-2.5x: 'AC_TYPE_MODE_T' => 1,
autom4te-2.5x: 'AC_FUNC_STRTOD' => 1,
autom4te-2.5x: 'AC_CHECK_HEADERS' => 1,
autom4te-2.5x: 'AC_FUNC_STRNLEN' => 1,
autom4te-2.5x: 'm4_sinclude' => 1,
autom4te-2.5x: 'AC_PROG_CXX' => 1,
autom4te-2.5x: 'AC_PATH_X' => 1,
autom4te-2.5x: 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
autom4te-2.5x: 'AC_PROG_AWK' => 1,
autom4te-2.5x: '_m4_warn' => 1,
autom4te-2.5x: 'AC_HEADER_STDC' => 1,
autom4te-2.5x: 'AC_HEADER_MAJOR' => 1,
autom4te-2.5x: 'AC_FUNC_ERROR_AT_LINE' => 1,
autom4te-2.5x: 'AC_PROG_GCC_TRADITIONAL' => 1,
autom4te-2.5x: 'AC_LIBSOURCE' => 1,
autom4te-2.5x: 'AC_FUNC_MBRTOWC' => 1,
autom4te-2.5x: 'AC_STRUCT_ST_BLOCKS' => 1,
autom4te-2.5x: 'AC_TYPE_SIGNAL' => 1,
autom4te-2.5x: 'AC_TYPE_UID_T' => 1,
autom4te-2.5x: 'AC_PROG_MAKE_SET' => 1,
autom4te-2.5x: 'AC_CONFIG_AUX_DIR' => 1,
autom4te-2.5x: 'm4_pattern_allow' => 1,
autom4te-2.5x: 'sinclude' => 1,
autom4te-2.5x: 'AC_DEFINE_TRACE_LITERAL' => 1,
autom4te-2.5x: 'AC_FUNC_STRERROR_R' => 1,
autom4te-2.5x: 'AC_PROG_CC' => 1,
autom4te-2.5x: 'AC_DECL_SYS_SIGLIST' => 1,
autom4te-2.5x: 'AC_FUNC_FORK' => 1,
autom4te-2.5x: 'AC_FUNC_STRCOLL' => 1,
autom4te-2.5x: 'AC_FUNC_VPRINTF' => 1,
autom4te-2.5x: 'AC_PROG_YACC' => 1,
autom4te-2.5x: 'AC_INIT' => 1,
autom4te-2.5x: 'AC_STRUCT_TIMEZONE' => 1,
autom4te-2.5x: 'AC_FUNC_CHOWN' => 1,
autom4te-2.5x: 'AC_SUBST' => 1,
autom4te-2.5x: 'AC_FUNC_ALLOCA' => 1,
autom4te-2.5x: 'AC_CANONICAL_HOST' => 1,
autom4te-2.5x: 'AC_FUNC_GETPGRP' => 1,
autom4te-2.5x: 'AC_PROG_RANLIB' => 1,
autom4te-2.5x: 'AM_INIT_AUTOMAKE' => 1,
autom4te-2.5x: 'AC_FUNC_SETPGRP' => 1,
autom4te-2.5x: 'AC_CONFIG_SUBDIRS' => 1,
autom4te-2.5x: 'AC_FUNC_MMAP' => 1,
autom4te-2.5x: 'AC_FUNC_REALLOC' => 1,
autom4te-2.5x: 'AC_TYPE_SIZE_T' => 1,
autom4te-2.5x: 'AC_CONFIG_LINKS' => 1,
autom4te-2.5x: 'AC_CHECK_TYPES' => 1,
autom4te-2.5x: 'AC_CHECK_MEMBERS' => 1,
autom4te-2.5x: 'AM_MAINTAINER_MODE' => 1,
autom4te-2.5x: 'AC_FUNC_UTIME_NULL' => 1,
autom4te-2.5x: 'AC_FUNC_SELECT_ARGTYPES' => 1,
autom4te-2.5x: 'AC_HEADER_STAT' => 1,
autom4te-2.5x: 'AC_FUNC_STRFTIME' => 1,
autom4te-2.5x: 'AC_PROG_CPP' => 1,
autom4te-2.5x: 'AC_C_INLINE' => 1,
autom4te-2.5x: 'AC_PROG_LEX' => 1,
autom4te-2.5x: 'AC_C_CONST' => 1,
autom4te-2.5x: 'AC_TYPE_PID_T' => 1,
autom4te-2.5x: 'AC_CONFIG_FILES' => 1,
autom4te-2.5x: 'include' => 1,
autom4te-2.5x: 'AC_FUNC_SETVBUF_REVERSED' => 1,
autom4te-2.5x: 'AC_PROG_INSTALL' => 1,
autom4te-2.5x: 'AM_GNU_GETTEXT' => 1,
autom4te-2.5x: 'AC_CHECK_LIB' => 1,
autom4te-2.5x: 'AC_FUNC_OBSTACK' => 1,
autom4te-2.5x: 'AC_FUNC_MALLOC' => 1,
autom4te-2.5x: 'AC_FUNC_GETGROUPS' => 1,
autom4te-2.5x: 'AC_FUNC_GETLOADAVG' => 1,
autom4te-2.5x: 'AH_OUTPUT' => 1,
autom4te-2.5x: 'AC_FUNC_FSEEKO' => 1,
autom4te-2.5x: 'AM_PROG_CC_C_O' => 1,
autom4te-2.5x: 'AC_FUNC_MKTIME' => 1,
autom4te-2.5x: 'AC_CANONICAL_SYSTEM' => 1,
autom4te-2.5x: 'AM_CONDITIONAL' => 1,
autom4te-2.5x: 'AC_CONFIG_HEADERS' => 1,
autom4te-2.5x: 'AC_HEADER_SYS_WAIT' => 1,
autom4te-2.5x: 'AC_PROG_LN_S' => 1,
autom4te-2.5x: 'AC_FUNC_MEMCMP' => 1,
autom4te-2.5x: 'm4_include' => 1,
autom4te-2.5x: 'AC_HEADER_DIRENT' => 1,
autom4te-2.5x: 'AC_CHECK_FUNCS' => 1
autom4te-2.5x: }
autom4te-2.5x: ], 'Autom4te::Request' );
autom4te-2.5x: formatting traces for `/root/tmp/am4t9o26oZ/warnings': _m4_warn
autom4te-2.5x: reading /root/tmp/am4t9o26oZ/warnings
autom4te-2.5x: creating configure
autom4te-2.5x: formatting traces for `/root/tmp/am4t9o26oZ/patterns': m4_pattern_allow, m4_pattern_forbid
autom4te-2.5x: forbidden tokens: ^_?A[CHUM]_|_AC_|^LIBOBJS$|^_?m4_|^dnl$|^_?AS_
autom4te-2.5x: forbidden token : ^LIBOBJS$ => do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
autom4te-2.5x: allowed tokens: ^AS_FLAGS$

- создается файл configure

Запускаю ./configure - результат тот же - ругается на отсутствие libc.h
Спасибо сказали:
Ananas
Сообщения: 64

Re: libc.h

Сообщение Ananas »

вывод ./configure давай
Спасибо сказали:
NIKoVITus
Сообщения: 50

Re: libc.h

Сообщение NIKoVITus »

Логи от configure до и после использования aclocal autoconf абсолютно одинаковые, как и сам файл configure

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = proxy
uname -m = i686
uname -r = 2.6.8.1-12mdk
uname -s = Linux
uname -v = #1 Fri Oct 1 12:53:41 CEST 2004

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1346: checking for gcc
configure:1362: found /usr/bin/gcc
configure:1372: result: gcc
configure:1616: checking for C compiler version
configure:1619: gcc --version </dev/null >&5
gcc (GCC) 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
Copyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1622: $? = 0
configure:1624: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
configure:1627: $? = 0
configure:1629: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1632: $? = 1
configure:1655: checking for C compiler default output file name
configure:1658: gcc conftest.c >&5
configure:1661: $? = 0
configure:1707: result: a.out
configure:1712: checking whether the C compiler works
configure:1718: ./a.out
configure:1721: $? = 0
configure:1738: result: yes
configure:1745: checking whether we are cross compiling
configure:1747: result: no
configure:1750: checking for suffix of executables
configure:1752: gcc -o conftest conftest.c >&5
configure:1755: $? = 0
configure:1780: result:
configure:1786: checking for suffix of object files
configure:1807: gcc -c conftest.c >&5
configure:1810: $? = 0
configure:1832: result: o
configure:1836: checking whether we are using the GNU C compiler
configure:1860: gcc -c conftest.c >&5
configure:1866: $? = 0
configure:1870: test -z
|| test ! -s conftest.err
configure:1873: $? = 0
configure:1876: test -s conftest.o
configure:1879: $? = 0
configure:1892: result: yes
configure:1898: checking whether gcc accepts -g
configure:1919: gcc -c -g conftest.c >&5
configure:1925: $? = 0
configure:1929: test -z
|| test ! -s conftest.err
configure:1932: $? = 0
configure:1935: test -s conftest.o
configure:1938: $? = 0
configure:1949: result: yes
configure:1966: checking for gcc option to accept ANSI C
configure:2036: gcc -c -g -O2 conftest.c >&5
configure:2042: $? = 0
configure:2046: test -z
|| test ! -s conftest.err
configure:2049: $? = 0
configure:2052: test -s conftest.o
configure:2055: $? = 0
configure:2073: result: none needed
configure:2091: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2097: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2233: checking for main in -lcrypt
configure:2257: gcc -o conftest -g -O2 conftest.c -lcrypt >&5
configure:2263: $? = 0
configure:2267: test -z
|| test ! -s conftest.err
configure:2270: $? = 0
configure:2273: test -s conftest
configure:2276: $? = 0
configure:2289: result: yes
configure:2309: checking for dirent.h that defines DIR
configure:2333: gcc -c -g -O2 conftest.c >&5
configure:2339: $? = 0
configure:2343: test -z
|| test ! -s conftest.err
configure:2346: $? = 0
configure:2349: test -s conftest.o
configure:2352: $? = 0
configure:2363: result: yes
configure:2376: checking for library containing opendir
configure:2406: gcc -o conftest -g -O2 conftest.c -lcrypt >&5
configure:2412: $? = 0
configure:2416: test -z
|| test ! -s conftest.err
configure:2419: $? = 0
configure:2422: test -s conftest
configure:2425: $? = 0
configure:2495: result: none required
configure:2636: checking how to run the C preprocessor
configure:2671: gcc -E conftest.c
configure:2677: $? = 0
configure:2709: gcc -E conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:2715: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBCRYPT 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2754: result: gcc -E
configure:2778: gcc -E conftest.c
configure:2784: $? = 0
configure:2816: gcc -E conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:2822: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBCRYPT 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2866: checking for egrep
configure:2876: result: grep -E
configure:2881: checking for ANSI C header files
configure:2906: gcc -c -g -O2 conftest.c >&5
configure:2912: $? = 0
configure:2916: test -z
|| test ! -s conftest.err
configure:2919: $? = 0
configure:2922: test -s conftest.o
configure:2925: $? = 0
configure:3011: gcc -o conftest -g -O2 conftest.c -lcrypt >&5
configure:3014: $? = 0
configure:3016: ./conftest
configure:3019: $? = 0
configure:3034: result: yes
configure:3059: checking for sys/types.h
configure:3075: gcc -c -g -O2 conftest.c >&5
configure:3081: $? = 0
configure:3085: test -z
|| test ! -s conftest.err
configure:3088: $? = 0
configure:3091: test -s conftest.o
configure:3094: $? = 0
configure:3105: result: yes
configure:3059: checking for sys/stat.h
configure:3075: gcc -c -g -O2 conftest.c >&5
configure:3081: $? = 0
configure:3085: test -z
|| test ! -s conftest.err
configure:3088: $? = 0
configure:3091: test -s conftest.o
configure:3094: $? = 0
configure:3105: result: yes
configure:3059: checking for stdlib.h
configure:3075: gcc -c -g -O2 conftest.c >&5
configure:3081: $? = 0
configure:3085: test -z
|| test ! -s conftest.err
configure:3088: $? = 0
configure:3091: test -s conftest.o
configure:3094: $? = 0
configure:3105: result: yes
configure:3059: checking for string.h
configure:3075: gcc -c -g -O2 conftest.c >&5
configure:3081: $? = 0
configure:3085: test -z
|| test ! -s conftest.err
configure:3088: $? = 0
configure:3091: test -s conftest.o
configure:3094: $? = 0
configure:3105: result: yes
configure:3059: checking for memory.h
configure:3075: gcc -c -g -O2 conftest.c >&5
configure:3081: $? = 0
configure:3085: test -z
|| test ! -s conftest.err
configure:3088: $? = 0
configure:3091: test -s conftest.o
configure:3094: $? = 0
configure:3105: result: yes
configure:3059: checking for strings.h
configure:3075: gcc -c -g -O2 conftest.c >&5
configure:3081: $? = 0
configure:3085: test -z
|| test ! -s conftest.err
configure:3088: $? = 0
configure:3091: test -s conftest.o
configure:3094: $? = 0
configure:3105: result: yes
configure:3059: checking for inttypes.h
configure:3075: gcc -c -g -O2 conftest.c >&5
configure:3081: $? = 0
configure:3085: test -z
|| test ! -s conftest.err
configure:3088: $? = 0
configure:3091: test -s conftest.o
configure:3094: $? = 0
configure:3105: result: yes
configure:3059: checking for stdint.h
configure:3075: gcc -c -g -O2 conftest.c >&5
configure:3081: $? = 0
configure:3085: test -z
|| test ! -s conftest.err
configure:3088: $? = 0
configure:3091: test -s conftest.o
configure:3094: $? = 0
configure:3105: result: yes
configure:3059: checking for unistd.h
configure:3075: gcc -c -g -O2 conftest.c >&5
configure:3081: $? = 0
configure:3085: test -z
|| test ! -s conftest.err
configure:3088: $? = 0
configure:3091: test -s conftest.o
configure:3094: $? = 0
configure:3105: result: yes
configure:3139: checking crypt.h usability
configure:3151: gcc -c -g -O2 conftest.c >&5
configure:3157: $? = 0
configure:3161: test -z
|| test ! -s conftest.err
configure:3164: $? = 0
configure:3167: test -s conftest.o
configure:3170: $? = 0
configure:3180: result: yes
configure:3184: checking crypt.h presence
configure:3194: gcc -E conftest.c
configure:3200: $? = 0
configure:3220: result: yes
configure:3255: checking for crypt.h
configure:3262: result: yes
configure:3139: checking libc.h usability
configure:3151: gcc -c -g -O2 conftest.c >&5
conftest.c:56:18: libc.h: No such file or directory
configure:3157: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBCRYPT 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CRYPT_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libc.h>
configure:3180: result: no
configure:3184: checking libc.h presence
configure:3194: gcc -E conftest.c
conftest.c:22:18: libc.h: No such file or directory
configure:3200: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBCRYPT 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CRYPT_H 1
| /* end confdefs.h. */
| #include <libc.h>
configure:3220: result: no
configure:3255: checking for libc.h
configure:3262: result: no
configure:3139: checking pwd.h usability
configure:3151: gcc -c -g -O2 conftest.c >&5
configure:3157: $? = 0
configure:3161: test -z
|| test ! -s conftest.err
configure:3164: $? = 0
configure:3167: test -s conftest.o
configure:3170: $? = 0
configure:3180: result: yes
configure:3184: checking pwd.h presence
configure:3194: gcc -E conftest.c
configure:3200: $? = 0
configure:3220: result: yes
configure:3255: checking for pwd.h
configure:3262: result: yes
configure:3139: checking stdio.h usability
configure:3151: gcc -c -g -O2 conftest.c >&5
configure:3157: $? = 0
configure:3161: test -z
|| test ! -s conftest.err
configure:3164: $? = 0
configure:3167: test -s conftest.o
configure:3170: $? = 0
configure:3180: result: yes
configure:3184: checking stdio.h presence
configure:3194: gcc -E conftest.c
configure:3200: $? = 0
configure:3220: result: yes
configure:3255: checking for stdio.h
configure:3262: result: yes
configure:3130: checking for stdlib.h
configure:3135: result: yes
configure:3130: checking for sys/stat.h
configure:3135: result: yes
configure:3139: checking sys/time.h usability
configure:3151: gcc -c -g -O2 conftest.c >&5
configure:3157: $? = 0
configure:3161: test -z
|| test ! -s conftest.err
configure:3164: $? = 0
configure:3167: test -s conftest.o
configure:3170: $? = 0
configure:3180: result: yes
configure:3184: checking sys/time.h presence
configure:3194: gcc -E conftest.c
configure:3200: $? = 0
configure:3220: result: yes
configure:3255: checking for sys/time.h
configure:3262: result: yes
configure:3139: checking time.h usability
configure:3151: gcc -c -g -O2 conftest.c >&5
configure:3157: $? = 0
configure:3161: test -z
|| test ! -s conftest.err
configure:3164: $? = 0
configure:3167: test -s conftest.o
configure:3170: $? = 0
configure:3180: result: yes
configure:3184: checking time.h presence
configure:3194: gcc -E conftest.c
configure:3200: $? = 0
configure:3220: result: yes
configure:3255: checking for time.h
configure:3262: result: yes
configure:3130: checking for unistd.h
configure:3135: result: yes
configure:3280: checking for strstr
configure:3337: gcc -o conftest -g -O2 conftest.c -lcrypt >&5
conftest.c:53: warning: conflicting types for built-in function 'strstr'
configure:3343: $? = 0
configure:3347: test -z
|| test ! -s conftest.err
configure:3350: $? = 0
configure:3353: test -s conftest
configure:3356: $? = 0
configure:3368: result: yes
configure:3379: checking for crypt in -lcrypt
configure:3409: gcc -o conftest -g -O2 conftest.c -lcrypt -lcrypt >&5
configure:3415: $? = 0
configure:3419: test -z
|| test ! -s conftest.err
configure:3422: $? = 0
configure:3425: test -s conftest
configure:3428: $? = 0
configure:3441: result: yes
configure:3608: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.59. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on proxy

config.status:636: creating Makefile

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_strstr=yes
ac_cv_header_crypt_h=yes
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libc_h=no
ac_cv_header_memory_h=yes
ac_cv_header_pwd_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time_h=yes
ac_cv_header_unistd_h=yes
ac_cv_lib_crypt_crypt=yes
ac_cv_lib_crypt_main=yes
ac_cv_objext=o
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_search_opendir='none required'

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC='gcc'
CFLAGS='-g -O2'
CGIDIR='/var/www/cgi-bin'
CPP='gcc -E'
CPPFLAGS=''
CRYPTLIB='-lcrypt'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CRYPT_H=1 -DHAVE_PWD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRSTR=1 '
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
LANGUAGE='English'
LDFLAGS=''
LIBOBJS=''
LIBS='-lcrypt '
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SHELL='/bin/sh'
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='${prefix}'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local/etc/chpasswd'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_CRYPT_H 1
#define HAVE_DIRENT_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBCRYPT 1
#define HAVE_MEMORY_H 1
#define HAVE_PWD_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRSTR 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1

configure: exit 0
Спасибо сказали: