madlib-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vadv <...@git.apache.org>
Subject [GitHub] incubator-madlib issue #57: MADLIB-944: Add PostgreSQL 9.5 and 9.6 support
Date Mon, 25 Jul 2016 15:02:12 GMT
Github user vadv commented on the issue:

    https://github.com/apache/incubator-madlib/pull/57
  
    Hello!
    After build and `make install` with this patch, I can't install madlib on PostgreSQL 9.5:
    ```
    madpack.py : INFO : Detected PostgreSQL version 9.5.
    madpack.py : INFO : *** Installing MADlib ***
    madpack.py : INFO : MADlib tools version    = 1.9 (/usr/local/madlib/Versions/1.9/bin/../madpack/madpack.py)
    madpack.py : INFO : MADlib database version = None (host=localhost:5432, db=gis, schema=madlib)
    madpack.py : INFO : Testing PL/Python environment...
    madpack.py : INFO : > Creating language PL/Python...
    madpack.py : INFO : > PL/Python environment OK (version: 2.7.12)
    madpack.py : INFO : Installing MADlib into MADLIB schema...
    madpack.py : INFO : > Creating MADLIB schema
    madpack.py : INFO : > Creating MADLIB.MigrationHistory table
    madpack.py : INFO : > Writing version info in MigrationHistory table
    madpack.py : INFO : > Creating objects for modules:
    madpack.py : INFO : > - array_ops
    madpack.py : ERROR : Failed executing /tmp/madlib.78jPYf/array_ops/array_ops.sql_in.tmp
    madpack.py : ERROR : Check the log at /tmp/madlib.78jPYf/array_ops/array_ops.sql_in.log
    madpack.py : INFO : Rolling back the installation...
    madpack.py : INFO : Rollback finished successfully.
    madpack.py : ERROR : MADlib installation failed.
    ```
    Then I change m4 macros in file /usr/local/madlib/Versions/1.9/ports/postgres/9.5/madpack/SQLCommon.m4:
    ```
    -__DBMS_ARCHITECTURE__=
    +m4_define(`__DBMS_ARCHITECTURE__', `x86_64')
    ```
    installation working for me.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message