You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 12, 2019. It is now read-only.
I am trying to install postgres by " brew install postgres" . Dependencies for postgres requires Perl, brew is trying to install but getting error as to repository its targeting to download does not contain .xz format.
I installed perl- 5.24.1 through perlbrew to resolve the dependency but not able to install PostgreSQL as linuxbrew is not able to link the installed Perl version.
Here is the output
[mohsink@rhel7** ~]$ brew install postgres
Updating Homebrew...
==> Installing dependencies for postgresql: perl, util-linux
==> Installing postgresql dependency: perl
==> Downloading https://www.cpan.org/src/5.0/perl-5.24.1.tar.xz
curl: (35) Peer reports incompatible or unsupported protocol version.
Error: Failed to download resource "perl"
Download failed: https://www.cpan.org/src/5.0/perl-5.24.1.tar.xz
[mohsink@rhel7 ~]$ brew config
HOMEBREW_VERSION: >1.1.0 (no git repository)
ORIGIN: https://github.com/Linuxbrew/brew.git
HEAD: 1d16368a177807663e1b3146d71fcd69e2061e27
Last commit: 2 weeks ago
Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: c5e0b23d9f78c993bf901cfb07bd6041d49b885e
Core tap last commit: 24 hours ago
HOMEBREW_PREFIX: /home/mohsink/.linuxbrew
HOMEBREW_REPOSITORY: /home/mohsink/.linuxbrew
HOMEBREW_CELLAR: /home/mohsink/.linuxbrew/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://linuxbrew.bintray.com
CPU: single-core 64-bit sandybridge
Homebrew Ruby: 2.0.0-p648 => /usr/bin/ruby
Clang: N/A
Git: 1.8.3.1 => /usr/bin/git
Perl: /usr/bin/perl
Python: /home/mohsink/.linuxbrew/bin/python => /home/mohsink/.linuxbrew/Cellar/python/2.7.13/bin/python2.7
Ruby: /usr/bin/ruby
Java: 1.7.0_51
Kernel: Linux 3.10.0-123.el7.x86_64 x86_64 GNU/Linux
OS: Red Hat Enterprise Linux Server release 7.0 (Maipo)
Host glibc: 2.17
/usr/bin/gcc: 4.8.2
glibc: 2.19
gcc: 5.3.0
xorg: N/A
[mohsink@rhel7 ~]$ 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 and just ignore them. Thanks!
Warning: An outdated version (1.8.3.1) of Git was detected in your PATH.
Git 1.8.5 or newer is required to perform checkouts over HTTPS from GitHub and
to support the 'git -C <path>' option.
Please upgrade:
brew install git
[mohsink@rhel7 ~]$ perl-version
bash: perl-version: command not found...
[mohsink@rhel7 ~]$ perl
^C
[mohsink@rhel7 ~]$ perl -v
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
(with 34 registered patches, see perl -V for more detail)
Copyright 1987-2012, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
[mohsink@rhel7 ~]$ perlbrew install perl-5.24.1
ABORT: perl-5.24.1 is already installed.
[mohsink@rhel7 ~]$ perl -v
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
(with 34 registered patches, see perl -V for more detail)
I am trying to install postgres by " brew install postgres" . Dependencies for postgres requires Perl, brew is trying to install but getting error as to repository its targeting to download does not contain .xz format.
I installed perl- 5.24.1 through perlbrew to resolve the dependency but not able to install PostgreSQL as linuxbrew is not able to link the installed Perl version.
Here is the output