Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgresql 11.1_1 --with-python build error #36024

Closed
6 tasks done
scolby33 opened this issue Jan 15, 2019 · 3 comments
Closed
6 tasks done

postgresql 11.1_1 --with-python build error #36024

scolby33 opened this issue Jan 15, 2019 · 3 comments
Labels
outdated PR was locked due to age

Comments

@scolby33
Copy link
Contributor

  • are reporting a bug others will be able to reproduce and not asking a question or requesting software. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh. To get software added or changed in Homebrew please file a Pull Request
  • have a problem with brew install (or upgrade, reinstall) a single, official formula (not cask)? If it's a general brew problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
  • ran brew update and can still reproduce the problem?
  • ran brew doctor, fixed all issues and can still reproduce the problem?
  • ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
  • if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

I am trying to upgrade from postgresql 11.1 to postgresql 11.1_1. I used the option --with-python when I first installed postgres, so simply brew upgrade postgres reveals this issue for me,b ut I believe the same result is achieved with this upgrade command:

$ brew upgrade postgresql --with-python

The installation fails on the ./configure step with

...
checking for perl.h... no
configure: error: header file <perl.h> is required for Perl

There is an old "workaround" that involves adding Perl as a dependency to postgresql petere/homebrew-postgresql#41 (comment)

There is no option like --without-perl

brew gist-logs found no logs

$ brew config
HOMEBREW_VERSION: 1.9.2-5-g44f4f36
ORIGIN: https://github.com/Homebrew/brew
HEAD: 44f4f36c0db693000410fe664b250a90325f4e32
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: de1ecc1d981de9d5165ea9e96242c32023d14d7c
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_LOGS: /Users/apple/Library/Logs/Homebrew
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.20.1 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 11.0.1
macOS: 10.14.2-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: 10.1
XQuartz: 2.7.11 => /opt/X11
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /Users/scott/.pyenv/shims/python2-config
  /Users/scott/.pyenv/shims/python3.7-config
  /Users/scott/.pyenv/shims/python2.7-config
  /Users/scott/.pyenv/shims/python3.7m-config
  /Users/scott/.pyenv/shims/python-config
  /Users/scott/.pyenv/shims/python3-config

I do not believe these *-config scripts are the problem since they do not relate to Perl.

@MikeMcQuaid
Copy link
Member

--with-python has been removed as part of #31510.

@indlin
Copy link

indlin commented Feb 20, 2019

Ok, and how can we build postgresql with python support now??? I need this option.

@SMillerDev
Copy link
Member

You'll have to maintain your own tap or suggest python support to be a default if you think the majority of users will benefit from it.

@lock lock bot added the outdated PR was locked due to age label Mar 22, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

4 participants