parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

на cygwin после использования touch и удаления qsort

Constantine 21.05.2003 01:16 / 21.05.2003 02:46

после исправления Makefile.am (строчки с комментариями (13---17) вызывали ошибку) и configure.in (удалил строчки
dnl We require qsort(3) and select(2).

AC_CHECK_FUNCS(qsort, , AC_MSG_ERROR([No qsort library function.]))
, как советовали), получаем следующую сессию:
Constantine@cn ~/parser3
$ cd parser3

Constantine@cn ~/parser3/parser3
$ find ./ -exec touch {} \;

Constantine@cn ~/parser3/parser3
$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-cygwin
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... ranlib
checking for mawk... no
checking for gawk... gawk
checking for bison... bison -y
checking bison version... test: 875b
Written by Robert Corbett and Richard Stallman: bad number
bison (GNU Bison) 1.875b
Written by Robert Corbett and Richard Stallman (ok)
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for inline... inline
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
configure: warning: enabling charset windows-1251
checking for dynamic-link library extension... dll
checking for mysql client... configure: warning: could not guess mysql client
checking for pgsql client... configure: warning: could not guess pgsql client
checking for oracle client... configure: warning: could not guess oracle client
checking for dlopen in -ldl... no
checking for dlopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dld_link in -ldld... no
checking for dlerror... yes
checking how to run the C++ preprocessor... c++ -E
checking for ANSI C header files... yes
checking for size_t... yes
checking for off_t... yes
checking for ssize_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for signal.h... yes
checking for unistd.h... yes
checking for process.h... yes
checking for stddef.h... yes
checking for stdarg.h... yes
checking for fcntl.h... yes
checking for sys/stat.h... yes
checking for io.h... yes
checking for stdio.h... yes
checking for errno.h... yes
checking for ctype.h... yes
checking for math.h... yes
checking for crypt.h... yes
checking for time.h... yes
checking for sys/time.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for direct.h... no
checking for setjmp.h... yes
checking for memory.h... yes
checking for new... yes
checking for sys/file.h... yes
checking for sys/locking.h... no
checking for sys/types.h... yes
checking for sys/select.h... yes
checking for sys/resource.h... yes
checking for winsock.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking for netdb.h... yes
checking for socket in -lwsock32... yes
checking for sin in -lm... yes
checking for crypt in -lcrypt... yes
checking for trunc... yes
checking for round... yes
checking for sign... no
checking for flock... no
checking for _locking... no
checking for fcntl... yes
checking for lockf... no
checking for ftruncate... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for crypt... yes
checking for sigsetjmp... no
checking for siglongjmp... no
checking for qsort... yes
checking for select... yes
checking for timezone variable... no
checking for daylight variable... yes
checking for tm_gmtoff in struct tm... no
checking for tm_tzadj in struct tm... no
checking whether compiler supports pragma pack... yes
checking for set_new_handler... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/types/Makefile
creating src/classes/Makefile
creating src/classes/gd/Makefile
creating src/classes/smtp/Makefile
creating src/include/Makefile
creating src/main/Makefile
creating src/sql/Makefile
creating src/lib/Makefile
creating src/lib/ltdl/Makefile
creating src/lib/pcre/Makefile
creating src/lib/md5/Makefile
creating src/lib/patches/Makefile
creating src/targets/Makefile
creating src/targets/cgi/Makefile
creating src/targets/apache13/Makefile
creating src/targets/apache13/hook/Makefile
creating src/targets/apache13/p3runConfigure
creating src/targets/isapi/Makefile
creating etc/Makefile
creating etc/parser3.charsets/Makefile
creating bin/Makefile
creating bin/auto.p.dist
creating src/include/pa_config_auto.h
configuring in src/lib/ltdl
running /bin/sh ./configure  --enable-ltdl-convenience --cache-file=../../.././config.cache --srcdir=.
loading cache ../../.././config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for working const... yes
checking for inline... (cached) inline
checking for ranlib... (cached) ranlib
checking which extension is used for shared libraries...
checking which variable specifies run-time library path...
checking for objdir...
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... (cached) yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdio.h... (cached) yes
checking for ctype.h... (cached) yes
checking for dlfcn.h... yes
checking for dl.h... no
checking for dld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking whether libtool supports -dlopen/-dlpreopen... no
checking for dlopen in -ldl... (cached) no
checking for dlopen... (cached) yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... (cached) no
checking for dlerror... (cached) yes
checking command to parse  output... -V: not found
checking host system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
no
checking for _ prefix in compiled symbols... no
updating cache ../../.././config.cache
creating ./config.status
creating config_auto.h

Constantine@cn ~/parser3/parser3
$ make
Making all in src
make[1]: Entering directory `/home/Constantine/parser3/parser3/src'
Making all in include
make[2]: Entering directory `/home/Constantine/parser3/parser3/src/include'
cd ../.. && autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
cd ../.. \
  && CONFIG_FILES= CONFIG_HEADERS=src/include/pa_config_auto.h \
     /bin/sh ./config.status
creating src/include/pa_config_auto.h
make[2]: Leaving directory `/home/Constantine/parser3/parser3/src/include'
Making all in main
make[2]: Entering directory `/home/Constantine/parser3/parser3/src/main'
c++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/pcre -I../../src/lib/ltdl     -g -O2 -c pa_commo
n.C
pa_common.C: In function `void http_request(String&, const String*, const
   char*, int, const char*, int)':
pa_common.C:236: `closesocket' undeclared (first use this function)
pa_common.C:236: (Each undeclared identifier is reported only once for each
   function it appears in.)
make[2]: *** [pa_common.o] Error 1
make[2]: Leaving directory `/home/Constantine/parser3/parser3/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Constantine/parser3/parser3/src'
make: *** [all-recursive] Error 1

Constantine@cn ~/parser3/parser3
$ uname -a
CYGWIN_NT-5.1 cn 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin