Revision 363364396632 () - Diff

Link to this snippet: https://friendpaste.com/nfvE94i1VsPiwrl8oCHMn
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
mv -f .deps/couchjs-main.Tpo .deps/couchjs-main.Po
cp stat_descriptions.cfg.in stat_descriptions.cfg
/bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/cc -I/usr/local/Cellar/icu4c/4.3.1/include -L/usr/local/Cellar/icu4c/4.3.1/lib -O3 -march=core2 -w -pipe -module -avoid-version -I/usr/local/Cellar/icu4c/4.3.1/include -L/usr/local/Cellar/icu4c/4.3.1/lib -L/usr/local/lib -L/opt/local/lib -I/usr/local/lib/erlang/usr/include -I/usr/local/Cellar/spidermonkey/1.9.2/include/js -DXP_UNIX -lm -L/usr/local/Cellar/icu4c/4.3.1/lib -L/usr/local/Cellar/icu4c/4.3.1/lib -o couch_icu_driver.la -rpath /usr/local/Cellar/couchdb/0.11.0/lib/couchdb/erlang/lib/couch-0.11.0/priv/lib couch_icu_driver_la-couch_icu_driver.lo -licuuc -licudata -licui18n -L/usr/local/lib -L/opt/local/lib -lpthread
mv -f .deps/couchjs-utf8.Tpo .deps/couchjs-utf8.Po
/bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/cc -O3 -march=core2 -w -pipe -lcurl -L/usr/local/lib -L/opt/local/lib -I/usr/local/lib/erlang/usr/include -I/usr/local/Cellar/spidermonkey/1.9.2/include/js -DXP_UNIX -lm -L/usr/local/Cellar/icu4c/4.3.1/lib -L/usr/local/Cellar/icu4c/4.3.1/lib -o couchjs couchjs-http.o couchjs-main.o couchjs-utf8.o -lcurl -lmozjs -L/usr/local/lib -L/opt/local/lib -lpthread
libtool: link: /usr/bin/cc -Wl,-undefined -Wl,dynamic_lookup -o .libs/couch_icu_driver.so -bundle .libs/couch_icu_driver_la-couch_icu_driver.o -L/usr/local/Cellar/icu4c/4.3.1/lib -L/usr/local/lib -L/opt/local/lib -lm -licuuc -licudata -licui18n -lpthread -march=core2
libtool: link: dsymutil .libs/couch_icu_driver.so || :
warning: no debug symbols in executable (-arch x86_64)
libtool: link: ( cd ".libs" && rm -f "couch_icu_driver.la" && ln -s "../couch_icu_driver.la" "couch_icu_driver.la" )
libtool: link: /usr/bin/cc -O3 -march=core2 -w -pipe -I/usr/local/lib/erlang/usr/include -I/usr/local/Cellar/spidermonkey/1.9.2/include/js -DXP_UNIX -o couchjs couchjs-http.o couchjs-main.o couchjs-utf8.o -L/opt/local/lib -L/usr/local/lib -lm -L/usr/local/Cellar/icu4c/4.3.1/lib /opt/local/lib/libcurl.dylib -lz -lmozjs -lpthread
Undefined symbols:
"_curl_easy_perform", referenced from:
_sendreq in couchjs-http.o
"_curl_easy_init", referenced from:
_sendreq in couchjs-http.o
"_curl_easy_setopt", referenced from:
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
_sendreq in couchjs-http.o
"_curl_slist_free_all", referenced from:
_open in couchjs-http.o
_destructor in couchjs-http.o
"_curl_slist_append", referenced from:
_setheader in couchjs-http.o
_open in couchjs-http.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [couchjs] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Exit status: 2

http://github.com/mxcl/homebrew/blob/master/Library/Formula/couchdb.rb#L20

==> Environment
HOMEBREW_VERSION: 0.6
HEAD: 24c95cd21452c6341ce31a38390660020d8a98f9
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_CACHE: /Users/alex/Library/Caches/Homebrew
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit core2
OS X: 10.6.2
Kernel Architecture: i386
Ruby: 1.8.7-72
GCC-4.0: build 5493 (5493 or newer recommended)
GCC-4.2: build 5646 (5646 or newer recommended)
LLVM: build 2206 (2206 or newer recommended)
MacPorts or Fink? /opt/local/bin/port
X11 installed? true

==> Build Flags
CC: /usr/bin/cc
CXX: /usr/bin/c++
LD: /usr/bin/cc
CFLAGS: -O3 -march=core2 -w -pipe
CPPFLAGS: -I/usr/local/Cellar/icu4c/4.3.1/include -I/usr/local/Cellar/icu4c/4.3.1/include
CXXFLAGS: -O3 -march=core2 -w -pipe
LDFLAGS: -L/usr/local/Cellar/icu4c/4.3.1/lib -L/usr/local/Cellar/icu4c/4.3.1/lib
MAKEFLAGS: -j2
HOMEBREW_USE_LLVM:
Error: Failure while executing: make
Please report this bug at http://github.com/mxcl/homebrew/issues
These existing issues may help you:
http://github.com/mxcl/homebrew/issues/#issue/148
http://github.com/mxcl/homebrew/issues/#issue/431
http://github.com/mxcl/homebrew/issues/#issue/861