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

configure: error: header file <perl.h> is required for Perl #50

Open
manishrai554 opened this issue Oct 14, 2019 · 3 comments
Open

configure: error: header file <perl.h> is required for Perl #50

manishrai554 opened this issue Oct 14, 2019 · 3 comments

Comments

@manishrai554
Copy link

brew install petere/postgresql/postgresql@12

==> Installing postgresql@12 from petere/postgresql
==> Downloading https://ftp.postgresql.org/pub/source/v12.0/postgresql-12.0.tar.bz2
Already downloaded: /Users/manishr/Library/Caches/Homebrew/downloads/9a050b57e5493faa799013fecb7c1c1d78dd6a8310669083b9c830c52cf83eb3--postgresql-12.0.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/postgresql@12/12.0 --enable-dtrace --enable-nls --with-bonjour --with-gssapi --with-icu --with-ldap --with-libxm
Last 15 lines from /Users/manishr/Library/Logs/Homebrew/postgresql@12/01.configure:
checking for library containing bind_textdomain_codeset... -lintl
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for msgfmt... /usr/local/opt/gettext/bin/msgfmt
checking for msgfmt flags... -c
checking for msgmerge... /usr/local/opt/gettext/bin/msgmerge
checking for xgettext... /usr/local/opt/gettext/bin/xgettext
checking for tclsh... /usr/local/opt/tcl-tk/bin/tclsh
checking for tclConfig.sh... /usr/local/Cellar/tcl-tk/8.6.9_1/lib/tclConfig.sh
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
checking for perl.h... no
configure: error: header file <perl.h> is required for Perl

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/petere/homebrew-postgresql/issues

These open issues may also help:
While installing postgresql@11: configure: error: header file <perl.h> is required for Perl #44

@townge
Copy link

townge commented Dec 8, 2019

#44 (comment)
Basically, you need to install XCode because Command Line Tools no longer includes perl headers.

@nardonykolyszyn
Copy link

nardonykolyszyn commented Jul 24, 2020

#44 (comment)
Basically, you need to install XCode because Command Line Tools no longer includes perl headers.

I have Xcode installed (iOS Catalina) and still got this error.

@chasm
Copy link

chasm commented Oct 31, 2020

I also get this error with Xcode "installed" (Catalina) -- but there seem to be plenty of errors around XCode and the command line tools (which are "not in the repository" when I try to install them). Reinstalling XCode accomplished nothing. Apple sucks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants