I am trying to install madlib on my wsl - ubuntu. I have installed the following - Postgres-14.10 --with-python enabled. cmake - 3.22.1 m4 (GNU M4) - 1.4.18 madlib - 2.1.0 gz file from the link
Then followed the official guide
when I run
$BUILD_ROOT/src/bin/madpack -s madlib -p postgres -c [user[/password]@][host][:port][/database] install
I get this error -
However upon looking up in the directory, I can see the SQLCOMMON.m4_in file is present - M4_in present image
I am not sure where does the installation go wrong. Has anyone managed to setup madlib on ubuntu lately? If yes, how?????????
So far I have tried setting up on 2 different Ubuntus on wsl - Ubuntu, and Ubuntu-22.04. Also tried to install using numerous combinations of pgxnclient, postgres, python versions, cmake versions, m4 versions, from source. Closest I got was from pgxnclient. But when I tried creating the extension with
CREATE EXTENSION MADLIB;
I get the error - extension PLPYTHONU not available. Only available is PLPYTHON3U.