Webboard: PHP for 3.4.1
[email protected] Fri, 11 Mar 2016 19:45:39 +0400 (MSK)
| Newsgroups | gmane.comp.web.mnogosearch.php-frontend |
|---|---|
| Message-ID | <[email protected]> |
Author: bzctoons Email: Message: I built it from sources with install.pl, I use mostly the default settings : mnoGoSeach installation script version 0.4 Layout settings --------------- Please set installation path [/usr/local/mnogosearch]: Configured layout: Installation path: /usr/local/mnogosearch User executables DIR: /usr/local/mnogosearch/bin System executables DIR: /usr/local/mnogosearch/sbin Configuration data DIR: /usr/local/mnogosearch/etc Modifiable data DIR: /usr/local/mnogosearch/var Object code libraries DIR: /usr/local/mnogosearch/lib C header files DIR: /usr/local/mnogosearch/include Man documentation DIR: /usr/local/mnogosearch/man Change layout ? (yes/no) [no]: Database settings ----------------- Try to autodetect databases at known locations? (yes/no) [yes]: MySQL server found Which ODBC-style database support to include? Note, that you may choose only one from the following. 1 - Include iODBC support. 2 - Include unixODBC support. 3 - Include OpenLink ODBC support. 4 - Include EasySoft ODBC support. 5 - Include IBM DB2 support. 6 - None of these. Choose one from the mentioned (6): Which database support to include? Note, that you can choose only one from these. 1 - Include Solid support. 2 - Include SAPDB support. 3 - None of these. Choose one from the mentioned (3): Include MySQL support [yes] ? Enter MySQL base install directory [autodetect]: Include PostgreSQL support [no] ? Include mSQL support [no] ? Include InterBase support [no] ? Include Oracle7 support [no] ? Include Oracle8 support [no] ? Include Oracle8i support [no] ? Include Ct-Lib support [no] ? Include FreeTDS Ct-Lib support [no] ? Compilation settings -------------------- Build shared libraries? (yes/no) [no]: yes build static libraries? (yes/no) [yes]: yes Logging settings ---------------- Use syslog (yes) or stdout/stderr (no)? (yes/no) [yes]: Syslog facility (valid name from /usr/include/sys/syslog.h) [default]: URL parser settings ------------------- Enable file:/ URL scheme support? (yes/no) [yes]: Enable http:// URL scheme support? (yes/no) [yes]: Enable ftp:// URL scheme support? (yes/no) [yes]: Enable htdb:/ virtual URL scheme support? (yes/no) [yes]: Enable news:// URL schema support? (yes/no) [yes]: Additional features ------------------- Build documentation (docbook required)? (yes/no) [no]: Enable Posix pthreads? (yes/no) [yes]: Enable external parsers support? (yes/no) [yes]: Enable MP3 tags support? (yes/no) [yes]: Enable HTTP Content-Encoding (zlib) support? (yes/no) [yes]: Enable DMALLOC support ? (yes/no) [no]: Enable OpenSSL support ? (yes/no) [no]: ./configure --prefix=/usr/local/mnogosearch -- bindir=/usr/local/mnogosearch/bin -- sbindir=/usr/local/mnogosearch/sbin -- sysconfdir=/usr/local/mnogosearch/etc -- localstatedir=/usr/local/mnogosearch/var -- libdir=/usr/local/mnogosearch/lib -- includedir=/usr/local/mnogosearch/include -- mandir=/usr/local/mnogosearch/man --enable-shared --enable-static --enable-syslog --without-docs --enable-pthreads --disable-dmalloc --enable-parser --enable-mp3 --enable-file --enable-http --enable- ftp --enable-htdb --enable-news --with-mysql configure: WARNING: unrecognized options: --disable-dmalloc, -- enable-htdb checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make sets $(MAKE)... (cached) yes checking whether build environment is sane... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for rm... /bin/rm checking whether byte ordering is bigendian... no checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking select.h usability... no checking select.h presence... no checking for select.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking for netinet/ip.h... yes checking for resolv.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for socklen_t... yes checking for tm_gmtoff in struct tm... yes checking for strdup... yes checking for strndup... yes checking for strstr... yes checking for strnlen... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for bzero... yes checking for strtok_r... yes checking for strcasestr... yes checking for timegm... yes checking for regcomp... yes checking for socket... yes checking for vsnprintf... yes checking for snprintf... yes checking for mergesort... no checking for setvbuf... yes checking for setenv... yes checking for unsetenv... yes checking for atexit... yes checking for inet_addr... yes checking for setproctitle... no checking for setproctitle in -lutil... no checking for sqrt... no checking for sqrt in -lm... yes checking size of char*... 8 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of short... 2 checking for gethostbyname... yes checking for socket... (cached) yes checking return type of signal handlers... void checking for POSIX signals... yes checking for debug... no checking for directory layout... Filesystem Hierarchy Standard checking for paranoia support... no checking for POSIX shared memory library... -lrt checking for syslog support... enabled checking for tracing support... disable checking for -all-static linker flags... disabled checking for pthreads... yes checking for gethostbyname_r... yes (with 6 arguments) checking for external parsers support... yes checking for MP3 ID3 tags support... yes checking for file: URL schema support... yes checking for http: (and ftp: - via proxy) URL schema support... yes checking for ftp: URL schema support... yes checking for news: URL schema support... yes checking for Electricfence memory debugger support... no checking for internal memory debugger support... no checking for MySQL fulltext plugin support... no checking for Openssl support... no checking for DMALLOC memory debugger support... no checking for zlib for HTTP Content-Encoding support... yes checking for inflate in -lz... yes checking for readline support... no checking for chasen... no checking for mecab... no checking for MySQL support... /usr checking for floor... yes checking for compress... yes checking for dlopen in -ldl... yes checking for PostgreSQL support... no checking for iODBC support... no checking for unixODBC support... no checking for IBM DB2 support... no checking for OpenLink ODBC support... no checking for EasySoft ODBC support... no checking for InterBase support... no checking for Ct-Lib support... no checking for FreeTDS Ct-Lib support... no checking for sqlite support... no checking for sqlite3 support... no checking for Oracle8 support... no checking for Oracle8i support... no checking for additional character sets... checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build/Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating etc/Makefile config.status: creating etc/freq/Makefile config.status: creating etc/langmap/Makefile config.status: creating etc/stopwords/Makefile config.status: creating etc/synonym/Makefile config.status: creating doc/catalog config.status: creating misc/Makefile config.status: creating scripts/Makefile config.status: creating create/Makefile config.status: creating create/db2/Makefile config.status: creating create/ibase/Makefile config.status: creating create/mssql/Makefile config.status: creating create/mysql/Makefile config.status: creating create/oracle/Makefile config.status: creating create/pgsql/Makefile config.status: creating create/sybase/Makefile config.status: creating create/virtuoso/Makefile config.status: creating create/sqlite/Makefile config.status: creating create/mimer/Makefile config.status: creating create/cache/Makefile config.status: creating create/monetdb/Makefile config.status: creating scripts/udm-config config.status: creating perl/Makefile.PL config.status: creating msearch-test/Makefile config.status: creating include/udm_autoconf.h config.status: include/udm_autoconf.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands /bin/rm: cannot remove 'libtoolT': No such file or directory configure: WARNING: unrecognized options: --disable-dmalloc, -- enable-htdb *********************************************************** * * * Now run make && make install * * If it fails, try to use GNU make, * * often installed as gmake. * * * * * * Thank you for using mnoGoSearch! * *********************************************************** mnoGoSearch configured successfully Now you should run 'make' then 'make install' to finish installation. To configure package with the same options you can run ./install.options Next I do : make .... make install ..... cd php phpize ./configure --with-mnogosearch=/usr/local/mnogosearch checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php5 - I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext - I/usr/include/php5/ext/date/lib checking for PHP extension directory... /usr/lib/php5/20131226 checking for PHP installed headers prefix... /usr/include/php5 checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for mnoGoSearch support... yes, shared checking for mnoGoSearch version... 3.4.1 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing libtool commands make /bin/bash /root/mnogosearch-3.4.1/php/libtool --mode=link cc - DPHP_ATOM_INC -I/root/mnogosearch-3.4.1/php/include - I/root/mnogosearch-3.4.1/php/main -I/root/mnogosearch-3.4.1/php - I/usr/include/php5 -I/usr/include/php5/main - I/usr/include/php5/TSRM -I/usr/include/php5/Zend - I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib - I/usr/local/mnogosearch/include -DHAVE_CONFIG_H -g -O2 -o mnogosearch.la -export-dynamic -avoid-version -prefer-pic -module -rpath /root/mnogosearch-3.4.1/php/modules php_mnogo.lo -Wl,- rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib - Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql -lm -lrt -lz - lmysqlclient -ldl -lmnogosearch -lmnogocharset libtool: link: cc -shared -fPIC -DPIC .libs/php_mnogo.o - L/usr/local/mnogosearch/lib -L/usr/lib/mysql -lm -lrt -lz - lmysqlclient -ldl /usr/local/mnogosearch/lib/libmnogosearch.a /usr/local/mnogosearch/lib/libmnogocharset.a -O2 -Wl,-rpath - Wl,/usr/local/mnogosearch/lib -Wl,-rpath -Wl,/usr/lib/mysql - Wl,-soname -Wl,mnogosearch.so -o .libs/mnogosearch.so /usr/bin/ld: /usr/local/mnogosearch/lib/libmnogosearch.a(spell.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/local/mnogosearch/lib/libmnogosearch.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:186: recipe for target 'mnogosearch.la' failed make: *** [mnogosearch.la] Error 1 [1] 26047 exit 2 make Thanks :) Reply: <http://www.mnogosearch.org/board/message.php?id=21755> _______________________________________________ Php-frontend mailing list [email protected] http://lists.mnogosearch.org/listinfo/php-frontend