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

Fails to install #1

Closed
Closed
@skvskv

Description

@skvskv

The product fails to install (as well as build), when one follows the documentation:

$ makeMakefile:20: ../../src/Makefile.global: No such file or directoryMakefile:21: /contrib/contrib-global.mk: No such file or directorymake: *** No rule to make target '/contrib/contrib-global.mk'.  Stop.
$ make installMakefile:20: ../../src/Makefile.global: No such file or directoryMakefile:21: /contrib/contrib-global.mk: No such file or directorymake: *** No rule to make target '/contrib/contrib-global.mk'.  Stop.

But it runs pretty well when used withUSE_PGXS=1:

$ make USE_PGXS=1gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I. -I./ -I/usr/include/postgresql/9.6/server -I/usr/include/postgresql/internal -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/mit-krb5  -c -o src/shared_ispell.o src/shared_ispell.cgcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -shared -o shared_ispell.so src/shared_ispell.o -L/usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now  -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,--as-needed
$ sudo make USE_PGXS=1 install/bin/mkdir -p '/usr/lib/postgresql/9.6/lib'/bin/mkdir -p '/usr/share/postgresql/9.6/extension'/bin/mkdir -p '/usr/share/postgresql/9.6/extension'/usr/bin/install -c -m 755  shared_ispell.so '/usr/lib/postgresql/9.6/lib/shared_ispell.so'/usr/bin/install -c -m 644 .//shared_ispell.control '/usr/share/postgresql/9.6/extension/'/usr/bin/install -c -m 644 .//shared_ispell--1.1.0.sql  '/usr/share/postgresql/9.6/extension/'

Probably, the documentation is unclear about theUSE_PGXS parameter.

Metadata

Metadata

Assignees

No one assigned

    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