postgresql - MADlib apt install, how to? -


madlib complete, efficient (faster functions) , reliable mathematical library postgresql... @ official download no clues debian or ubuntu "plug-and-play installation".

checking other fonts, best (simplest) old 2013's instruction apt-get it.

... lost-script of 2014... comment "can download .rpm packages , install in ubuntu convert package .deb using alien command work".


question: secure , simplest way install madlib?
today (2017) @ ubuntu 16 lts , postgresql v9.6.


note , secondary question: debian stable , ubuntu lts popular linux distributions web-servers, .deb important distribution form... why madlab maintainers refuse see it? why not welcome .deb users?
there technical or license problems apt or converted .deb ?


edit

i have 2 types of sql servers, v9.6 stated, important postgresql v9.5.x (!sorry wayting use v9.6 in servers).

situation @ postgresql 9.5.x in ubuntu 16 lts (xenial)

  • psql --version , it, select version(); shows v9.5.6.

  • command pgxnclient install madlib shows

     need install postgresql-server-dev-x.y building  server-side extension or libpq-dev building client-side application. error: command returned 1: ['/usr/bin/pg_config', '--libdir']

... pg_config not config file shell tool... installed sudo apt-get install libpq-dev (ok!)

  • command pgxnclient install madlib shows
       info: best version: madlib 1.10.0   info: saving /tmp/tmpip4ngh/madlib-1.10.0.zip   info: unpacking: /tmp/tmpip4ngh/madlib-1.10.0.zip   info: running configure   error: cmake 2.8 or higher must present configure , install madlib   /tmp/tmpip4ngh/madlib-1.10.0/configure: 13: exit: illegal number: -1   error: configure failed return code 2 

... not "cmake version error", "no cmake" error, used apt install cmake!

but them cmake problem,

 pgxnclient install madlib info: best version: madlib 1.10.0 info: saving /tmp/tmpspq3zf/madlib-1.10.0.zip info: unpacking: /tmp/tmpspq3zf/madlib-1.10.0.zip info: running configure -- c compiler identification gnu 5.4.0 -- cxx compiler identification gnu 5.4.0 -- check working c compiler: /usr/bin/gcc -- check working c compiler: /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 working cxx compiler: /usr/bin/g++ -- check working cxx compiler: /usr/bin/g++ -- works -- detecting cxx compiler abi info -- detecting cxx compiler abi info - done -- detecting cxx compile features -- detecting cxx compile features - done -- not find boost -- no sufficiently recent version (>= 1.47) of boost found. download. -- found pythoninterp: /usr/bin/python (found version "2.7.12")  cmake error @ src/ports/postgres/cmake/findpostgresql.cmake:161 (message):   found pg_config ("/usr/bin/pg_config"), pg_config.h file not present in   server include dir (/usr/include/postgresql/9.5/server). call stack (most recent call first):   src/ports/postgres/cmake/postgresqlutils.cmake:66 (find_package)   src/ports/postgres/cmakelists.txt:360 (determine_target_versions)

-- configuring incomplete, errors occurred! see "/tmp/tmpspq3zf/madlib-1.10.0/build/cmakefiles/cmakeoutput.log". info: building extension make -c build make[1]: entering directory '/tmp/tmpspq3zf/madlib-1.10.0/build' make[1]: * no rule make target 'all'. stop. make[1]: leaving directory '/tmp/tmpspq3zf/madlib-1.10.0/build' makefile:5: recipe target 'all' failed make: * [all] error 2 error: command returned 2: make pg_config=/usr/bin/pg_config

madlib postgres extension. many people distribute extensions via pgxn.org, cpan or rubygems of postgres extensions. command install this:

pgxnclient install madlib 

after that, can create extension madlib in whatever database like.

note may need install dependencies first, example:

sudo apt-get install cmake postgresql-plpython-9.6 pgxnclient 

this link 2013 telling you, , looks still correct me. (note changed plpython 9.1 9.6 though.) tried installing madlib pgxn myself on postgres 9.5 + ubuntu 14.04, , worked.

as why madlib folks don't distribute .deb file: ask them, pgxn mainstream way share postgres extensions. it's having package manager programming language.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -