Segfault-Inc / Multicorn

Data Access Library
https://multicorn.org/
PostgreSQL License
699 stars 145 forks source link

python 3 problems #183

Open felixge opened 7 years ago

felixge commented 7 years ago

Hi,

thank you for this amazing project, but unfortunately I'm running into some issues getting started.

The website mentions that python 2.7 or >= python 3.3 as your default python should work, but I'm having problems with getting things to work with python 3.6.

Specifically I got the following error:

Found Python lin, but 2.6 is required.

This seems to be caused by pre-flightcheck.sh which assumes that a binary named python exists and outputs "2.7" or "2.6" as its version. My system doesn't have python 2 installed, so I guess the current requirement is that python 2 and python 3 need to both be installed?

Anyway, I was able to install by deleting the contents of the pre-flightcheck.sh file. The next issue I found was that I had to symlink the test-3.5 folder to test-3.6.

With those changes, I was able to compile/install, but installcheck is giving me lots of errors:

https://gist.github.com/felixge/49c37dffb49efc8bc0911b1113231de0#file-installcheck-errors-txt-L75 (edit: initial link was to internal github instance, sorry about that)

You might also want to have a look at the Dockerfile I'm using for my testing. I chose docker because I wanted to get a good picture of the current build process without accidentally relying on the configuration of my host system.