Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZcNc-0005yx-HC for pgsql-admin@arkaria.postgresql.org; Wed, 19 Dec 2018 13:59:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gZcNZ-0003pr-Mr for pgsql-admin@arkaria.postgresql.org; Wed, 19 Dec 2018 13:59:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZcNY-0003pk-T0 for pgsql-admin@lists.postgresql.org; Wed, 19 Dec 2018 13:59:17 +0000 Received: from sonic309-13.consmr.mail.bf2.yahoo.com ([74.6.129.123]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZcNU-0004O9-N1 for pgsql-admin@lists.postgresql.org; Wed, 19 Dec 2018 13:59:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1545227951; bh=/Zq9MYRzphq5WIQBqIgYyO60GNx0jmLUg+OytELeXT0=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=PRF4dZxTkQ7GQnXtcyWIYZOvN9+ktDzu0Jx/uHwa6j0bsMctUJ7z9rzoRwW95eqGhiPIE/5CrZ6rXd82meGkuArNspJT/VnOeQr7spF5JQ+ZqLJlXxR44m6jjx0XGxPxdB70d3zh32S7Ceth6lZ3HFFdaSrb2izMUN1hxp3HzfgolTarWNbTlBOAEn+Oq+7NrLPj/6YrJAk/ABCiNY/DFRtm5XPZAZyBgg4XKfSi/jXuqolDpH1ePxRgtLR/bYIHT60iYjsBVy2pA7DWA05th0C/7MWZSpZPBDfWVqhEjIkHiGVim0rkdnrETzROWcK0Yc/j+Up+bbvH534hBJmOgA== X-YMail-OSG: .0rosFQVM1lRD4MEwjrHIxRXZPaRAOBLsYaV9qcnAIGnBja_Shf5M6tGS.yTePo qPbl4JaPAqrLAHdL0menWC2Eg4fLmsZmlEWtF5IxaFzPjydtgY8Cmi8jeCe3ruLLEXM_D9hzbW1G 7UxSDPzZnw8YAywkSXEXgw8n1I9XKh9lww0KesPWBltFUeVOpqWKpgUkFG11tW5RRohy_mc68AIU gRjzll.GmjonoQmDw6meS3XHnr1NrNki071rYVCvVgFhq1mzL6TW46.hDQN1XfKyyrY_.AabWQyJ mWcvpiWk4DVI54fl._gN1Q4LkSL4pH6hWrlwaO05IUlnkqt24jM7W8P4hj.ykkGmB.KBei8mM7tj eUK1p2p9DOshwftlXqiU_RI0F9eO4g0K_HbNvtTtE4KBFznFqMWfmdqc9O3237N50ULsmTPcsGZ1 tW6I0cG3AaG9IRhHldVzPuPWXueDqWnnqp62jWuQVvwv37pWWmZHPe45acCZw7HOSPcFmv8QudGw 9CHE7hhVXFk1C0eD4YtjL7Cx5xlDCHGuVovo_TL1zz2GABr1ri76PX1mjW6nuxkoenMQX9cYdi0o irdNeVBGl_JuYiiOvTKm6KWKaLwdXy2aUXncUOnWAfsPAveXaOTo5RiGH63APZxnvzEYobrAzyzE NWsckgIEZcrcVQrXRRh7Id00VThrGMPoCGUDjmCi8G4nDX870dX2GRh5qIvEmMAsG5Iqpli7wNrN q9ieJ9QZq3vI3W6CqHcmd6vvz0tL30ciD_5S9SFyRV2If4jONC4YYwvB8rwhlHshY8x9PgTBL4LL F4wiWUPTo2PLaMgQXAKPKOlG6ts0yI3bDy1gitgP.kQ.6rBkEbNUYkQQtIx4mvBX_UXO7aSaCUvm FPIgn03g19eJ83wiOvmC1U.UvoWgZ9pKxx0dyfzF_emtxR7TQ_707KTSsd5ShziyMibQeCvgUA9K vfMM1BZvmAhTxlOV8I.vf7fbbr1C3TwQl1l0LjiUl4VZ0ji3adSbnpf2IiJz3o2iMy65_3VP9fvc w6zz1I4o7_3l01bWwmIajiEZhvZYcViRZFjJerBnIfr19aoIZ39IB..BVnw1zADIMSDY- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Wed, 19 Dec 2018 13:59:11 +0000 Date: Wed, 19 Dec 2018 13:59:10 +0000 (UTC) From: Pepe TD Vo Reply-To: Pepe TD Vo To: SBob , "pgsql-admin@lists.postgresql.org" Message-ID: <655950091.6682015.1545227950414@mail.yahoo.com> In-Reply-To: References: <1631501735.1420767.1545138861194.ref@mail.yahoo.com> <1631501735.1420767.1545138861194@mail.yahoo.com> <413070647.1500395.1545146432141@mail.yahoo.com> Subject: Re: install Postgres on RHED 7 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6682014_240579323.1545227950405" X-Mailer: WebService/1.1.12857 YahooMailNeo Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36 Content-Length: 63143 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_6682014_240579323.1545227950405 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable thank you for looking into this.=C2=A0 Here is the ./configure info: # cd /home/postgres/software # gunzip postgresql-11.1.tar.gz # tar =E2=80=93xvf postgresql-11.1.tar # cd postgresql-11.1 # ./configure Checking build system type .. x86_64-pc-linux-gnu Checking host system tyupe .. x86_64-pc-linux0gnu Checking which template to use =E2=80=A6 linux Checking =C2=A0whether NLSis wanted =E2=80=A6 no Checking for default port number =E2=80=A6 5432 Checking for block size =E2=80=A68kB Checking for segment size =E2=80=A6 1GB Checking for WAL block size =E2=80=A6 8kB Checking for gcc =E2=80=A6 gcc Checking whether the C compiler works =E2=80=A6 yes Checking for suffix of executables =E2=80=A6 Checking whether we are cross compiling =E2=80=A6 no Checking for suffix of object files .. .o Checking whether we are using the GNU C compiler .. yes Checking whether gcc accepts =E2=80=93g =E2=80=A6 yes Checking for gcc option to accept ISO C89 .. non needed Checking for g++ =E2=80=A6 g++ Checking whether we ar using the GNU C++ compiler =E2=80=A6 yes Checking whether g++ accepts =E2=80=93g =E2=80=A6 yes Checking whether gcc supports =E2=80=93 Wdeclaration-after-statement,for CF= LAGS =E2=80=A6 yes Checking whether gcc supports =E2=80=93Wendif-labels, for CFLAGS =E2=80=A6y= es Checking whether g++ supports =E2=80=93Wendif-labels, for CXXFLAGS =E2=80= =A6yes Checking whether gcc supports =E2=80=93Wmissing-format-attribute,for CFLAGS= =E2=80=A6 yes Checking whether g++ supports =E2=80=93Wmissing-format-attribute,for CXXFLA= GS =E2=80=A6 yes Checking whether gxxc supports =E2=80=93Wformat-security, for CFLAGS=E2=80= =A6 yes Checking whether g++ supports =E2=80=93Wformat-security, forCXXFLAGS =E2=80= =A6 yes Checking whether gxx supports =E2=80=93fno-strict-aliasing, forCFLAGS =E2= =80=A6 yes Checking whether g++ supports =E2=80=93fno-strict-aliasing, forCXXFLAGS =E2= =80=A6 yes Checking whether gxx supports =E2=80=93fwrapv, for CFLAGS =E2=80=A6 yes Checking whether g++ supports =E2=80=93fwrapv, for CXXFLAGS =E2=80=A6 yes Checking whether gcc supports-fexcess-precision=3Dstandard,for CFLAGS .. ye= s Checking whether g++ supports-fexcess-precision=3Dstandards,for CXXFLAGS = =E2=80=A6 no Checking whether gcc supports-funroll-loops, forCFLAGS_VECTOR =E2=80=A6 yes Checking whether gcc supports-ftree-vectorize, forCFLAGS_VECTOR =E2=80=A6 y= es Checking whether gxxsupports-Wunused-command-line-arguments, for NOT_THE_CF= LAGS =E2=80=A6 no Checking whether gcc-supports-Wformat-truncation, forNOT_THE_CFLAGS =E2=80= =A6 no Checking whether gcc supports-Wstringop-truncation, for NOT_THE_CFLAGS=E2= =80=A6 no Checking whether the C compiler still works =E2=80=A6 yes Checking how to run the C preprocessor =E2=80=A6 gcc E Checking allow thread-safe client libraries =E2=80=A6 yes Checking whether to build with ICU support =E2=80=A6 no Checking whether to build with Tcl =E2=80=A6 no Checking whether to build Perl modules =E2=80=A6 no Checking whether to build with GSSAPI support =E2=80=A6 no Checking whether to build with PAM support =E2=80=A6 no Checking whether to build with BSD Authentication support =E2=80=A6no Checking whether to build with LDAP support =E2=80=A6 no Checking whether to build with Bonjour support =E2=80=A6 no Checking whether to build with OpenSSL support =E2=80=A6 no Checking whether to build with SELinux support =E2=80=A6 no Checking whether to build with system support =E2=80=A6 no Checking for grep that handles long lines and =E2=80=93e =E2=80=A6 /bin/gre= p Checking for egrep =E2=80=A6/bin/grep =E2=80=93E Checking for Id used for GCC =E2=80=A6 /bin/ld Checking if the linker (/bin/ld) is GNU ld =E2=80=A6 yes Checking for ranlib =E2=80=A6ranlib Checking for strip =E2=80=A6 strip Checking whether to build Checking whether it is possible to strip libraries =E2=80=A6 yes =C2=A0Checking for ar =E2=80=A6 ar Checking for a BSD-compatible install =E2=80=A6/bin/install =E2=80=93c Checking for tar =E2=80=A6 /bin/tar Chechking whether ln =E2=80=93s works =E2=80=A6 yes Checking for gawk =E2=80=A6 gawk Checking for a thread-safe mkdir =E2=80=93p =E2=80=A6 /bing/mkdir =E2=80=93= p Checking for bison =E2=80=A6/bin/bison Configure: using bison (GNU Bison) 3.0.4 Checking for flex =E2=80=A6 /bin/glex Configure: using flex 2.5.37 Checking for perl =E2=80=A6/bin/perl Configure: using perl 5.16.3 Checking for ANSI C header files =E2=80=A6 yes Checking for sys/types.h =E2=80=A6 yes Checking for sys/stat.h =E2=80=A6 yes Checking for stdlib.h =E2=80=A6 yes Checking for string.h =E2=80=A6 yes Checking for memory.h =E2=80=A6 yes Checking for strings.h =E2=80=A6 yes Checking for inttypes.h =E2=80=A6 yes Checking for stdint.h =E2=80=A6=C2=A0yes Checking for unistd.h =E2=80=A6 yes Checking if compiler needs certain flags to reject unknownflags =E2=80=A6 n= o Checking for the pthreads library =E2=80=93lpthreads =E2=80=A6 no Checking whether pthreads work without any flags =E2=80=A6 no Checking whether pthreads work with =E2=80=93Kthread =C2=A0=E2=80=A6 no Checking whether pthreads work with =E2=80=93kthread =E2=80=A6 no Checking whether pthreads work with pthread =E2=80=A6 yes Checking for joinable pthread attribute ..PTHREAD_CREATE_JOINABLE Checking if more special flags are required for pthreads =E2=80=A6no Checking for PTHREAD_PRIO_INHERIT =E2=80=A6 yes Checking pthread.h usability =E2=80=A6 yes Checking pthread.h presence =E2=80=A6 yes Checking for pthread.h=C2=A0=E2=80=A6 yes Checking for strerror_r =E2=80=A6 yes Checking for getpwuid_r =E2=80=A6 yes Checking for gethostbyname_r .. yes Checking whether strerror_r returens int =E2=80=A6 no Checking for main in =E2=80=93lm =E2=80=A6 yes Checking for library containing setproctitle .. no Checking for library containing setproctitle =E2=80=A6 no Checking for library containing dlopen =E2=80=A6 -ldl Checking for library containing socket =E2=80=A6 none required Checking for library containing shl_load =E2=80=A6 no Checking for library containing getopt_long .. none required Checking for library containing shm_open =E2=80=A6 -lrt Checking for library containing shm_unlink .. none required Checking for library containing clock_gettime =E2=80=A6 nonerequired Checking for library containingfdatasync =E2=80=A6 none required Checking for library containing sched_yield =E2=80=A6 none required Checking for library containing gethostbyname_r =E2=80=A6 nonerequired Checking for library containing shmget =E2=80=A6 none required Checking for library containing readline .. no Configure: error:readline library not found If you have readline already installed, see config.log fordetails on the fa= ilure.=C2=A0 It is possiblethe compiler isn=E2=80=99t=C2=A0 looking in a pr= operdirectory. Use =E2=80=93without-readline to disable readline support =C2=A0 # mdkir build_dir #pwd /home/postges/postgresl-11.1 # cd build_dir Make: *** No targets specified and no makefilefound. Stop =C2=A0v/r, Bach-Nga No one in this world is pure and perfect.=C2=A0 If you avoid people for the= ir mistakes you will be alone. So judge less, love and forgive more.To call= him a dog hardly seems to do him justice though in as much as he had four = legs, a tail, and barked, I admit he was, to all outward appearances. But t= o those who knew him well, he was a perfect gentleman (Hermione Gingold) **Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely = rich *** Faithful talent *** Sharing success=20 On Tuesday, December 18, 2018 6:19 PM, SBob wrote: =20 Can you send the output of your ./configure command to the list or past a= link to it?=20 On 12/18/18 8:20 AM, Pepe TD Vo wrote: =20 =20 Hello,=20 Run these commands:=20 Install: sudo yum install=C2=A0pgdg-redhat11-11-2.noarch.rpm rpm -Uvh=C2= =A0pgdg-redhat11-11-2.noarch.rpm preparing ###############[100%} successul= =20 but when I do "yum list posgres*=C2=A0 I ge an error that loaded plugins:= langpacks, product-id, search-disabled-repos, subscription-manager This sys= tem is not register with an entitlement server [Erno 14] curl#6- "Could not= resolve host: downlaod.posgresql.org; Unknown error"=C2=A0=20 Trying other mirror. One of the configured repositories failed (PostgreSQ= L 11 7Server -x86_64), and yum doesn't have enough cached data to continue.= At this point the on safe thing yum can do is failed.=C2=A0 =C2=A0There ar= e a few ways to work "fix" this: 1. contact the upstream for the repository= and get them to fix the problem. 2. Reconfigure the baseirl/etc.for the re= pository, to point to a working upstream. This is mot often useful if you a= re using a new distribution release than is supported by the repository (an= d the packages for the previous distribution release still work). 3. run th= e command with the repository temporarily disabled yum --disablerepo=3Dpgdb= 11.. 4.Disable the repositiroy permanently so yum won't use it by default. = Yum will then just ignore the repository until you permanently enable it ag= ain or use --enablerepo for temporary usage: =C2=A05. Configure the failing= repository to be skipped, if it's unavailable.=20 etc...=20 --------------------------------------------------=20 I use the source one # gunzip postgresql-11.1.tar.gz # tar -xvf postgresq= l-11-1.tar # cd postgresql11.1 #./configure=C2=A0 =C2=A0----> it's checking= build system, host system and etc... all the packages=C2=A0 #mkdir build_d= ir #cd build_dir # make now I get an error=C2=A0 Make: *** No targets speci= fied and no makefile found.=C2=A0 =C2=A0Stop.=20 which target I should put?=20 thank you.=20 =20 =20 =C2=A0 Bach-Nga =20 No one in this world is pure and perfect.=C2=A0 If you avoid people for th= eir mistakes you will be alone. So judge less, love and forgive more. To ca= ll him a dog hardly seems to do him justice though in as much as he had fou= r legs, a tail, and barked, I admit he was, to all outward appearances. But= to those who knew him well, he was a perfect gentleman (Hermione Gingold)= =20 **Live simply **Love generously **Care deeply **Speak kindly. *** Genuinel= y rich *** Faithful talent *** Sharing success =20 =20 On Tuesday, December 18, 2018 8:40 AM, Erkan Durmu=C5=9F wrote: =20 =20 Run these commands:=20 Install: sudo yum install epel-release rpm -Uvh https://download.postgre= sql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm= yum install postgresql11-server postgresql11-contrib =20 Init DB:=20 /usr/pgsql-11/bin/postgresql-11-setup initdb Int Service:=20 sudo systemctl start postgresql-11 sudo systemctl enable postgresql-11 = =20 =20 On Tue, Dec 18, 2018 at 4:14 PM Pepe TD Vo wrote: =20 Good morning Admin/DBAs=20 Would you please tell me how to install Postgres 11.x on RHEL7 servers?= =C2=A0 I am not able to install it and the pgdg-redhat 11-11-2.noarch.rpm s= uccessfully run but nothing happen when I install the packages "yum install= Postgres (server, contribute and devel=C2=A0)=C2=A0etc..."=20 Is there a way I can install postgres from gz file?=20 thank you. =C2=A0 Bach-Nga =20 No one in this world is pure and perfect.=C2=A0 If you avoid people for th= eir mistakes you will be alone. So judge less, love and forgive more. To ca= ll him a dog hardly seems to do him justice though in as much as he had fou= r legs, a tail, and barked, I admit he was, to all outward appearances. But= to those who knew him well, he was a perfect gentleman (Hermione Gingold)= =20 **Live simply **Love generously **Care deeply **Speak kindly. *** Genuinel= y rich *** Faithful talent *** Sharing success =20 =20 =20 =20 =20 ------=_Part_6682014_240579323.1545227950405 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
thank you for looking into this.  Here is the .= /configure info:

# cd /home/postgres/software
# gunzip postgresql-11.1.tar.gz
# tar =E2=80=93xvf postgresql-11.1.tar
# cd postgresql-11.1
# ./configure<= /o:p>
Checking build system type .. x86_64-pc-linux-gnu
Checking host system ty= upe .. x86_64-pc-linux0gnu
Checking which template to use =E2=80=A6 linux
Checking  whether NLS is wanted =E2=80=A6 no
Checking for default port number =E2=80=A6 5432
Checking for block size =E2=80= =A68kB
Checki= ng for segment size =E2=80=A6 1GB
Checking for WAL block size =E2=80=A6 8kB
Checking for gcc =E2=80= =A6 gcc
Check= ing whether the C compiler works =E2=80=A6 yes
Checking for suffix of executables =E2=80= =A6
Checking = whether we are cross compiling =E2=80=A6 no
Checking for suffix of object files .. .o
Checking wheth= er we are using the GNU C compiler .. yes
Checking whether gcc accepts =E2=80=93g =E2=80= =A6 yes
Check= ing for gcc option to accept ISO C89 .. non needed
Checking for g++ =E2=80=A6 g++
Checking whether we= ar using the GNU C++ compiler =E2=80=A6 yes
Checking whether g++ accepts =E2=80=93g =E2= =80=A6 yes<= /div>
Ch= ecking whether gcc supports =E2=80=93 Wdeclaration-after-statement, for CFLAGS =E2=80=A6 yes=
Checking whether gcc supports =E2=80=93Wendif-labels, for CFLAG= S =E2=80=A6 yes
Checking = whether g++ supports =E2=80=93Wendif-labels, for CXXFLAGS =E2=80=A6 yes
Checking = whether gcc supports =E2=80=93Wmissing-format-attribute, for CFLAGS =E2=80=A6 yes=
Checking whether g++ supports =E2=80=93Wmissing-format-attribut= e, for CXXFLAGS =E2=80=A6 yes
Checking whether gxxc supports =E2=80=93Wformat-security, for= CFLAGS =E2=80=A6 yes
Checking whether g++ supports =E2=80=93Wformat-security, for CXXFLAGS =E2=80=A6 yes
Checking whether gxx supports =E2=80=93fno-strict-aliasing, for CFLAGS =E2=80=A6 yes
Checking whether g++ supports =E2=80=93fno-strict-aliasing, for CXXFLAGS =E2=80=A6 yes
Checking whether gxx supports =E2=80=93fwrapv, for CFLAGS =E2=80= =A6 yes
Check= ing whether g++ supports =E2=80=93fwrapv, for CXXFLAGS =E2=80=A6 yes
Checking whether gc= c supports-fexcess-precision=3Dstandard, for CFLAGS .. yes<= /font>
Checking whether g++ supports-fexcess-precision=3Dstandards, for CXXFLAGS =E2=80=A6 no
Checking whether gcc supports-funroll-loops, for CFLAGS_VECTOR =E2=80=A6 yes
Checking whether gcc supports-ftree-vectorize, for CFLAGS_VECTOR =E2=80=A6 yes
Checking whether gxx supports-Wunused-command-line-arguments, for NOT_THE_CFLAGS =E2=80=A6 no
Checking wheth= er gcc-supports-Wformat-truncation, for NOT_THE_CFLAGS =E2=80=A6 no
Checking whether gcc supports-Wstringop-truncation, for NOT_= THE_CFLAGS =E2=80=A6 no
= Checking whether the C compiler still works =E2=80=A6 yes
Checking how to run the C prep= rocessor =E2=80=A6 gcc E=
Checking allow thread-safe client libraries =E2=80=A6 yes
Checking whether t= o build with ICU support =E2=80=A6 no
Checking whether to build with Tcl =E2=80=A6 no
Checking wheth= er to build Perl modules =E2=80=A6 no
Checking whether to build with GSSAPI support =E2= =80=A6 no
Che= cking whether to build with PAM support =E2=80=A6 no
Checking whether to build with BSD = Authentication support =E2=80=A6 no
Checking w= hether to build with LDAP support =E2=80=A6 no
Checking whether to build with Bonjour su= pport =E2=80=A6 no=
Checking whether to build with OpenSSL support =E2=80=A6 no
Checking whether to= build with SELinux support =E2=80=A6 no
Checking whether to build with system support = =E2=80=A6 no
= Checking for grep that handles long lines and =E2=80=93e =E2=80=A6 /bin/gre= p
Checking fo= r egrep =E2=80=A6/bin/grep =E2=80=93E
Checking for Id used for GCC =E2=80=A6 /bin/ld
Checking if th= e linker (/bin/ld) is GNU ld =E2=80=A6 yes
Checking for ranlib =E2=80=A6ranlib
Checking for strip =E2= =80=A6 strip
= Checking whether to build
Checking whether it is possible to strip libraries =E2=80=A6 y= es
 Chec= king for ar =E2=80=A6 ar=
Checking for a BSD-compatible install =E2=80=A6/bin/install =E2= =80=93c
Check= ing for tar =E2=80=A6 /bin/tar
Chechking whether ln =E2=80=93s works =E2=80=A6 yes
Checking for gawk = =E2=80=A6 gawk
Checking for a thread-safe mkdir =E2=80=93p =E2=80=A6 /bing/mkdir =E2=80= =93p
<= div id=3D"yui_3_16_0_ym19_1_1545138430473_533258">Checking= for bison =E2=80=A6/bin/bison
Configure: using bison (GNU Bison) 3.0.4
Checking for flex =E2=80=A6 /= bin/glex
Conf= igure: using flex 2.5.37=
Checking for perl =E2=80=A6/bin/perl
Configure: using perl 5.16.3
Checking for ANSI C hea= der files =E2=80=A6 yes<= /o:p>
Checking for sys/types.h =E2=80=A6 yes
Checking for sys/stat.h =E2=80=A6 yes<= o:p id=3D"yui_3_16_0_ym19_1_1545138430473_533275">
Checking for = stdlib.h =E2=80=A6 yes
Checking for string.h =E2=80=A6 yes
Checking for memory.h =E2=80=A6 yes
Checking for string= s.h =E2=80=A6 yes<= /font>
Checking for inttypes.h =E2=80=A6 yes
Checking for stdint.h =E2=80=A6  yes
Checking = for unistd.h =E2=80=A6 yes
Checking if compiler needs certain flags to reject unknown flags =E2=80=A6 no=
Checking for the pthreads library =E2=80=93lpthreads =E2=80=A6 no
Checking wheth= er pthreads work without any flags =E2=80=A6 no
Checking whether pthreads work with =E2= =80=93Kthread  =E2=80=A6 no
Checking whether pthreads work with =E2=80=93kthread = =E2=80=A6 no
= Checking whether pthreads work with pthread =E2=80=A6 yes
Checking for joinable pthread = attribute .. PTHREAD_CREATE_JOINABLE<= /o:p>
Checking if more special flags are required for pthreads =E2=80= =A6 no
Checking f= or PTHREAD_PRIO_INHERIT =E2=80=A6 yes
Checking pthread.h usability =E2=80=A6 yes
Checking pthread.h = presence =E2=80=A6 yes
Checking for pthread.h  =E2=80=A6 yes
Checking for strerror_r =E2=80=A6 yes
Checking for getpwuid_r =E2=80=A6 yes
Checking for gethostbyna= me_r .. yes=
C= hecking whether strerror_r returens int =E2=80=A6 no
Checking for main in =E2=80=93lm = =E2=80=A6 yes
Checking for library containing setproctitle .. no
Checking for library containing setp= roctitle =E2=80=A6 no
Checking for library containing dlopen =E2=80=A6 -ldl
Checking for library cont= aining socket =E2=80=A6 none required
Checking for library containing shl_load =E2=80=A6= no
Checking = for library containing getopt_long .. none required
Checking for library containing shm_= open =E2=80=A6 -lrt
Checking for library containing shm_unlink .. none required
Checking for librar= y containing clock_gettime =E2=80=A6 none required
Chec= king for library containingfdatasync =E2=80=A6 none required
Checking for library contai= ning sched_yield =E2=80=A6 none required
Checking for library containing gethostbyname_r= =E2=80=A6 none required
Chec= king for library containing shmget =E2=80=A6 none required
Checking for library containi= ng readline .. no<= /font>
Configure: error:readline library not found
If you have readline already installed, see config.log for details on the failure.  It is possible the compiler isn=E2=80=99t  looking in a prope= r directory. Use =E2=80=93without-readline to disable readline support=
 
# mdkir build_dir
#pwd<= o:p id=3D"yui_3_16_0_ym19_1_1545138430473_533365">
/home/postges/postgresl-11.1
# cd build_dir
Make: *** No targets sp= ecified and no makefile found. Stop
 
v/r,

Bach-Nga
=
No one in this world is pure and perfect.  If y= ou avoid people for their mistakes you will be alone. So judge less, love a= nd forgive more.
To call him a dog hardly seems= to do him justice though in as much as he had four legs, a tail, and barke= d, I admit he was, to all outward appearances. But to those who knew him we= ll, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply = **Speak kindly.
*** Genuinely rich *** Faithful talent *** S= haring success

<= br>
On Tuesday, December 18, 2018 6:19 PM, SBob <sbob@quadrat= um-braccas.com> wrote:


Can you send the output of your ./configure command to the list or past a link to it?

=
On 12/18/18 8:20 AM, Pepe TD Vo= wrote:
Hello,

Run = these commands:

Install:
preparing ###############[100%}
successul

but when I do "yum list posgres*  I ge an error that loaded plugins:langpacks, product-id, search-disabled-repos, subscription-manager
This system is not register with an entitlement server
[Erno 14] curl#6- "Could not resolve host: downlaod.posgresql.org; Unknown error" 

Trying other mirror.
One of the configured repositories failed (PostgreSQL 11 7Server -x86_64), and yum doesn't have enough cached data to continue. At this point the on safe thing yum can do is failed.   There are a few ways to work "fix" this:
1. contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseirl/etc.for the repository, to point to a working upstream. This is mot often useful if you are using a new distribution release than is supported by the repository (and the packages for the previous distribution release still work).
3. run the command with the repository temporarily disabled
yum --disablerepo=3Dpgdb11..
4.Disable the repositiroy permanently so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage:
 5. Configure the failing repository to be skipped, if it's unavailable.

etc...

-------------------------------------------------= -

I use the source one
# gunzip postgresql-11.1.tar.gz
# tar -xvf postgresql-11-1.tar
# cd postgresql11.1
#./configure   ----> it's checking build system, host system and etc.= .. all the packages 
#mkdir build_dir
#cd build_dir
# make
now I get an error  Make: *** No targets specified and no makefile found.   Stop.

which target I should put?

thank you.



&nbs= p;
Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him = a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** = Faithful talent *** Sharing success


On Tuesday, December 18, 2018 8:40 AM, Erkan Durmu=C5=9F <derkan@gmail.com> wrote:


Run these commands:

Install:
sudo yum install epel-release
yum install postgresql11-server postgresql11-contrib

Init DB:

/usr/pgsql-11/bin/postgresql-11-setup initdb
Int Service:

sudo systemctl start postgresql-11
sudo systemctl enable postgresql-11


On Tue, Dec 18, 2018 at 4:14 PM Pepe TD Vo <pepevo@yahoo.com> wrote:
Good morning Admin/DBAs
Would you please tell me how to install Postgres 11.x on RHEL7 servers?  I am not able to install i= t and the pgdg-redhat 11-11-2.noarch.rpm successfully run but nothing happen when I install the packages "yum install Postgres (server, contribute and devel&nbs= p;) etc..."
Is there a way I can install postgres from gz file?
thank you.
 
Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)<= /font>

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success


=20


------=_Part_6682014_240579323.1545227950405--