Created
November 22, 2012 17:31
-
-
Save kihon10/4132294 to your computer and use it in GitHub Desktop.
brew uwsgi problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thu Nov 22 15:29:50 BRST 2012 | |
~ | |
jbastos@mbb: ttys000: $ brew --config | |
HOMEBREW_VERSION: 0.9.3 | |
HEAD: 3103d8edb77658d3c6d45a7011559fee6311e376 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.8.2-x86_64 | |
Xcode: 4.5.2 | |
CLT: 4.5.0.0.1.1249367152 | |
LLVM-GCC: build 2336 | |
Clang: 4.1 build 421 | |
X11: 2.7.4 => /opt/X11 | |
System Ruby: 1.8.7-358 | |
Perl: /usr/bin/perl | |
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.3/bin/python2.7 | |
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby | |
Thu Nov 22 15:30:18 BRST 2012 | |
~ | |
jbastos@mbb: ttys000: $ brew doctor | |
Your system is raring to brew. | |
Thu Nov 22 15:30:34 BRST 2012 | |
~ | |
jbastos@mbb: ttys000: $ cat ~/Library/Logs/Homebrew/uwsgi/01.python | |
clang: warning: argument unused during compilation: '-rdynamic' | |
ld: warning: ignoring file /usr/local/lib/libsqlite3.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libsqlite3.dylib | |
Undefined symbols for architecture i386: | |
"_sqlite3_close", referenced from: | |
_uwsgi_sqlite3_config in sqlite3.o | |
"_sqlite3_errmsg", referenced from: | |
_uwsgi_sqlite3_config in sqlite3.o | |
"_sqlite3_exec", referenced from: | |
_uwsgi_sqlite3_config in sqlite3.o | |
"_sqlite3_open", referenced from: | |
_uwsgi_sqlite3_config in sqlite3.o | |
ld: symbol(s) not found for architecture i386 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
using profile: buildconf/default.ini | |
detected include path: ['/usr/include', '/usr/local/include'] | |
configured CFLAGS: -O2 -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -arch i386 -arch x86_64 -fno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_BUILD_DATE="\"22 November 2012 15:28:35\"" -DUWSGI_HAS_IFADDRS -mmacosx-version-min=10.5 -DUWSGI_LOCK_USE_OSX_SPINLOCK -DUWSGI_EVENT_USE_KQUEUE -DUWSGI_EVENT_TIMER_USE_KQUEUE -DUWSGI_EVENT_FILEMONITOR_USE_KQUEUE -DUWSGI_EMBEDDED -DUWSGI_UDP -I/usr/local/Cellar/pcre/8.31/include -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_UUID -DUWSGI_VERSION="\"1.2.6\"" -DUWSGI_VERSION_BASE="1" -DUWSGI_VERSION_MAJOR="2" -DUWSGI_VERSION_MINOR="6" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_ASYNC -DUWSGI_MULTICAST -DUWSGI_MINTERPRETERS -DUWSGI_INI -DUWSGI_YAML -DUWSGI_LDAP -DUWSGI_SNMP -DUWSGI_THREADING -DUWSGI_SENDFILE -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_SQLITE3 -DUWSGI_PLUGIN_DIR=\".\" -DUWSGI_SPOOLER -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(carbon);UDEP(rpc);UDEP(fastrouter);UDEP(http);UDEP(ugreen);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);UDEP(router_uwsgi);UDEP(router_redirect);UDEP(router_basicauth);UDEP(zergpool);UDEP(redislog);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);ULEP(fastrouter);ULEP(http);ULEP(ugreen);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);ULEP(router_uwsgi);ULEP(router_redirect);ULEP(router_basicauth);ULEP(zergpool);ULEP(redislog);" | |
*** uWSGI compiling server core *** | |
[cc] utils.o | |
[cc] protocol.o | |
[cc] socket.o | |
[cc] logging.o | |
[cc] master.o | |
[cc] master_utils.o | |
[cc] emperor.o | |
[cc] notify.o | |
[cc] mule.o | |
[cc] subscription.o | |
[cc] plugins.o | |
[cc] lock.o | |
[cc] cache.o | |
[cc] queue.o | |
[cc] event.o | |
[cc] signal.o | |
[cc] cluster.o | |
[cc] rpc.o | |
[cc] gateway.o | |
[cc] loop.o | |
[cc] lib/rbtree.o | |
[cc] lib/amqp.o | |
[cc] rb_timers.o | |
[cc] main.o | |
[cc] proto/base.o | |
[cc] proto/uwsgi.o | |
[cc] proto/http.o | |
[cc] proto/fastcgi.o | |
[cc] regexp.o | |
[cc] routing.o | |
[cc] async.o | |
[cc] ini.o | |
[cc] yaml.o | |
[cc] ldap.o | |
[cc] snmp.o | |
[cc] sendfile.o | |
[cc] xmlconf.o | |
[cc] sqlite3.o | |
[cc] spooler.o | |
*** uWSGI compiling embedded plugins *** | |
[cc] plugins/python/python_plugin.o | |
[cc] plugins/python/pyutils.o | |
[cc] plugins/python/pyloader.o | |
[cc] plugins/python/wsgi_handlers.o | |
[cc] plugins/python/wsgi_headers.o | |
[cc] plugins/python/wsgi_subhandler.o | |
[cc] plugins/python/web3_subhandler.o | |
[cc] plugins/python/pump_subhandler.o | |
[cc] plugins/python/gil.o | |
[cc] plugins/python/uwsgi_pymodule.o | |
[cc] plugins/python/profiler.o | |
[cc] plugins/python/symimporter.o | |
[cc] plugins/ping/ping_plugin.o | |
[cc] plugins/cache/cache.o | |
[cc] plugins/nagios/nagios.o | |
[cc] plugins/rrdtool/rrdtool.o | |
[cc] plugins/carbon/carbon.o | |
[cc] plugins/rpc/rpc_plugin.o | |
[cc] plugins/fastrouter/fr_sctp.o | |
[cc] plugins/fastrouter/fr_map.o | |
[cc] plugins/fastrouter/fastrouter.o | |
[cc] plugins/fastrouter/fr_events.o | |
[cc] plugins/http/http.o | |
[cc] plugins/ugreen/ugreen.o | |
[cc] plugins/signal/signal_plugin.o | |
[cc] plugins/syslog/syslog_plugin.o | |
[cc] plugins/rsyslog/rsyslog_plugin.o | |
[cc] plugins/logsocket/logsocket_plugin.o | |
[cc] plugins/router_uwsgi/router_uwsgi.o | |
[cc] plugins/router_redirect/router_redirect.o | |
[cc] plugins/router_basicauth/router_basicauth.o | |
[cc] plugins/zergpool/zergpool.o | |
[cc] plugins/redislog/redislog_plugin.o | |
*** uWSGI linking *** | |
cc -o uwsgi -arch i386 -arch x86_64 utils.o protocol.o socket.o logging.o master.o master_utils.o emperor.o notify.o mule.o subscription.o plugins.o lock.o cache.o queue.o event.o signal.o cluster.o rpc.o gateway.o loop.o lib/rbtree.o lib/amqp.o rb_timers.o main.o proto/base.o proto/uwsgi.o proto/http.o proto/fastcgi.o regexp.o routing.o async.o ini.o yaml.o ldap.o snmp.o sendfile.o xmlconf.o sqlite3.o spooler.o plugins/python/python_plugin.o plugins/python/pyutils.o plugins/python/pyloader.o plugins/python/wsgi_handlers.o plugins/python/wsgi_headers.o plugins/python/wsgi_subhandler.o plugins/python/web3_subhandler.o plugins/python/pump_subhandler.o plugins/python/gil.o plugins/python/uwsgi_pymodule.o plugins/python/profiler.o plugins/python/symimporter.o plugins/ping/ping_plugin.o plugins/cache/cache.o plugins/nagios/nagios.o plugins/rrdtool/rrdtool.o plugins/carbon/carbon.o plugins/rpc/rpc_plugin.o plugins/fastrouter/fr_sctp.o plugins/fastrouter/fr_map.o plugins/fastrouter/fastrouter.o plugins/fastrouter/fr_events.o plugins/http/http.o plugins/ugreen/ugreen.o plugins/signal/signal_plugin.o plugins/syslog/syslog_plugin.o plugins/rsyslog/rsyslog_plugin.o plugins/logsocket/logsocket_plugin.o plugins/router_uwsgi/router_uwsgi.o plugins/router_redirect/router_redirect.o plugins/router_basicauth/router_basicauth.o plugins/zergpool/zergpool.o plugins/redislog/redislog_plugin.o -lpthread -lm -rdynamic -L/usr/local/Cellar/pcre/8.31/lib -lpcre -lldap -lxml2 -lsqlite3 -ldl -framework CoreFoundation -L/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config -lpython2.6 | |
*** error linking uWSGI *** | |
HOMEBREW_VERSION: 0.9.3 | |
HEAD: 3103d8edb77658d3c6d45a7011559fee6311e376 | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.8.2-x86_64 | |
Xcode: 4.5.2 | |
CLT: 4.5.0.0.1.1249367152 | |
X11: 2.7.4 => /opt/X11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment