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

Ошибка при сборке на версии 10.2 (EDB) #147

Closed
Labels
@sgrinko

Description

Добрый день,

Установил постгрес версии 10.2 ваниль из сборки EDB
www.enterprisedb.com/download-postgresql-binaries
версия - linux x86-64
OS Ubuntu 16.04

вывод pg_config:

# pg_config
BINDIR = /opt/postgresql/10/bin
DOCDIR = /opt/postgresql/10/doc/postgresql
HTMLDIR = /opt/postgresql/10/doc/postgresql
INCLUDEDIR = /opt/postgresql/10/include
PKGINCLUDEDIR = /opt/postgresql/10/include/postgresql
INCLUDEDIR-SERVER = /opt/postgresql/10/include/postgresql/server
LIBDIR = /opt/postgresql/10/lib
PKGLIBDIR = /opt/postgresql/10/lib/postgresql
LOCALEDIR = /opt/postgresql/10/share/locale
MANDIR = /opt/postgresql/10/share/man
SHAREDIR = /opt/postgresql/10/share/postgresql
SYSCONFDIR = /opt/postgresql/10/etc/postgresql
PGXS = /opt/postgresql/10/lib/postgresql/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--with-icu' '--enable-debug' '--with-libs=/opt/local/Current/lib' '--with-includes=/opt/local/Current/include/libxml2:/opt/local/Curre nt/include' '--prefix=/mnt/hgfs/pginstaller.auto/server/staging_cache/linux-x64' '--with-ldap' '--with-openssl' '--with-perl' '--with-python' '--wi th-tcl' '--with-tclconfig=/opt/local/edb/languagepack-10/Tcl-8.6/lib' '--with-pam' '--enable-thread-safety' '--with-libxml' '--with-ossp-uuid' '--d ocdir=/mnt/hgfs/pginstaller.auto/server/staging_cache/linux-x64/doc/postgresql' '--with-libxslt' '--with-libedit-preferred' '--with-gssapi' 'LD_LIB RARY_PATH=/opt/local/Current/lib' 'CFLAGS=-O2 -DMAP_HUGETLB=0x40000' 'ICU_CFLAGS=-I/opt/local/Current/include' 'ICU_LIBS=-L/opt/local/Current/lib - licuuc -licudata -licui18n'
CC = gcc
CPPFLAGS = -DFRONTEND -I/opt/local/Current/include -D_GNU_SOURCE -I/opt/local/Current/include/libxml2 -I/opt/local/Current/include
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno- strict-aliasing -fwrapv -g -O2 -DMAP_HUGETLB=0x40000
CFLAGS_SL = -fPIC
LDFLAGS = -L../../src/common -L/opt/local/Current/lib -Wl,--as-needed -Wl,-rpath,'/mnt/hgfs/pginstaller.auto/server/staging_cache/linux-x64/lib',-- enable-new-dtags
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpgcommon -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -ledit -lrt -lcrypt -ldl -lm
VERSION = PostgreSQL 10.2

далее выполнил команды:
git clone https://github.com/postgrespro/pg_pathman
cd pg_pathman
make install USE_PGXS=1
получил ошибку:

# make install USE_PGXS=1
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -g -O2 -DMAP_HUGETLB=0x40000 -fPIC -I/home/grinko/install/pg_10/build/pg_pathman/src/include -I. -I./ -I/opt/postgresql/10/include/postgresql/server -I/opt/postgresql/10/include/postgresql/internal -I/opt/local/Current/include -D_GNU_SOURCE -I/opt/local/Current/include/libxml2 -I/opt/local/Current/include -c -o src/utility_stmt_hooking.o src/utility_stmt_hooking.c
In file included from /opt/postgresql/10/include/postgresql/server/libpq/libpq.h:20:0,
 from src/utility_stmt_hooking.c:35:
/opt/postgresql/10/include/postgresql/server/libpq/libpq-be.h:34:27: fatal error: gssapi/gssapi.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'src/utility_stmt_hooking.o' failed
make: *** [src/utility_stmt_hooking.o] Error 1
#

непосредственно искомый файл gssapi/gssapi.h есть по пути:
/opt/postgresql/10/include/gssapi/gssapi.h

Как обойти эту проблему?

Приложил архив всей структуры INCLUDE которая установлена в сборке от EDB
include.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /