Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffVkc-000526-9b for pgsql-general@arkaria.postgresql.org; Tue, 17 Jul 2018 19:35:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ffVkZ-0006NV-UT for pgsql-general@arkaria.postgresql.org; Tue, 17 Jul 2018 19:35:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffVkZ-0006NN-KT for pgsql-general@lists.postgresql.org; Tue, 17 Jul 2018 19:35:07 +0000 Received: from chocolate.concordia.psi.br ([189.91.194.3]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffVkS-0008FK-3G for pgsql-general@postgresql.org; Tue, 17 Jul 2018 19:35:07 +0000 Received: from Marcio (unknown [186.226.37.77]) (Authenticated sender: marcio@zyontecnologia.com.br) by chocolate.concordia.psi.br (Postfix) with ESMTPA id DE7E6100145A for ; Tue, 17 Jul 2018 16:34:50 -0300 (BRT) From: =?iso-8859-1?Q?M=E1rcio_Ant=F4nio_Sepp?= To: Subject: Can't compile postgresql 11 on FreeBSD 11.1 Date: Tue, 17 Jul 2018 16:34:50 -0300 Message-ID: <01c801d41e05$3a8ff650$afafe2f0$@com.br> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01C9_01D41DEC.1542BE50" X-Mailer: Microsoft Office Outlook 12.0 Content-Language: pt-br Thread-Index: AdQeBTp6xhcnXMKaQ2uig+SySqm02w== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_01C9_01D41DEC.1542BE50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 Hi, =20 =20 I=92m trying to compile PostgreSQL 11beta2 but this errors occur: =20 root@srvbacula:/postgresql/postgresql-11beta2 # ./configure checking build system type... x86_64-unknown-freebsd11.1 checking host system type... x86_64-unknown-freebsd11.1 checking which template to use... freebsd checking whether NLS is wanted... no checking for default port number... 5432 checking for block size... 8kB checking for segment size... 1GB checking for WAL block size... 8kB checking for gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for g++... no checking for c++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking whether cc supports -Wdeclaration-after-statement, for = CFLAGS... yes checking whether cc supports -Wendif-labels, for CFLAGS... yes checking whether c++ supports -Wendif-labels, for CXXFLAGS... yes checking whether cc supports -Wmissing-format-attribute, for CFLAGS... = yes checking whether c++ supports -Wmissing-format-attribute, for = CXXFLAGS... yes checking whether cc supports -Wformat-security, for CFLAGS... yes checking whether c++ supports -Wformat-security, for CXXFLAGS... yes checking whether cc supports -fno-strict-aliasing, for CFLAGS... yes checking whether c++ supports -fno-strict-aliasing, for CXXFLAGS... yes checking whether cc supports -fwrapv, for CFLAGS... yes checking whether c++ supports -fwrapv, for CXXFLAGS... yes checking whether cc supports -fexcess-precision=3Dstandard, for = CFLAGS... no checking whether c++ supports -fexcess-precision=3Dstandard, for = CXXFLAGS... no checking whether cc supports -funroll-loops, for CFLAGS_VECTOR... yes checking whether cc supports -ftree-vectorize, for CFLAGS_VECTOR... yes checking whether cc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... yes checking whether cc supports -Wformat-truncation, for NOT_THE_CFLAGS... = no checking whether cc supports -Wstringop-truncation, for = NOT_THE_CFLAGS... no checking whether the C compiler still works... yes checking how to run the C preprocessor... cc -E checking allow thread-safe client libraries... yes checking whether to build with ICU support... no checking whether to build with Tcl... no checking whether to build Perl modules... no checking whether to build Python modules... no checking whether to build with GSSAPI support... no checking whether to build with PAM support... no checking whether to build with BSD Authentication support... no checking whether to build with LDAP support... no checking whether to build with Bonjour support... no checking whether to build with OpenSSL support... no checking whether to build with SELinux support... no checking whether to build with systemd support... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for ranlib... ranlib checking for strip... strip checking whether it is possible to strip libraries... no checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking for tar... /usr/bin/tar checking whether ln -s works... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking for a thread-safe mkdir -p... config/install-sh -c -d checking for bison... no configure: WARNING: *** Without Bison you will not be able to build PostgreSQL from Git nor *** change any of the parser definition files. You can obtain Bison = from *** a GNU mirror site. (If you are using the official distribution of *** PostgreSQL then you do not need to worry about this, because the = Bison *** output is pre-generated.) checking for flex... /usr/bin/flex configure: using flex 2.5.37 checking for perl... /usr/local/bin/perl configure: using perl 5.26.2 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if compiler needs certain flags to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... = -D_THREAD_SAFE checking for PTHREAD_PRIO_INHERIT... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for strerror_r... yes checking for getpwuid_r... yes checking for gethostbyname_r... yes checking whether strerror_r returns int... yes checking for main in -lm... yes checking for library containing setproctitle... none required checking for library containing dlopen... none required checking for library containing socket... none required checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing crypt... -lcrypt checking for library containing shm_open... none required checking for library containing shm_unlink... none required checking for library containing clock_gettime... none required checking for library containing fdatasync... none required checking for library containing sched_yield... none required checking for library containing gethostbyname_r... none required checking for library containing shmget... none required checking for library containing readline... -ledit checking for inflate in -lz... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking atomic.h usability... no checking atomic.h presence... no checking for atomic.h... no checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking ieeefp.h usability... yes checking ieeefp.h presence... yes checking for ieeefp.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking mbarrier.h usability... no checking mbarrier.h presence... no checking for mbarrier.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/epoll.h usability... no checking sys/epoll.h presence... no checking for sys/epoll.h... no checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking sys/tas.h usability... no checking sys/tas.h presence... no checking for sys/tas.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking ucred.h usability... no checking ucred.h presence... no checking for ucred.h... no checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for net/if.h... yes checking for sys/ucred.h... yes checking for netinet/tcp.h... yes checking editline/readline.h usability... no checking editline/readline.h presence... no checking for editline/readline.h... no checking readline.h usability... no checking readline.h presence... no checking for readline.h... no checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no configure: error: readline header not found If you have libedit already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper = directory. Use --without-readline to disable libedit support. =20 =20 root@srvbacula:/postgresql/postgresql-11beta2 # pkg info | grep readline readline-7.0.3_1 Library for editing command lines as they = are typed root@srvbacula:/postgresql/postgresql-11beta2 # =20 thanks in advance =20 =20 -- Att M=E1rcio A. Sepp ------=_NextPart_000_01C9_01D41DEC.1542BE50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

 

Hi,

 

 

I’m = trying to compile PostgreSQL 11beta2 but this errors = occur:

 

root@srvbacula:/postgresql/postgresql-11beta2 # = ./configure

checking build system = type... x86_64-unknown-freebsd11.1

checking host system type... = x86_64-unknown-freebsd11.1

checking = which template to use... freebsd

checking whether NLS is wanted... no

checking for default port number... = 5432

checking for block size... = 8kB

checking for segment size... = 1GB

checking for WAL block size... = 8kB

checking for gcc... = no

checking for cc... = cc

checking whether the C compiler = works... yes

checking for C compiler = default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... = no

checking for suffix of object = files... o

checking whether we are = using the GNU C compiler... yes

checking whether cc accepts -g... yes

checking for cc option to accept ISO C89... none = needed

checking for g++... = no

checking for c++... = c++

checking whether we are using the = GNU C++ compiler... yes

checking = whether c++ accepts -g... yes

checking whether cc supports = -Wdeclaration-after-statement, for CFLAGS... yes

checking whether cc supports -Wendif-labels, for = CFLAGS... yes

checking whether c++ = supports -Wendif-labels, for CXXFLAGS... yes

checking whether cc supports = -Wmissing-format-attribute, for CFLAGS... yes

checking whether c++ supports = -Wmissing-format-attribute, for CXXFLAGS... yes

checking whether cc supports -Wformat-security, for = CFLAGS... yes

checking whether c++ = supports -Wformat-security, for CXXFLAGS... yes

checking whether cc supports -fno-strict-aliasing, for = CFLAGS... yes

checking whether c++ = supports -fno-strict-aliasing, for CXXFLAGS... yes

checking whether cc supports -fwrapv, for CFLAGS... = yes

checking whether c++ supports = -fwrapv, for CXXFLAGS... yes

checking = whether cc supports -fexcess-precision=3Dstandard, for CFLAGS... = no

checking whether c++ supports = -fexcess-precision=3Dstandard, for CXXFLAGS... no

checking whether cc supports -funroll-loops, for = CFLAGS_VECTOR... yes

checking whether = cc supports -ftree-vectorize, for CFLAGS_VECTOR... yes

checking whether cc supports = -Wunused-command-line-argument, for NOT_THE_CFLAGS... = yes

checking whether cc supports = -Wformat-truncation, for NOT_THE_CFLAGS... no

checking whether cc supports -Wstringop-truncation, = for NOT_THE_CFLAGS... no

checking = whether the C compiler still works... yes

checking how to run the C preprocessor... cc = -E

checking allow thread-safe client = libraries... yes

checking whether to = build with ICU support... no

checking = whether to build with Tcl... no

checking whether to build Perl modules... = no

checking whether to build Python = modules... no

checking whether to = build with GSSAPI support... no

checking whether to build with PAM support... = no

checking whether to build with BSD = Authentication support... no

checking = whether to build with LDAP support... no

checking whether to build with Bonjour support... = no

checking whether to build with = OpenSSL support... no

checking = whether to build with SELinux support... no

checking whether to build with systemd support... = no

checking for grep that handles = long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep = -E

checking for ld used by GCC... = /usr/bin/ld

checking if the linker = (/usr/bin/ld) is GNU ld... yes

checking for ranlib... ranlib

checking for strip... strip

checking whether it is possible to strip libraries... = no

checking for ar... = ar

checking for a BSD-compatible = install... /usr/bin/install -c

checking for tar... /usr/bin/tar

checking whether ln -s works... yes

checking for gawk... no

checking for mawk... no

checking for nawk... nawk

checking for a thread-safe mkdir -p... = config/install-sh -c -d

checking for = bison... no

configure: = WARNING:

*** Without Bison you will = not be able to build PostgreSQL from Git nor

*** change any of the parser definition files.=A0 You = can obtain Bison from

*** a GNU = mirror site.=A0 (If you are using the official distribution = of

*** PostgreSQL then you do not = need to worry about this, because the Bison

*** output is pre-generated.)

checking for flex... /usr/bin/flex

configure: using flex 2.5.37

checking for perl... = /usr/local/bin/perl

configure: using = perl 5.26.2

checking for ANSI C = header files... yes

checking for = sys/types.h... yes

checking for = sys/stat.h... yes

checking for = stdlib.h... yes

checking for = string.h... yes

checking for = memory.h... yes

checking for = strings.h... yes

checking for = inttypes.h... yes

checking for = stdint.h... yes

checking for = unistd.h... yes

checking if compiler = needs certain flags to reject unknown flags... no

checking for the pthreads library -lpthreads... = no

checking whether pthreads work = without any flags... no

checking = whether pthreads work with -Kthread... no

checking whether pthreads work with -kthread... = no

checking for the pthreads library = -llthread... no

checking whether = pthreads work with -pthread... yes

checking for joinable pthread attribute... = PTHREAD_CREATE_JOINABLE

checking if = more special flags are required for pthreads... = -D_THREAD_SAFE

checking for = PTHREAD_PRIO_INHERIT... yes

checking = pthread.h usability... yes

checking = pthread.h presence... yes

checking = for pthread.h... yes

checking for = strerror_r... yes

checking for = getpwuid_r... yes

checking for = gethostbyname_r... yes

checking = whether strerror_r returns int... yes

checking for main in -lm... yes

checking for library containing setproctitle... none = required

checking for library = containing dlopen... none required

checking for library containing socket... none = required

checking for library = containing shl_load... no

checking = for library containing getopt_long... none required

checking for library containing crypt... = -lcrypt

checking for library = containing shm_open... none required

checking for library containing shm_unlink... none = required

checking for library = containing clock_gettime... none required

checking for library containing fdatasync... none = required

checking for library = containing sched_yield... none required

checking for library containing gethostbyname_r... = none required

checking for library = containing shmget... none required

checking for library containing readline... = -ledit

checking for inflate in -lz... = yes

checking for stdbool.h that = conforms to C99... yes

checking for = _Bool... yes

checking atomic.h = usability... no

checking atomic.h = presence... no

checking for = atomic.h... no

checking crypt.h = usability... no

checking crypt.h = presence... no

checking for = crypt.h... no

checking dld.h = usability... no

checking dld.h = presence... no

checking for dld.h... = no

checking fp_class.h usability... = no

checking fp_class.h presence... = no

checking for fp_class.h... = no

checking getopt.h usability... = yes

checking getopt.h presence... = yes

checking for getopt.h... = yes

checking ieeefp.h usability... = yes

checking ieeefp.h presence... = yes

checking for ieeefp.h... = yes

checking ifaddrs.h usability... = yes

checking ifaddrs.h presence... = yes

checking for ifaddrs.h... = yes

checking langinfo.h usability... = yes

checking langinfo.h presence... = yes

checking for langinfo.h... = yes

checking mbarrier.h usability... = no

checking mbarrier.h presence... = no

checking for mbarrier.h... = no

checking poll.h usability... = yes

checking poll.h presence... = yes

checking for poll.h... = yes

checking sys/epoll.h usability... = no

checking sys/epoll.h presence... = no

checking for sys/epoll.h... = no

checking sys/ipc.h usability... = yes

checking sys/ipc.h presence... = yes

checking for sys/ipc.h... = yes

checking sys/pstat.h usability... = no

checking sys/pstat.h presence... = no

checking for sys/pstat.h... = no

checking sys/resource.h = usability... yes

checking = sys/resource.h presence... yes

checking for sys/resource.h... yes

checking sys/select.h usability... = yes

checking sys/select.h presence... = yes

checking for sys/select.h... = yes

checking sys/sem.h usability... = yes

checking sys/sem.h presence... = yes

checking for sys/sem.h... = yes

checking sys/shm.h usability... = yes

checking sys/shm.h presence... = yes

checking for sys/shm.h... = yes

checking sys/sockio.h = usability... yes

checking = sys/sockio.h presence... yes

checking = for sys/sockio.h... yes

checking = sys/tas.h usability... no

checking = sys/tas.h presence... no

checking for = sys/tas.h... no

checking sys/un.h = usability... yes

checking sys/un.h = presence... yes

checking for = sys/un.h... yes

checking termios.h = usability... yes

checking termios.h = presence... yes

checking for = termios.h... yes

checking ucred.h = usability... no

checking ucred.h = presence... no

checking for = ucred.h... no

checking utime.h = usability... yes

checking utime.h = presence... yes

checking for = utime.h... yes

checking wchar.h = usability... yes

checking wchar.h = presence... yes

checking for = wchar.h... yes

checking wctype.h = usability... yes

checking wctype.h = presence... yes

checking for = wctype.h... yes

checking for = net/if.h... yes

checking for = sys/ucred.h... yes

checking for = netinet/tcp.h... yes

checking = editline/readline.h usability... no

checking editline/readline.h presence... = no

checking for = editline/readline.h... no

checking = readline.h usability... no

checking = readline.h presence... no

checking = for readline.h... no

checking = readline/readline.h usability... no

checking readline/readline.h presence... = no

checking for = readline/readline.h... no

configure: = error: readline header not found

If = you have libedit already installed, see config.log for details on = the

failure.=A0 It is possible the = compiler isn't looking in the proper directory.

Use --without-readline to disable libedit = support.

 

 

root@srvbacula:/postgresql/postgresql-11beta2 # pkg = info | grep readline

readline-7.0.3_1=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 Library for editing command lines as they are typed

root@srvbacula:/postgresql/postgresql-11beta2 = #

 

thanks in advance

 

 

--

Att

M=E1rcio A. = Sepp

------=_NextPart_000_01C9_01D41DEC.1542BE50--