[
https://issues.apache.org/jira/browse/MADLIB-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15538888#comment-15538888
]
Enzo Mar edited comment on MADLIB-1027 at 10/1/16 5:40 PM:
-----------------------------------------------------------
OK - I moved back to OSX python 2.7 and I could compile & install (still need
to test).
If python 2.7 is necessary should be listed among the prerequisites.
On the other hand I'm going back to use Anaconda 3.5: finger crossed!!
was (Author: insightsfromdata):
OK - I moved back to OSX python 2.7 and I could compile.
If python 2.7 is necessary should be listed among the prerequisites.
On the other hand I'm going back to use Anaconda 3.5: finger crossed!!
> Error installing 1.9.1 sources on PostgreSQL9.6 and OSX
> -------------------------------------------------------
>
> Key: MADLIB-1027
> URL: https://issues.apache.org/jira/browse/MADLIB-1027
> Project: Apache MADlib
> Issue Type: Bug
> Reporter: Enzo Mar
>
> I’ve tried to install the great MAdlib 1.9.1 form sources on my PostgreSQL9.6
> on OSX Sierra. I’m using Anaconda Python 3.5.2.
> make stops with error due to TestIfNoUTF8BOM.py (see below).
> x$ cmake ..
> -- The C compiler identification is AppleClang 8.0.0.8000038
> -- The CXX compiler identification is AppleClang 8.0.0.8000038
> -- Check for working C compiler:
> /Library/Developer/CommandLineTools/usr/bin/gcc
> -- Check for working C compiler:
> /Library/Developer/CommandLineTools/usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler:
> /Library/Developer/CommandLineTools/usr/bin/g++
> -- Check for working CXX compiler:
> /Library/Developer/CommandLineTools/usr/bin/g++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Boost version: 1.61.0
> -- Found PythonInterp: /Users/e/anaconda/bin/python (found version "3.5.2")
> -- Found PostgreSQL:
> /Applications/Postgres.app/Contents/Versions/9.6/bin/postgres
> -- Found PostgreSQL_9_6:
> /Applications/Postgres.app/Contents/Versions/9.6/bin/postgres
> >> Adding PostgreSQL 9.6 (x86_64) to target list...
> -- Could NOT find Greenplum (missing: GREENPLUM_EXECUTABLE)
> -- Could NOT find HAWQ (missing: HAWQ_EXECUTABLE)
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /Users/e/CloudDrive/dev/gitlib/madlib-master/build
> e-mac:build e$ make
> Scanning dependencies of target sqlFiles
> [ 0%] Built target sqlFiles
> Scanning dependencies of target EP_eigen
> [ 0%] Creating directories for 'EP_eigen'
> [ 0%] Performing download step (download, verify and extract) for 'EP_eigen'
> -- downloading...
> src='https://github.com/madlib/eigen/archive/branches/3.2.tar.gz'
>
> dst='/Users/e/CloudDrive/dev/gitlib/madlib-master/build/third_party/downloads/3.2.tar.gz'
> timeout='none'
> -- Downloading... done
> -- extracting...
>
> src='/Users/e/CloudDrive/dev/gitlib/madlib-master/build/third_party/downloads/3.2.tar.gz'
>
> dst='/Users/e/CloudDrive/dev/gitlib/madlib-master/build/third_party/src/EP_eigen'
> -- extracting... [tar xfz]
> -- extracting... [analysis]
> -- extracting... [rename]
> -- extracting... [clean up]
> -- extracting... done
> [ 0%] No patch step for 'EP_eigen'
> [ 0%] No update step for 'EP_eigen'
> [ 0%] Performing configure step for 'EP_eigen'
> Ignored: cmake -GUnix Makefiles
> /Users/e/CloudDrive/dev/gitlib/madlib-master/build/third_party/src/EP_eigen
> [ 1%] Performing build step for 'EP_eigen'
> Ignored: make
> [ 1%] Performing install step for 'EP_eigen'
> Ignored: make
> [ 1%] Completed 'EP_eigen'
> [ 1%] Built target EP_eigen
> Scanning dependencies of target EP_pyxb
> [ 1%] Creating directories for 'EP_pyxb'
> [ 1%] Performing download step (download, verify and extract) for 'EP_pyxb'
> -- downloading...
> src='http://sourceforge.net/projects/pyxb/files/PyXB-1.2.4.tar.gz'
>
> dst='/Users/e/CloudDrive/dev/gitlib/madlib-master/build/third_party/downloads/PyXB-1.2.4.tar.gz'
> timeout='none'
> -- [download 0% complete]
> -- [download 1% complete]
> -- [download 2% complete]
> -- [download 3% complete]
> -- [download 4% complete]
> -- [download 5% complete]
> -- [download 6% complete]
> -- [download 7% complete]
> -- [download 8% complete]
> -- [download 9% complete]
> -- [download 10% complete]
> -- [download 11% complete]
> -- [download 12% complete]
> -- [download 13% complete]
> -- [download 14% complete]
> -- [download 15% complete]
> -- [download 16% complete]
> -- [download 17% complete]
> -- [download 18% complete]
> -- [download 19% complete]
> -- [download 20% complete]
> -- [download 21% complete]
> -- [download 22% complete]
> -- [download 23% complete]
> -- [download 24% complete]
> -- [download 25% complete]
> -- [download 26% complete]
> -- [download 27% complete]
> -- [download 28% complete]
> -- [download 29% complete]
> -- [download 30% complete]
> -- [download 31% complete]
> -- [download 32% complete]
> -- [download 33% complete]
> -- [download 34% complete]
> -- [download 35% complete]
> -- [download 36% complete]
> -- [download 37% complete]
> -- [download 38% complete]
> -- [download 39% complete]
> -- [download 40% complete]
> -- [download 41% complete]
> -- [download 42% complete]
> -- [download 43% complete]
> -- [download 44% complete]
> -- [download 45% complete]
> -- [download 46% complete]
> -- [download 47% complete]
> -- [download 48% complete]
> -- [download 49% complete]
> -- [download 50% complete]
> -- [download 51% complete]
> -- [download 52% complete]
> -- [download 53% complete]
> -- [download 54% complete]
> -- [download 55% complete]
> -- [download 56% complete]
> -- [download 57% complete]
> -- [download 58% complete]
> -- [download 59% complete]
> -- [download 60% complete]
> -- [download 61% complete]
> -- [download 62% complete]
> -- [download 63% complete]
> -- [download 64% complete]
> -- [download 65% complete]
> -- [download 66% complete]
> -- [download 67% complete]
> -- [download 68% complete]
> -- [download 69% complete]
> -- [download 70% complete]
> -- [download 71% complete]
> -- [download 72% complete]
> -- [download 73% complete]
> -- [download 74% complete]
> -- [download 75% complete]
> -- [download 76% complete]
> -- [download 77% complete]
> -- [download 78% complete]
> -- [download 79% complete]
> -- [download 80% complete]
> -- [download 81% complete]
> -- [download 82% complete]
> -- [download 83% complete]
> -- [download 84% complete]
> -- [download 85% complete]
> -- [download 86% complete]
> -- [download 87% complete]
> -- [download 88% complete]
> -- [download 89% complete]
> -- [download 90% complete]
> -- [download 91% complete]
> -- [download 92% complete]
> -- [download 93% complete]
> -- [download 94% complete]
> -- [download 95% complete]
> -- [download 96% complete]
> -- [download 97% complete]
> -- [download 98% complete]
> -- [download 99% complete]
> -- [download 100% complete]
> -- verifying file...
>
> file='/Users/e/CloudDrive/dev/gitlib/madlib-master/build/third_party/downloads/PyXB-1.2.4.tar.gz'
> -- Downloading... done
> -- extracting...
>
> src='/Users/e/CloudDrive/dev/gitlib/madlib-master/build/third_party/downloads/PyXB-1.2.4.tar.gz'
>
> dst='/Users/e/CloudDrive/dev/gitlib/madlib-master/build/third_party/src/EP_pyxb'
> -- extracting... [tar xfz]
> -- extracting... [analysis]
> -- extracting... [rename]
> -- extracting... [clean up]
> -- extracting... done
> [ 1%] Performing patch step for 'EP_pyxb'
> patching file setup.py
> PyXB: Removing GPL component from code base
> [ 1%] No update step for 'EP_pyxb'
> [ 1%] No configure step for 'EP_pyxb'
> [ 2%] No build step for 'EP_pyxb'
> [ 2%] Performing install step for 'EP_pyxb'
> [ 2%] Completed 'EP_pyxb'
> [ 2%] Built target EP_pyxb
> Scanning dependencies of target pythonFiles
> [ 2%] Built target pythonFiles
> Scanning dependencies of target madlibPatches
> [ 2%] Built target madlibPatches
> Scanning dependencies of target madpackFiles
> [ 2%] Copying __init__.py.
> [ 2%] Copying argparse.py.
> [ 3%] Copying configyml.py.
> [ 3%] Copying madpack.py.
> [ 3%] Copying sort-module.py.
> [ 3%] Copying upgrade_util.py.
> [ 3%] Copying yaml/__init__.py.
> [ 3%] Copying yaml/composer.py.
> [ 3%] Copying yaml/constructor.py.
> [ 3%] Copying yaml/cyaml.py.
> [ 4%] Copying yaml/dumper.py.
> [ 4%] Copying yaml/emitter.py.
> [ 4%] Copying yaml/error.py.
> [ 4%] Copying yaml/events.py.
> [ 4%] Copying yaml/loader.py.
> [ 4%] Copying yaml/nodes.py.
> [ 4%] Copying yaml/parser.py.
> [ 4%] Copying yaml/reader.py.
> [ 5%] Copying yaml/representer.py.
> [ 5%] Copying yaml/resolver.py.
> [ 5%] Copying yaml/scanner.py.
> [ 5%] Copying yaml/serializer.py.
> [ 5%] Copying yaml/tokens.py.
> [ 5%] Copying changelist.yaml.
> [ 5%] Copying changelist_1.0_1.9.1.yaml.
> [ 7%] Copying changelist_1.1_1.9.1.yaml.
> [ 7%] Copying changelist_1.2_1.9.1.yaml.
> [ 7%] Copying changelist_1.3_1.9.1.yaml.
> [ 7%] Copying changelist_1.4.1_1.9.1.yaml.
> [ 7%] Copying changelist_1.4_1.9.1.yaml.
> [ 7%] Copying changelist_1.5_1.9.1.yaml.
> [ 7%] Copying changelist_1.6.0S_1.9.1.yaml.
> [ 7%] Copying changelist_1.6_1.9.1.yaml.
> [ 8%] Copying changelist_1.7.1_1.9.1.yaml.
> [ 8%] Copying changelist_1.7_1.9.1.yaml.
> [ 8%] Copying changelist_1.8_1.9.1.yaml.
> [ 8%] Built target madpackFiles
> Scanning dependencies of target binaryFiles
> [ 8%] Copying madpack.
> [ 8%] Built target binaryFiles
> Scanning dependencies of target configFiles
> [ 8%] Copying Modules.yml.
> [ 8%] Copying Ports.yml.
> [ 8%] Copying Version.yml.
> [ 8%] Built target configFiles
> Scanning dependencies of target sqlFiles_postgresql
> [ 8%] Validating and copying assoc_rules/assoc_rules.sql_in.
> File "../../../../cmake/TestIfNoUTF8BOM.py", line 30
> print 'Detected byte-order mark (%s) in file "%s".' % (BOM, argv[1])
> ^
> SyntaxError: invalid syntax
> make[2]: *** [src/ports/postgres/modules/assoc_rules/assoc_rules.sql_in]
> Error 1
> make[1]: *** [src/ports/postgres/CMakeFiles/sqlFiles_postgresql.dir/all]
> Error 2
> make: *** [all] Error 2
> Enzo
> [email protected]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)