Skip to content

couchbase client  #350

@ElianoMarques

Description

@ElianoMarques

Hi, i've seen the issues #60 & another one on gcc on alpine.

I'm trying to install couchbase client via docker. I've tried multiple ways including replicating part of the alpine code:

RUN apk add --no-cache --virtual .build-deps  \
        libcouchbase \
        bzip2-dev \
		coreutils \
		dpkg-dev dpkg \
		expat-dev \
		gcc \
        g++ \
		gdbm-dev \
		libc-dev \
		libffi-dev \
		linux-headers \
		make \
		ncurses-dev \
		openssl \
		openssl-dev \
		pax-utils \
		readline-dev \
		sqlite-dev \
		tcl-dev \
		tk \
		tk-dev \
		xz-dev \
		zlib-dev \
    && pip install couchbase \
    && apk del .build-deps 

but couchbase client still fails due to gcc.

error:

src/exceptions.c -o build/temp.linux-x86_64-3.6/src/exceptions.o
    In file included from src/exceptions.c:17:0:
    src/pycbc.h:193:36: fatal error: libcouchbase/couchbase.h: No such file or directory
     #include <libcouchbase/couchbase.h>
                                        ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1

Is there a recommended base python that would have this fixed even if size is bigger?

Thank you for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions