[
https://issues.apache.org/jira/browse/MADLIB-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15392056#comment-15392056
]
ASF GitHub Bot commented on MADLIB-944:
---------------------------------------
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.
> Support for PostgreSQL 9.5 and 9.6
> ----------------------------------
>
> Key: MADLIB-944
> URL: https://issues.apache.org/jira/browse/MADLIB-944
> Project: Apache MADlib
> Issue Type: Task
> Components: All Modules
> Reporter: Frank McQuillan
> Priority: Minor
> Fix For: v1.9.1
>
>
> Regular platform support work associated with 9.5 release
> http://www.postgresql.org/docs/devel/static/release-9-5.html
> Also put in code to support 9.6 since it is due out in Sept 2016 and we want
> to do a PostgreSQL event in the fall so good to be up to date. Postgres
> folks tell us that there are no changes coming between now and Sept in 9.6
> that would affect MADlib so could just use the latest beta for testing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)