madlib-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Iyer <rahulri...@gmail.com>
Subject Re: Installation issues: Postgres version detection in madpack + password usage
Date Wed, 08 Feb 2017 16:18:30 GMT
To ensure it finds postgres either:

add `-DPOSTGRESQL_9_6_PG_CONFIG=/path/to/pg_config' with the `cmake ...`
command
or
ensure the postgresql bin directory is in your $PATH

On Tue, Feb 7, 2017 at 6:53 PM, Nikolay Samokhvalov <samokhvalov@gmail.com>
wrote:

> You're right:
>
>    -- Could NOT find PostgreSQL (missing: POSTGRESQL_EXECUTABLE)
>
> Full output: https://circleci.com/gh/NikolayS/check_madlib/7
>
> On Tue, Feb 7, 2017 at 6:47 PM, Orhan Kislal <okislal@pivotal.io> wrote:
>
>> Hi Nikolay,
>>
>> What was the output when you called the cmake? I suspect it did not
>> recognize 9.6.1 but I just want to be sure.
>>
>> Thanks
>>
>> Orhan
>>
>> On Tue, Feb 7, 2017 at 6:18 PM, Nikolay Samokhvalov <
>> samokhvalov@gmail.com> wrote:
>>
>>> Thank you for your answer.
>>>
>>> This is what I get when I install the current version from git (git
>>> clone git@github.com:apache/incubator-madlib.git):
>>>
>>> madpack.py : INFO : Detected PostgreSQL version 9.6.
>>> madpack.py : ERROR : This version is not among the PostgreSQL versions
>>> for which MADlib support files have been installed ().
>>>
>>>
>>> On Tuesday, February 7, 2017, Orhan Kislal <okislal@pivotal.io> wrote:
>>>
>>>> Hi Nikolay,
>>>>
>>>> Postgres 9.6 is not supported by MADlib v1.9.1 binaries. The error
>>>> message is saying that only 9.4 and 9.5 are supported. We have added
>>>> Postgres 9.6 support to the source code and it should be available with our
>>>> next release. You might want to try building the development version of
>>>> MADlib from source and install that if you don't want to wait for v1.10.0.
>>>> Here is our wiki to help you get started: https://cwiki.apache.
>>>> org/confluence/display/MADLIB/Installation+Guide
>>>>
>>>> Thanks
>>>>
>>>> Orhan
>>>>
>>>> On Tue, Feb 7, 2017 at 4:39 PM, Nikolay Samokhvalov <
>>>> samokhvalov@gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm experiencing new issues with installation on Ubuntu machine.
>>>>>
>>>>> I have Postgres 9.6.1 (only) installed, but when I'm trying to run
>>>>> madpack, I get:
>>>>>
>>>>> madpack.py : INFO : Detected PostgreSQL version 9.6.
>>>>> madpack.py : ERROR : This version is not among the PostgreSQL versions
>>>>> for which MADlib support files have been installed (9.5, 9.4).
>>>>>
>>>>> Neither 9.4, nor 9.5 are not installed on the machine, only 9.6:
>>>>>
>>>>>
>>>>> ubuntu@box450:~$ dpkg -l | grep postgresql
>>>>> ii  pgdg-keyring                             2014.1
>>>>>               all          keyring for apt.postgresql.org
>>>>> ii  postgresql-9.6                           9.6.1-2.pgdg14.04+1
>>>>>              amd64        object-relational SQL database, version 9.6
server
>>>>> ii  postgresql-client-9.6                    9.6.1-2.pgdg14.04+1
>>>>>              amd64        front-end programs for PostgreSQL 9.6
>>>>> ii  postgresql-client-common                 178.pgdg14.04+1
>>>>>              all          manager for multiple PostgreSQL client versions
>>>>> ii  postgresql-common                        178.pgdg14.04+1
>>>>>              all          PostgreSQL database-cluster manager
>>>>> ii  postgresql-contrib-9.6                   9.6.1-2.pgdg14.04+1
>>>>>              amd64        additional facilities for PostgreSQL
>>>>> ii  postgresql-plpython-9.6                  9.6.1-2.pgdg14.04+1
>>>>>              amd64        PL/Python procedural language for PostgreSQL
9.6
>>>>>
>>>>>
>>>>> So it looks like MADlib incorrectly detects version of Postgres
>>>>> available .
>>>>>
>>>>> Everything is happening on a CirlceCI virtual machine, so anyone who
>>>>> has Github account can see it easily and repeat / debug right there:
>>>>> https://circleci.com/gh/NikolayS/check_madlib/5
>>>>>
>>>>> Here is a list of all steps to reproduce: https://github.com/
>>>>> NikolayS/check_madlib/blob/master/circle.yml
>>>>>
>>>>> .deb package was created using RPM package. I get the same results if
>>>>> I try to install MADlib from source on that Ubuntu machine.
>>>>>
>>>>> I have no experience with cmake, so please help.
>>>>>
>>>>
>>>>
>>
>

Mime
View raw message