Skip to content

clang and llvm missing from ./InstallAlpine.md #380

@gmillerd

Description

@gmillerd

clang and llvm should be added to the package line, including docker. Otherwise make fails with clang-19 and llvm-to missing
apk add git gcc libc-dev make postgresql-dev postgresql-contrib clang llvm

clang-19 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2 -I./include/ -fvisibility=hidden -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o src/tds_fdw.bc src/tds_fdw.c make: clang-19: No such file or directory make: *** [/usr/local/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.global:1085: src/tds_fdw.bc] Error 127 hpe-pg:/cfg/fdw/tds_fdw# clang-19 bash: clang-19: command not found

cd '/usr/local/lib/postgresql/bitcode' && /usr/lib/llvm19/bin/llvm-lto -thinlto -thinlto-action=thinlink -o tds_fdw.index.bc tds_fdw/src/tds_fdw.bc tds_fdw/src/options.bc tds_fdw/src/deparse.bc /bin/sh: /usr/lib/llvm19/bin/llvm-lto: not found

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