Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

src/rum.h:792:2: error: unknown type name 'RBTNode' onenv make USE_PGXS=1 #52

Closed
@gnikitenko

Description

@gnikitenko

Hello!

For some time i was using docker's postgres byFROM postgres:alpine with installation of rum included in dockerfile below.
My last image was built 2 month ago, so i decided to rebuild it
And i'm currently expiriencing this problem while building an image:

Cloning into 'rum'...gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -fPIC -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/rumsort.o src/rumsort.cIn file included from src/rumsort.c:142:0:src/rum.h:792:2: error: unknown type name 'RBTNode'  RBTNode  rbnode;  ^~~~~~~make: *** [<builtin>: src/rumsort.o] Error 1ERROR: Service 'postgres' failed to build: The command '/bin/sh -c cd /tmp &&     apk add --no-cache --virtual .build-deps git make gcc coreutils libc-dev &&     git clone https://github.com/postgrespro/rum &&     cd rum &&     env make USE_PGXS=1 &&     env make USE_PGXS=1 install &&     cd .. &&     apk del .build-deps &&     rm -rf rum/' returned a non-zero code: 2

I believe it happens right at theenv make USE_PGXS=1
Dockerfile:

FROM postgres:alpineCOPY ./create-extension-rum.sh /docker-entrypoint-initdb.d/COPY ./create-extension-uuid-ossp.sh /docker-entrypoint-initdb.d/RUN cd /tmp && \    apk add --no-cache --virtual .build-deps git make gcc coreutils libc-dev && \    git clone https://github.com/postgrespro/rum && \    cd rum && \    env make USE_PGXS=1 && \    env make USE_PGXS=1 install && \    cd .. && \    apk del .build-deps && \rm -rf rum/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp