Re: skytools build for 9.5 (EL-6 and EL-7)

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Martín Marqués <martin(at)2ndquadrant(dot)com>, Cédric Villemain <cedric(at)2ndQuadrant(dot)com>, pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: skytools build for 9.5 (EL-6 and EL-7)
Date: 2016-05-31 00:15:23
Message-ID: 1464653723.26745.12.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum


Hi,

On Sun, 2016-05-29 at 20:50 -0300, Martín Marqués wrote:
> That's strange. I downloaded the src.rpm for skytools, changed the
> postgres version in the .spec file (plus the changes from Cédic's patch)
> and it compiled without a problem.
>
> Could you expand on what compile errors you were getting?

Here you go:

+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --
program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --
includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --
localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --
infodir=/usr/share/info --with-pgconfig=/usr/pgsql-9.6/bin/pg_config --
prefix=/usr/skytools-96 --with-python=/usr/bin/python
/var/tmp/rpm-tmp.e7TmxM: line 44: ./configure: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.e7TmxM (%build)

So, configure is not in the tarball. I even cannot generate it without getting
an error:

$ autoreconf 
configure.ac:138: error: possibly undefined macro: AC_USUAL_PORT_CHECK
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:139: error: possibly undefined macro: AC_USUAL_PROGRAM_CHECK
configure.ac:140: error: possibly undefined macro: AC_USUAL_HEADER_CHECK
configure.ac:141: error: possibly undefined macro: AC_USUAL_TYPE_CHECK
configure.ac:142: error: possibly undefined macro: AC_USUAL_FUNCTION_CHECK
configure.ac:149: error: possibly undefined macro: AC_USUAL_LIBEVENT_OPT
configure.ac:154: error: possibly undefined macro: AC_USUAL_DEBUG
configure.ac:155: error: possibly undefined macro: AC_USUAL_CASSERT
autoreconf: /usr/bin/autoconf failed with exit status: 1

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Bob Lunney 2016-05-31 13:11:50 Amazon Linux 2016.03 Packages
Previous Message Martín Marqués 2016-05-29 23:50:01 Re: skytools build for 9.5 (EL-6 and EL-7)