Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpetyx/8237990 to your computer and use it in GitHub Desktop.
Save mpetyx/8237990 to your computer and use it in GitHub Desktop.
failing output from libcouchbase installation on heroku
mpetyx$ git push heroku master
Fetching repository, done.
Counting objects: 12, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (9/9), 1.79 KiB | 0 bytes/s, done.
Total 9 (delta 4), reused 0 (delta 0)
-----> Fetching custom git buildpack... done
-----> Python app detected
-----> Fetching and installing GEOS 3.3.2
-----> Installing ...
GEOS installed
-----> Fetching and installing Proj.4 4.7.0
-----> Installing ...
Proj.4 installed
-----> Fetching and installing GDAL 1.8.1
-----> Installing ...
GDAL installed
-----> Using Python runtime (python-2.7.4)
-----> Installing dependencies using Pip (1.3.1)
Cleaning up...
-----> Collecting static files
647 static files copied.
-----> Discovering process types
Procfile declares types -> web
-----> Compressing... done, 116.9MB
-----> Launching... done, v25
http://.herokuapp.com deployed to Heroku
To git@heroku.com:fitmansocialenabler.git
9bc3390..c84abf1 master -> master
mpetyx$ heroku run pip install couchbase
Running `pip install couchbase` attached to terminal... up, run.7880
Downloading/unpacking couchbase
Downloading couchbase-1.1.0.tar.gz (209kB): 209kB downloaded
Running setup.py egg_info for package couchbase
Installing collected packages: couchbase
Running setup.py install for couchbase
building 'couchbase._libcouchbase' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/app/vendor/libcouchbase/include -fPIC -I/app/.heroku/python/include/python2.7 -c src/exceptions.c -o build/temp.linux-x86_64-2.7/src/exceptions.o
In file included from src/exceptions.c:17:
src/pycbc.h:25:36: error: libcouchbase/couchbase.h: No such file or directory
src/pycbc.h:28:2: error: #error "Couchbase Python SDK requires libcouchbase 2.1.0 or greater"
In file included from src/exceptions.c:17:
src/pycbc.h:126: error: expected declaration specifiers or ‘...’ before ‘lcb_uint32_t’
src/pycbc.h:236: error: expected specifier-qualifier-list before ‘lcb_t’
src/pycbc.h:299: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:303: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:313: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:320: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:325: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:421: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:634: error: expected ‘)’ before ‘instance’
src/pycbc.h:691: error: expected ‘)’ before ‘instance’
src/pycbc.h:692: error: expected ‘)’ before ‘instance’
src/pycbc.h:813: error: expected declaration specifiers or ‘...’ before ‘lcb_uint32_t’
src/pycbc.h:826: error: expected declaration specifiers or ‘...’ before ‘lcb_uint32_t’
src/pycbc.h:837: error: expected declaration specifiers or ‘...’ before ‘lcb_uint32_t’
src/pycbc.h:845: error: expected declaration specifiers or ‘...’ before ‘lcb_uint32_t’
src/pycbc.h:854: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pycbc_iops_new’
src/pycbc.h:855: error: expected ‘)’ before ‘io’
src/exceptions.c: In function ‘pycbc_exc_wrap_REAL’:
src/exceptions.c:53: error: ‘struct pycbc_exception_params’ has no member named ‘err’
src/exceptions.c:72: error: ‘struct pycbc_exception_params’ has no member named ‘err’
src/exceptions.c:73: error: ‘struct pycbc_exception_params’ has no member named ‘err’
src/exceptions.c:85: error: ‘struct pycbc_exception_params’ has no member named ‘msg’
src/exceptions.c:86: error: ‘struct pycbc_exception_params’ has no member named ‘msg’
src/exceptions.c:91: error: ‘struct pycbc_exception_params’ has no member named ‘key’
src/exceptions.c:92: error: ‘struct pycbc_exception_params’ has no member named ‘key’
src/exceptions.c:95: error: ‘struct pycbc_exception_params’ has no member named ‘objextra’
src/exceptions.c:96: error: ‘struct pycbc_exception_params’ has no member named ‘objextra’
error: command 'gcc' failed with exit status 1
Complete output from command /app/.heroku/python/bin/python -c "import setuptools;__file__='/tmp/pip-build-u35727/couchbase/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Do5mX8-record/install-record.txt --single-version-externally-managed:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/couchbase
copying couchbase/_pyport.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/__init__.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/user_constants.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/_version.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/result.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/_bootstrap.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/transcoder.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/connection.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/mockserver.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/admin.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/items.py -> build/lib.linux-x86_64-2.7/couchbase
copying couchbase/exceptions.py -> build/lib.linux-x86_64-2.7/couchbase
creating build/lib.linux-x86_64-2.7/couchbase/views
copying couchbase/views/__init__.py -> build/lib.linux-x86_64-2.7/couchbase/views
copying couchbase/views/params.py -> build/lib.linux-x86_64-2.7/couchbase/views
copying couchbase/views/iterator.py -> build/lib.linux-x86_64-2.7/couchbase/views
creating build/lib.linux-x86_64-2.7/couchbase/iops
copying couchbase/iops/select.py -> build/lib.linux-x86_64-2.7/couchbase/iops
copying couchbase/iops/__init__.py -> build/lib.linux-x86_64-2.7/couchbase/iops
running build_ext
building 'couchbase._libcouchbase' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/viewrow
creating build/temp.linux-x86_64-2.7/src/contrib
creating build/temp.linux-x86_64-2.7/src/contrib/jsonsl
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/app/vendor/libcouchbase/include -fPIC -I/app/.heroku/python/include/python2.7 -c src/exceptions.c -o build/temp.linux-x86_64-2.7/src/exceptions.o
In file included from src/exceptions.c:17:
src/pycbc.h:25:36: error: libcouchbase/couchbase.h: No such file or directory
src/pycbc.h:28:2: error: #error "Couchbase Python SDK requires libcouchbase 2.1.0 or greater"
In file included from src/exceptions.c:17:
src/pycbc.h:126: error: expected declaration specifiers or ‘...’ before ‘lcb_uint32_t’
src/pycbc.h:236: error: expected specifier-qualifier-list before ‘lcb_t’
src/pycbc.h:299: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:303: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:313: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:320: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:325: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:421: error: expected specifier-qualifier-list before ‘lcb_error_t’
src/pycbc.h:634: error: expected ‘)’ before ‘instance’
src/pycbc.h:691: error: expected ‘)’ before ‘instance’
src/pycbc.h:692: error: expected ‘)’ before ‘instance’
src/pycbc.h:813: error: expected declaration specifiers or ‘...’ before ‘lcb_uint32_t’
src/pycbc.h:826: error: expected declaration specifiers or ‘...’ before ‘lcb_uint32_t’
src/pycbc.h:837: error: expected declaration specifiers or ‘...’ before ‘lcb_uint32_t’
src/pycbc.h:845: error: expected declaration specifiers or ‘...’ before ‘lcb_uint32_t’
src/pycbc.h:854: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pycbc_iops_new’
src/pycbc.h:855: error: expected ‘)’ before ‘io’
src/exceptions.c: In function ‘pycbc_exc_wrap_REAL’:
src/exceptions.c:53: error: ‘struct pycbc_exception_params’ has no member named ‘err’
src/exceptions.c:72: error: ‘struct pycbc_exception_params’ has no member named ‘err’
src/exceptions.c:73: error: ‘struct pycbc_exception_params’ has no member named ‘err’
src/exceptions.c:85: error: ‘struct pycbc_exception_params’ has no member named ‘msg’
src/exceptions.c:86: error: ‘struct pycbc_exception_params’ has no member named ‘msg’
src/exceptions.c:91: error: ‘struct pycbc_exception_params’ has no member named ‘key’
src/exceptions.c:92: error: ‘struct pycbc_exception_params’ has no member named ‘key’
src/exceptions.c:95: error: ‘struct pycbc_exception_params’ has no member named ‘objextra’
src/exceptions.c:96: error: ‘struct pycbc_exception_params’ has no member named ‘objextra’
error: command 'gcc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment