parser

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

 

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

проблема со сборкой парсера на FreeBSD

Constantine 12.05.2003 23:00

Для получения исходного кода используем команды:
cvs -d :pserver:anonymous@cvs.parser.ru:/parser3project login
cvs -d :pserver:anonymous@cvs.parser.ru:/parser3project co -r release_3_0_0007 parser3
После этого, на FreeBSD:
%uname -a
FreeBSD cnst 4.8-RELEASE FreeBSD 4.8-RELEASE #16: Sun May 11 19:24:54 EDT 2003     constant@cnst:/usr/src/sys/compile/MYKERNEL  i386
%where bison
/usr/local/bin/bison
%bison
bison: no grammar file given
%cd parser3/
%./configure --prefix=/usr/local
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 host system type... i386-unknown-freebsd4.8
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for mawk... (cached) nawk
checking for bison... (cached) byacc
configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON
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 inline... (cached) inline
checking for c++... (cached) 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++... (cached) yes
checking whether c++ accepts -g... (cached) yes
configure: warning: enabling charset windows-1251
checking for dynamic-link library extension... so
checking for mysql client... /usr/local/lib/mysql/libmysqlclient.so
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... (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 how to run the C++ preprocessor... (cached) c++ -E
checking for ANSI C header files... (cached) yes
checking for size_t... (cached) yes
checking for off_t... (cached) yes
checking for ssize_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for signal.h... (cached) yes
checking for unistd.h... (cached) yes
checking for process.h... (cached) no
checking for stddef.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for io.h... (cached) no
checking for stdio.h... (cached) yes
checking for errno.h... (cached) yes
checking for ctype.h... (cached) yes
checking for math.h... (cached) yes
checking for crypt.h... (cached) no
checking for time.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for direct.h... (cached) no
checking for setjmp.h... (cached) yes
checking for memory.h... (cached) yes
checking for new... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/locking.h... (cached) no
checking for sys/types.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for winsock.h... (cached) no
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for netdb.h... (cached) yes
checking for sin in -lm... (cached) yes
checking for crypt in -lcrypt... (cached) yes
checking for trunc... (cached) no
checking for round... (cached) no
checking for sign... (cached) no
checking for flock... (cached) yes
checking for _locking... (cached) no
checking for fcntl... (cached) yes
checking for lockf... (cached) yes
checking for ftruncate... (cached) yes
checking for getrusage... (cached) yes
checking for gettimeofday... (cached) yes
checking for crypt... (cached) yes
checking for sigsetjmp... (cached) yes
checking for siglongjmp... (cached) yes
checking for qsort... (cached) yes
checking for select... (cached) yes
checking for timezone variable... no
checking for daylight variable... no
checking for tm_gmtoff in struct tm... yes
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
src/include/pa_config_auto.h is unchanged
configuring in src/lib/ltdl
running /bin/sh ./configure  --prefix=/usr/local --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... (cached) yes
checking for inline... (cached) inline
checking for ranlib... (cached) ranlib
checking which extension is used for shared libraries... (cached)
checking which variable specifies run-time library path... (cached)
checking for objdir... (cached) .libs
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for malloc.h... (cached) no
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... (cached) yes
checking for dl.h... (cached) no
checking for dld.h... (cached) no
checking for string.h... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking whether libtool supports -dlopen/-dlpreopen... (cached) 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... (cached) no
checking for _ prefix in compiled symbols... (cached) no
updating cache ../../.././config.cache
creating ./config.status
creating config_auto.h
config_auto.h is unchanged
%make
Making all in src
Making all in include
Making all in main
"Makefile", line 233: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/home/constant/parser3/parser3/src.
*** Error code 1

Stop in /usr/home/constant/parser3/parser3.
%
На cygwin (см. следующее сообщение).