Revision 613731363333 () - Diff

Link to this snippet: https://friendpaste.com/3cmPcgwU1hXHYjXhixaLFk
Embed:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
Script started on Sun Mar 25 07:54:24 2012
LC_ALL]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0stefan@koegl:/tmp/couchdb/dist/apache-couchdb-1.2.0$ LC_ALL=C
]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0stefan@koegl:/tmp/couchdb/dist/apache-couchdb-1.2.0$ ./configLC_ALL=Cmake check./configure --prefix=/tmp/couchdb/installcd apache-couchdb-1.2.0/./configure --prefix=/tmp/couchdb/install
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 for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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 ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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) 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
checking whether ln -s works... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for stdint.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for mmap... yes
checking if the compiler supports __builtin_expect... yes
checking if the compiler supports __builtin_ctzll... yes
checking for pthread_create in -lpthread... no
checking for erl... /usr/bin/erl
checking for JS185... yes
checking for JS185... yes
checking jsapi.h usability... yes
checking jsapi.h presence... yes
checking for jsapi.h... yes
checking for JS_NewObject in -lmozjs... no
checking for JS_NewObject in -ljs... yes
checking for JS_NewCompartmentAndGlobalObject in -ljs... no
checking for JS_ThrowStopIteration in -ljs... no
checking for JS_GetStringCharsAndLength in -ljs... no
checking for JSScript*... no
checking for icu-config... /usr/bin/icu-config
checking for ICU >= 3.4.1... yes
checking ICU_CFLAGS... -g -Wall -O2 -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long
checking ICU_CXXFLAGS... -g -Wall -O2 -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
checking ICU_LIBS... -ldl -lm -L/usr/lib -licui18n -licuuc -licudata -ldl -lm
checking for curl-config... /usr/bin/curl-config
checking for curl >= 7.18.0... yes
checking CURL_CFLAGS...
checking CURL_LIBS... -L/usr/lib/i386-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro
checking for erlc... /usr/bin/erlc
checking erl_driver.h usability... yes
checking erl_driver.h presence... yes
checking for erl_driver.h... yes
checking for help2man... /usr/bin/help2man
checking location of init directory... ${sysconfdir}/init.d
checking location of launchd directory... not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/couch-config.tpl
config.status: creating bin/couchdb.tpl
config.status: creating bin/couchdb.bat.tpl
config.status: creating bin/Makefile
config.status: creating etc/couchdb/Makefile
config.status: creating etc/couchdb/default.ini.tpl
config.status: creating etc/default/Makefile
config.status: creating etc/init/couchdb.tpl
config.status: creating etc/init/Makefile
config.status: creating etc/launchd/org.apache.couchdb.plist.tpl
config.status: creating etc/launchd/Makefile
config.status: creating etc/logrotate.d/couchdb.tpl
config.status: creating etc/logrotate.d/Makefile
config.status: creating etc/windows/Makefile
config.status: creating etc/Makefile
config.status: creating share/Makefile
config.status: creating src/Makefile
config.status: creating src/couchdb/couch.app.tpl
config.status: creating src/couchdb/Makefile
config.status: creating src/couchdb/priv/Makefile
config.status: creating src/erlang-oauth/Makefile
config.status: creating src/etap/Makefile
config.status: creating src/ibrowse/Makefile
config.status: creating src/mochiweb/Makefile
config.status: creating src/snappy/Makefile
config.status: creating src/snappy/google-snappy/snappy-stubs-public.h
config.status: creating src/ejson/Makefile
config.status: creating test/Makefile
config.status: creating test/bench/Makefile
config.status: creating test/etap/Makefile
config.status: creating test/etap/test_util.erl
config.status: creating test/javascript/Makefile
config.status: creating test/view_server/Makefile
config.status: creating utils/Makefile
config.status: creating var/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: creating src/snappy/google-snappy/config.h
config.status: src/snappy/google-snappy/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

You have configured Apache CouchDB, time to relax.

Run `make && sudo make install' to install.
]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0stefan@ koegl:/tmp/couchdb/dist/apache-couchdb-1.2.0$ make check
make all-recursive
make[1]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0'
Making all in bin
make[2]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/bin'
sed -e "s|%ERL%|/usr/bin/erl|g" \
-e "s|%ICU_CONFIG%|/usr/bin/icu-config|g" \
-e "s|%bindir%|/tmp/couchdb/install/bin|g" \
-e "s|%localerlanglibdir%|/tmp/couchdb/install/lib/couchdb/erlang/lib|g" \
-e "s|%defaultini%|default.ini|g" \
-e "s|%localini%|local.ini|g" \
-e "s|%localconfdir%|/tmp/couchdb/install/etc/couchdb|g" \
-e "s|%localstatelogdir%|/tmp/couchdb/install/var/log/couchdb|g" \
-e "s|%localstatelibdir%|/tmp/couchdb/install/var/lib/couchdb|g" \
-e "s|%localstatedir%|/tmp/couchdb/install/var|g" \
-e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
-e "s|%package_author_address%|dev@couchdb.apache.org|g" \
-e "s|%package_author_name%|The Apache Software Foundation|g" \
-e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.2.0|g" \
-e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \
couchdb < couchdb.tpl
chmod +x couchdb
sed -e "s|%ERL%|/usr/bin/erl|g" \
-e "s|%bindir%|/tmp/couchdb/install/bin|g" \
-e "s|%localerlanglibdir%|/tmp/couchdb/install/lib/couchdb/erlang/lib|g" \
-e "s|%localconfdir%|/tmp/couchdb/install/etc/couchdb|g" \
-e "s|%localdatadir%|/tmp/couchdb/install/share/couchdb|g" \
-e "s|%localbuilddatadir%|/tmp/couchdb/install/share/couchdb|g" \
-e "s|%localstatelogdir%|/tmp/couchdb/install/var/log/couchdb|g" \
-e "s|%localstatelibdir%|/tmp/couchdb/install/var/lib/couchdb|g" \
-e "s|%localstatedir%|/tmp/couchdb/install/var|g" \
-e "s|%localstaterundir%|/tmp/couchdb/install/var/run/couchdb|g" \
-e "s|%couchlibdir%|/tmp/couchdb/install/lib/couchdb/erlang/lib/couch-%version%|g"\
-e "s|%couchincludedir%|/tmp/couchdb/install/lib/couchdb/erlang/lib/include|g"\
-e "s|%couchebindir%|/tmp/couchdb/install/lib/couchdb/erlang/lib/ebin|g"\
-e "s|%couchprivlibdir%|/tmp/couchdb/install/lib/couchdb/erlang/lib/couch-%version%/priv/lib|g"\
-e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
-e "s|%package_author_address%|dev@couchdb.apache.org|g" \
-e "s|%package_author_name%|The Apache Software Foundation|g" \
-e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.2.0|g" \
-e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \
couch-config < couch-config.tpl
chmod +x couch-config
ln -s -f "/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv/couchjs" "couchjs_dev"
sed -e "s|%ERL%|/usr/bin/erl|g" \
-e "s|%bindir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/bin|g" \
-e "s|%localerlanglibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0\/src\/couchdb|g" \
-e "s|%couchlibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0\/src\/couchdb|g"\
-e "s|%couchincludedir%|/tmp/couchdb/dist/apache-couchdb-1.2.0\/src\/couchdb|g"\
-e "s|%couchebindir%|/tmp/couchdb/dist/apache-couchdb-1.2.0\/src\/couchdb|g"\
-e "s|%couchprivlibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv/.libs|g"\
-e "s|%localdatadir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/share|g" \
-e "s|%localbuilddatadir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/share|g" \
-e "s|%localstatelibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/lib|g" \
-e "s|%localstatelogdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/log|g" \
-e "s|%localstatedir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp|g" \
-e "s|%localstaterundir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/run|g" \
-e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
-e "s|%package_author_address%|dev@couchdb.apache.org|g" \
-e "s|%package_author_name%|The Apache Software Foundation|g" \
-e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.2.0|g" \
-e "s|%couchdb_command_name%|/tmp/couchdb/dist/apache-couchdb-1.2.0/utils/run|g" > \
couch-config_dev < couch-config.tpl
chmod +x couch-config_dev
make[2]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/bin'
Making all in etc
make[2]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc'
Making all in couchdb
make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/couchdb'
sed -e "s|%bindir%|/tmp/couchdb/install/bin|g" \
-e "s|%localconfdir%|/tmp/couchdb/install/etc/couchdb|g" \
-e "s|%localdatadir%|/tmp/couchdb/install/share/couchdb|g" \
-e "s|%localbuilddatadir%|/tmp/couchdb/install/share/couchdb|g" \
-e "s|%localstatelibdir%|/tmp/couchdb/install/var/lib/couchdb|g" \
-e "s|%localstatelogdir%|/tmp/couchdb/install/var/log/couchdb|g" \
-e "s|%localstaterundir%|/tmp/couchdb/install/var/run/couchdb|g" \
-e "s|%couchprivlibdir%|/tmp/couchdb/install/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib|g" \
-e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" \
< default.ini.tpl > default.ini
sed -e "s|%bindir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/bin|g" \
-e "s|%localconfdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/couchdb|g" \
-e "s|%localdatadir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/share|g" \
-e "s|%localbuilddatadir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/share|g" \
-e "s|%localstatelibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/lib|g" \
-e "s|%localstatelogdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/log|g" \
-e "s|%localstaterundir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/run|g" \
-e "s|%couchprivlibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv/.libs|g" \
-e "s|%couchjs_command_name%|`echo couchjs_dev | sed 's,x,x,'`|g" \
< default.ini.tpl > default_dev.ini
make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/couchdb'
Making all in default
make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/default'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/default'
Making all in init
make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/init'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/init'
Making all in launchd
make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/launchd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/launchd'
Making all in logrotate.d
make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/logrotate.d'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/logrotate.d'
Making all in windows
make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/windows'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/windows'
make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc'
if test "/bin/mkdir -p"; then \
/bin/mkdir -p init; \
else \
if test ! -d init; then \
mkdir init; \
fi \
fi
sed -e "s|%configure_input%|init/couchdb. Generated from init/couchdb.tpl by configure.|" \
-e "s|%bindir%|/tmp/couchdb/install/bin|" \
-e "s|%sysconfdir%|/tmp/couchdb/install/etc|" \
-e "s|%localstaterundir%|/tmp/couchdb/install/var/run/couchdb|" \
-e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|" \
< init/couchdb.tpl > init/couchdb
sed -e "s|%localstatelogdir%|/tmp/couchdb/install/var/log/couchdb|g" < logrotate.d/couchdb.tpl > logrotate.d/couchdb
make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc'
make[2]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc'
Making all in src
make[2]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src'
Making all in couchdb
make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb'
Making all in priv
make[4]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv'
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -DXP_UNIX -I/usr/include/nspr -I/usr/include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couchjs-main.o -MD -MP -MF .deps/couchjs-main.Tpo -c -o couchjs-main.o `test -f 'couch_js/main.c' || echo './'`couch_js/main.c
In file included from couch_js/main.c:20:0:
couch_js/sm170.c: In function 'req_status':
couch_js/sm170.c:105:5: error: implicit declaration of function 'INT_FITS_IN_JSVAL' [-Werror=implicit-function-declaration]
couch_js/sm170.c: In function 'evalcx':
couch_js/sm170.c:138:5: error: implicit declaration of function 'JS_GetStringChars' [-Werror=implicit-function-declaration]
couch_js/sm170.c:138:9: error: assignment makes pointer from integer without a cast [-Werror]
couch_js/sm170.c: In function 'seal':
couch_js/sm170.c:220:5: error: implicit declaration of function 'JS_SealObject' [-Werror=implicit-function-declaration]
couch_js/sm170.c: At top level:
couch_js/sm170.c:236:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:236:5: error: (near initialization for 'CouchHTTPClass.setProperty') [-Werror]
couch_js/sm170.c:246:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:246:5: error: (near initialization for 'CouchHTTPProperties[0].getter') [-Werror]
couch_js/sm170.c:252:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:252:5: error: (near initialization for 'CouchHTTPFunctions[0].call') [-Werror]
couch_js/sm170.c:252:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:252:5: error: (near initialization for 'CouchHTTPFunctions[0]') [-Werror]
couch_js/sm170.c:253:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:253:5: error: (near initialization for 'CouchHTTPFunctions[1].call') [-Werror]
couch_js/sm170.c:253:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:253:5: error: (near initialization for 'CouchHTTPFunctions[1]') [-Werror]
couch_js/sm170.c:254:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:254:5: error: (near initialization for 'CouchHTTPFunctions[2].call') [-Werror]
couch_js/sm170.c:254:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:254:5: error: (near initialization for 'CouchHTTPFunctions[2]') [-Werror]
couch_js/sm170.c:255:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:255:5: error: (near initialization for 'CouchHTTPFunctions[3]') [-Werror]
couch_js/sm170.c:265:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:265:5: error: (near initialization for 'global_class.setProperty') [-Werror]
couch_js/sm170.c:275:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:275:5: error: (near initialization for 'global_functions[0].call') [-Werror]
couch_js/sm170.c:275:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:275:5: error: (near initialization for 'global_functions[0]') [-Werror]
couch_js/sm170.c:276:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:276:5: error: (near initialization for 'global_functions[1].call') [-Werror]
couch_js/sm170.c:276:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:276:5: error: (near initialization for 'global_functions[1]') [-Werror]
couch_js/sm170.c:277:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:277:5: error: (near initialization for 'global_functions[2].call') [-Werror]
couch_js/sm170.c:277:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:277:5: error: (near initialization for 'global_functions[2]') [-Werror]
couch_js/sm170.c:278:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:278:5: error: (near initialization for 'global_functions[3].call') [-Werror]
couch_js/sm170.c:278:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:278:5: error: (near initialization for 'global_functions[3]') [-Werror]
couch_js/sm170.c:279:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:279:5: error: (near initialization for 'global_functions[4].call') [-Werror]
couch_js/sm170.c:279:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:279:5: error: (near initialization for 'global_functions[4]') [-Werror]
couch_js/sm170.c:280:5: error: initialization from incompatible pointer type [-Werror]
couch_js/sm170.c:280:5: error: (near initialization for 'global_functions[5].call') [-Werror]
couch_js/sm170.c:280:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:280:5: error: (near initialization for 'global_functions[5]') [-Werror]
couch_js/sm170.c:281:5: error: excess elements in struct initializer [-Werror]
couch_js/sm170.c:281:5: error: (near initialization for 'global_functions[6]') [-Werror]
couch_js/sm170.c: In function 'main':
couch_js/sm170.c:292:5: error: unknown type name 'JSScript'
couch_js/sm170.c:336:9: error: passing argument 5 of 'JS_InitClass' from incompatible pointer type [-Werror]
/usr/include/js/jsapi.h:2110:1: note: expected 'JSNative' but argument is of type 'JSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)'
couch_js/sm170.c:350:12: error: assignment makes pointer from integer without a cast [-Werror]
couch_js/sm170.c:355:5: error: implicit declaration of function 'JS_AddRoot' [-Werror=implicit-function-declaration]
couch_js/sm170.c:361:12: error: assignment from incompatible pointer type [-Werror]
couch_js/sm170.c:367:5: error: passing argument 3 of 'JS_ExecuteScript' from incompatible pointer type [-Werror]
/usr/include/js/jsapi.h:2802:1: note: expected 'struct JSObject *' but argument is of type 'int *'
couch_js/sm170.c:370:5: error: implicit declaration of function 'JS_RemoveRoot' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[4]: *** [couchjs-main.o] Error 1
make[4]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0'
make: *** [all] Error 2
]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0stefan@koegl:/tmp/couchdb/dist/apache-couchdb-1.2.0$ exit

Script done on Sun Mar 25 07:55:04 2012