1 | [root@zara-mon xapian-bindings-1.2.21]# ./configure --with-php
|
---|
2 | checking for a BSD-compatible install... /usr/bin/install -c
|
---|
3 | checking whether build environment is sane... yes
|
---|
4 | checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
|
---|
5 | checking for gawk... gawk
|
---|
6 | checking whether make sets $(MAKE)... yes
|
---|
7 | checking how to create a ustar tar archive... gnutar
|
---|
8 | checking build system type... x86_64-unknown-linux-gnu
|
---|
9 | checking host system type... x86_64-unknown-linux-gnu
|
---|
10 | checking how to print strings... printf
|
---|
11 | checking for style of include used by make... GNU
|
---|
12 | checking for gcc... gcc
|
---|
13 | checking whether the C compiler works... yes
|
---|
14 | checking for C compiler default output file name... a.out
|
---|
15 | checking for suffix of executables...
|
---|
16 | checking whether we are cross compiling... no
|
---|
17 | checking for suffix of object files... o
|
---|
18 | checking whether we are using the GNU C compiler... yes
|
---|
19 | checking whether gcc accepts -g... yes
|
---|
20 | checking for gcc option to accept ISO C89... none needed
|
---|
21 | checking dependency style of gcc... gcc3
|
---|
22 | checking for a sed that does not truncate output... /usr/bin/sed
|
---|
23 | checking for grep that handles long lines and -e... /usr/bin/grep
|
---|
24 | checking for egrep... /usr/bin/grep -E
|
---|
25 | checking for fgrep... /usr/bin/grep -F
|
---|
26 | checking for ld used by gcc... /usr/bin/ld
|
---|
27 | checking if the linker (/usr/bin/ld) is GNU ld... yes
|
---|
28 | checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
|
---|
29 | checking the name lister (/usr/bin/nm -B) interface... BSD nm
|
---|
30 | checking whether ln -s works... yes
|
---|
31 | checking the maximum length of command line arguments... 1572864
|
---|
32 | checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
|
---|
33 | checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
|
---|
34 | checking for /usr/bin/ld option to reload object files... -r
|
---|
35 | checking for objdump... objdump
|
---|
36 | checking how to recognize dependent libraries... pass_all
|
---|
37 | checking for dlltool... no
|
---|
38 | checking how to associate runtime and link libraries... printf %s\n
|
---|
39 | checking for ar... ar
|
---|
40 | checking for archiver @FILE support... @
|
---|
41 | checking for strip... strip
|
---|
42 | checking for ranlib... ranlib
|
---|
43 | checking command to parse /usr/bin/nm -B output from gcc object... ok
|
---|
44 | checking for sysroot... no
|
---|
45 | checking for a working dd... /usr/bin/dd
|
---|
46 | checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
|
---|
47 | checking for mt... no
|
---|
48 | checking if : is a manifest tool... no
|
---|
49 | checking how to run the C preprocessor... gcc -E
|
---|
50 | checking for ANSI C header files... yes
|
---|
51 | checking for sys/types.h... yes
|
---|
52 | checking for sys/stat.h... yes
|
---|
53 | checking for stdlib.h... yes
|
---|
54 | checking for string.h... yes
|
---|
55 | checking for memory.h... yes
|
---|
56 | checking for strings.h... yes
|
---|
57 | checking for inttypes.h... yes
|
---|
58 | checking for stdint.h... yes
|
---|
59 | checking for unistd.h... yes
|
---|
60 | checking for dlfcn.h... yes
|
---|
61 | checking for objdir... .libs
|
---|
62 | checking if gcc supports -fno-rtti -fno-exceptions... no
|
---|
63 | checking for gcc option to produce PIC... -fPIC -DPIC
|
---|
64 | checking if gcc PIC flag -fPIC -DPIC works... yes
|
---|
65 | checking if gcc static flag -static works... yes
|
---|
66 | checking if gcc supports -c -o file.o... yes
|
---|
67 | checking if gcc supports -c -o file.o... (cached) yes
|
---|
68 | checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
|
---|
69 | checking whether -lc should be explicitly linked in... no
|
---|
70 | checking dynamic linker characteristics... GNU/Linux ld.so
|
---|
71 | checking how to hardcode library paths into programs... immediate
|
---|
72 | checking whether stripping libraries is possible... yes
|
---|
73 | checking if libtool supports shared libraries... yes
|
---|
74 | checking whether to build shared libraries... yes
|
---|
75 | checking whether to build static libraries... no
|
---|
76 | checking for g++... g++
|
---|
77 | checking whether we are using the GNU C++ compiler... yes
|
---|
78 | checking whether g++ accepts -g... yes
|
---|
79 | checking dependency style of g++... gcc3
|
---|
80 | checking how to run the C++ preprocessor... g++ -E
|
---|
81 | checking for ld used by g++... /usr/bin/ld -m elf_x86_64
|
---|
82 | checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
|
---|
83 | checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
|
---|
84 | checking for g++ option to produce PIC... -fPIC -DPIC
|
---|
85 | checking if g++ PIC flag -fPIC -DPIC works... yes
|
---|
86 | checking if g++ static flag -static works... no
|
---|
87 | checking if g++ supports -c -o file.o... yes
|
---|
88 | checking if g++ supports -c -o file.o... (cached) yes
|
---|
89 | checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
|
---|
90 | checking dynamic linker characteristics... (cached) GNU/Linux ld.so
|
---|
91 | checking how to hardcode library paths into programs... immediate
|
---|
92 | checking for xapian-config... /usr/local/bin/xapian-config
|
---|
93 | checking /usr/local/bin/xapian-config works... yes
|
---|
94 | checking whether to enable maintainer-specific portions of Makefiles... no
|
---|
95 | checking for php-config... /usr/bin/php-config
|
---|
96 | checking /usr/bin/php-config version... 5.4.16
|
---|
97 | checking for PHP extension directory... /usr/lib64/php/modules
|
---|
98 | checking for zend.h... yes
|
---|
99 | checking for /usr/bin/php5... no
|
---|
100 | checking for /usr/bin/php... /usr/bin/php
|
---|
101 | checking for PHP path separator... :
|
---|
102 | checking whether to use -fvisibility=hidden... yes
|
---|
103 | configure: creating ./config.status
|
---|
104 | config.status: creating Makefile
|
---|
105 | config.status: creating xapian-version.h
|
---|
106 | config.status: creating python/Makefile
|
---|
107 | config.status: creating python/version.i
|
---|
108 | config.status: creating php/Makefile
|
---|
109 | config.status: creating java/Makefile
|
---|
110 | config.status: creating java/native/Makefile
|
---|
111 | config.status: creating java/org/xapian/Makefile
|
---|
112 | config.status: creating java/org/xapian/errors/Makefile
|
---|
113 | config.status: creating java/org/xapian/examples/Makefile
|
---|
114 | config.status: creating java-swig/Makefile
|
---|
115 | config.status: creating tcl8/Makefile
|
---|
116 | config.status: creating tcl8/pkgIndex.tcl
|
---|
117 | config.status: creating csharp/Makefile
|
---|
118 | config.status: creating csharp/AssemblyInfo.cs
|
---|
119 | config.status: creating ruby/Makefile
|
---|
120 | config.status: creating perl/Makefile
|
---|
121 | config.status: creating perl/util.i
|
---|
122 | config.status: creating lua/Makefile
|
---|
123 | config.status: creating xapian-bindings.spec
|
---|
124 | config.status: creating config.h
|
---|
125 | config.status: config.h is unchanged
|
---|
126 | config.status: executing depfiles commands
|
---|
127 | config.status: executing libtool commands
|
---|
128 |
|
---|
129 | *** Building bindings for languages: php
|
---|
130 |
|
---|
131 | [root@zara-mon xapian-bindings-1.2.21]# make
|
---|
132 | make all-recursive
|
---|
133 | make[1]: Entering directory `/root/harry/xapian/xapian-bindings-1.2.21'
|
---|
134 | Making all in php
|
---|
135 | make[2]: Entering directory `/root/harry/xapian/xapian-bindings-1.2.21/php'
|
---|
136 | make all-am
|
---|
137 | make[3]: Entering directory `/root/harry/xapian/xapian-bindings-1.2.21/php'
|
---|
138 | /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -DSWIG_ZEND_ERROR_NORETURN=zend_error -g -O2 -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c -o xapian_wrap.lo `test -f 'php5/xapian_wrap.cc' || echo './'`php5/xapian_wrap.cc
|
---|
139 | libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -DSWIG_ZEND_ERROR_NORETURN=zend_error -g -O2 -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c php5/xapian_wrap.cc -fPIC -DPIC -o .libs/xapian_wrap.o
|
---|
140 | php5/xapian_wrap.cc: In member function virtual Xapian::doccount SwigDirector_PostingSource::get_termfreq_min() const:
|
---|
141 | php5/xapian_wrap.cc:1970:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
142 | }
|
---|
143 | ^
|
---|
144 | php5/xapian_wrap.cc: In member function virtual Xapian::doccount SwigDirector_PostingSource::get_termfreq_est() const:
|
---|
145 | php5/xapian_wrap.cc:1996:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
146 | }
|
---|
147 | ^
|
---|
148 | php5/xapian_wrap.cc: In member function virtual Xapian::doccount SwigDirector_PostingSource::get_termfreq_max() const:
|
---|
149 | php5/xapian_wrap.cc:2022:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
150 | }
|
---|
151 | ^
|
---|
152 | php5/xapian_wrap.cc: In member function virtual Xapian::weight SwigDirector_PostingSource::get_weight() const:
|
---|
153 | php5/xapian_wrap.cc:2048:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
154 | }
|
---|
155 | ^
|
---|
156 | php5/xapian_wrap.cc: In member function virtual Xapian::docid SwigDirector_PostingSource::get_docid() const:
|
---|
157 | php5/xapian_wrap.cc:2074:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
158 | }
|
---|
159 | ^
|
---|
160 | php5/xapian_wrap.cc: In member function virtual bool SwigDirector_PostingSource::check(Xapian::docid, Xapian::weight):
|
---|
161 | php5/xapian_wrap.cc:2163:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
162 | }
|
---|
163 | ^
|
---|
164 | php5/xapian_wrap.cc: In member function virtual bool SwigDirector_PostingSource::at_end() const:
|
---|
165 | php5/xapian_wrap.cc:2189:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
166 | }
|
---|
167 | ^
|
---|
168 | php5/xapian_wrap.cc: In member function virtual std::string SwigDirector_PostingSource::name() const:
|
---|
169 | php5/xapian_wrap.cc:2221:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
170 | }
|
---|
171 | ^
|
---|
172 | php5/xapian_wrap.cc: In member function virtual std::string SwigDirector_PostingSource::get_description() const:
|
---|
173 | php5/xapian_wrap.cc:2285:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
174 | }
|
---|
175 | ^
|
---|
176 | php5/xapian_wrap.cc: In member function virtual bool SwigDirector_MatchDecider::operator()(const Xapian::Document&) const:
|
---|
177 | php5/xapian_wrap.cc:2322:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
178 | }
|
---|
179 | ^
|
---|
180 | php5/xapian_wrap.cc: In member function virtual bool SwigDirector_ExpandDecider::operator()(const string&) const:
|
---|
181 | php5/xapian_wrap.cc:2362:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
182 | }
|
---|
183 | ^
|
---|
184 | php5/xapian_wrap.cc: In member function virtual std::string SwigDirector_MatchSpy::name() const:
|
---|
185 | php5/xapian_wrap.cc:2435:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
186 | }
|
---|
187 | ^
|
---|
188 | php5/xapian_wrap.cc: In member function virtual std::string SwigDirector_MatchSpy::get_description() const:
|
---|
189 | php5/xapian_wrap.cc:2507:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
190 | }
|
---|
191 | ^
|
---|
192 | php5/xapian_wrap.cc: In member function virtual bool SwigDirector_Stopper::operator()(const string&) const:
|
---|
193 | php5/xapian_wrap.cc:2544:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
194 | }
|
---|
195 | ^
|
---|
196 | php5/xapian_wrap.cc: In member function virtual std::string SwigDirector_Stopper::get_description() const:
|
---|
197 | php5/xapian_wrap.cc:2571:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
198 | }
|
---|
199 | ^
|
---|
200 | php5/xapian_wrap.cc: In member function virtual Xapian::valueno SwigDirector_ValueRangeProcessor::operator()(std::string&, std::string&):
|
---|
201 | php5/xapian_wrap.cc:2616:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
202 | }
|
---|
203 | ^
|
---|
204 | php5/xapian_wrap.cc: In member function virtual std::string SwigDirector_StemImplementation::operator()(const string&):
|
---|
205 | php5/xapian_wrap.cc:2654:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
206 | }
|
---|
207 | ^
|
---|
208 | php5/xapian_wrap.cc: In member function virtual std::string SwigDirector_StemImplementation::get_description() const:
|
---|
209 | php5/xapian_wrap.cc:2678:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
210 | }
|
---|
211 | ^
|
---|
212 | php5/xapian_wrap.cc: In member function virtual std::string SwigDirector_KeyMaker::operator()(const Xapian::Document&) const:
|
---|
213 | php5/xapian_wrap.cc:2713:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
214 | }
|
---|
215 | ^
|
---|
216 | php5/xapian_wrap.cc: In member function virtual std::string SwigDirector_Compactor::resolve_duplicate_metadata(const string&, size_t, const string*):
|
---|
217 | php5/xapian_wrap.cc:2796:1: warning: control reaches end of non-void function [-Wreturn-type]
|
---|
218 | }
|
---|
219 | ^
|
---|
220 | mv -f .deps/xapian_wrap.Tpo .deps/xapian_wrap.Plo
|
---|
221 | /bin/sh ../libtool --tag=CXX --mode=link g++ -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -DSWIG_ZEND_ERROR_NORETURN=zend_error -g -O2 -avoid-version -module -o xapian.la -rpath /usr/lib64/php/modules xapian_wrap.lo -L/usr/local/lib -lxapian -lstdc++
|
---|
222 | libtool: link: rm -fr .libs/xapian.la .libs/xapian.lai .libs/xapian.so
|
---|
223 | libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.2/crtbeginS.o .libs/xapian_wrap.o -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxapian.so -lz -luuid -L/usr/lib/gcc/x86_64-redhat-linux/4.8.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.8.2/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/crtn.o -g -O2 -Wl,-soname -Wl,xapian.so -o .libs/xapian.so
|
---|
224 | libtool: link: ( cd ".libs" && rm -f "xapian.la" && ln -s "../xapian.la" "xapian.la" )
|
---|
225 | make[3]: Leaving directory `/root/harry/xapian/xapian-bindings-1.2.21/php'
|
---|
226 | make[2]: Leaving directory `/root/harry/xapian/xapian-bindings-1.2.21/php'
|
---|
227 | make[2]: Entering directory `/root/harry/xapian/xapian-bindings-1.2.21'
|
---|
228 | make[2]: Leaving directory `/root/harry/xapian/xapian-bindings-1.2.21'
|
---|
229 | make[1]: Leaving directory `/root/harry/xapian/xapian-bindings-1.2.21'
|
---|
230 | [root@zara-mon xapian-bindings-1.2.21]#
|
---|
231 |
|
---|
232 |
|
---|
233 | [root@zara-mon xapian-bindings-1.2.21]# uname -a
|
---|
234 | Linux zara-mon 3.10.0-123.8.1.el7.x86_64 #1 SMP Mon Sep 22 19:06:58 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
|
---|
235 | [root@zara-mon xapian-bindings-1.2.21]#
|
---|
236 |
|
---|
237 | ## DURING EXECUTION of the durpal website, I got these errors:
|
---|
238 | (While searching for the string "FACTUUR" in the pdf documents)
|
---|
239 |
|
---|
240 | [root@zara-mon xapian-bindings-1.2.21]# tail /var/log/httpd/error_log
|
---|
241 | [Fri Oct 09 10:12:03.046832 2015] [:error] [pid 19906] [client 13.41.46.31:1256] PHP Fatal error: No matching function for overloaded
|
---|
242 | 'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
|
---|
243 | [Fri Oct 09 10:12:03.240609 2015] [:error] [pid 19906] [client 13.41.46.31:1256] PHP Fatal error: No matching function for overloaded
|
---|
244 | 'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
|
---|
245 | [Fri Oct 09 11:31:09.668329 2015] [:error] [pid 19911] [client 13.41.46.31:1456] PHP Fatal error: No matching function for overloaded
|
---|
246 | 'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
|
---|
247 | [Fri Oct 09 11:31:09.901593 2015] [:error] [pid 19911] [client 13.41.46.31:1456] PHP Fatal error: No matching function for overloaded
|
---|
248 | 'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
|
---|
249 | [Fri Oct 09 11:45:28.383409 2015] [:error] [pid 19895] [client 13.41.46.31:1470] PHP Fatal error: No matching function for overloaded
|
---|
250 | 'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
|
---|
251 | [Fri Oct 09 11:45:29.509825 2015] [:error] [pid 19895] [client 13.41.46.31:1470] PHP Fatal error: No matching function for overloaded
|
---|
252 | 'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
|
---|
253 | [root@zara-mon xapian-bindings-1.2.21]# tail /var/log/httpd/error_log
|
---|
254 |
|
---|
255 |
|
---|
256 | ## When I try to create an index in drupal, I got this error:
|
---|
257 |
|
---|
258 | [Fri Oct 09 12:11:25.574069 2015] [:error] [pid 19899] [client 13.41.46.31:1545] PHP Fatal error: No matching function for overloaded
|
---|
259 | 'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=admin/config/search/search_api
|
---|