Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Makefile.global

Open
#631 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
lua, macos, postgresql
Domain
build-system

Research direction

Start with /Applications/Postgres.app/Contents/Versions/13/lib/postgresql/pgxs/src/Makefile.global and inspect the LD setting and its note about the configure script. Reproduce the PL/lua extension build on macOS Big Sur with the current Xcode command-line tools, then trace the generation path so the extension builds without manually editing the generated file.

Written by the indexing model from the issue text.

Description

Having downloaded the latest Postgres App I've spent a while trying to build the PL/lua extension on macOS Big Sur. The build initially failed because it was trying to link using /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld. In later versions of the Xcode command line tools, it should now (at least on my system) be Applications/Xcode/Contents/Developer/usr/bin/ld.

I finally tracked the hard coded path to a setting for LD in /Applications/Postgres.app/Contents/Versions/13/lib/postgresql/pgxs/src/Makefile.global. Editing it works fine, but noting the comments that the file is created by the configure script -- which I couldn't find -- and that should any edits be needed it is a bug, I thought I should let you know.

Thanks for maintaining Postgres App!

Dominant language
Makefile
Stars
7.8k
Forks
404
Avg merge
6h 55m
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PostgresApp/PostgresApp

All issues in PostgresApp/PostgresApp

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.