]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: pylibmount will not work when python3 is present
authorSami Kerola <kerolasa@iki.fi>
Mon, 26 Aug 2013 12:11:44 +0000 (13:11 +0100)
committerSami Kerola <kerolasa@iki.fi>
Thu, 29 Aug 2013 17:14:06 +0000 (18:14 +0100)
commit918785dd1fce01cccbe200b23cdc4d6115a2fc82
tree382653bea1c63dbd0280f22c4a3cab00b30458c1
parentfb4edda749e4c81e9ce713a017240ded8f521d07
build-sys: pylibmount will not work when python3 is present

While compiling with up to date Archlinux I notice the recently added
pylibmount does not link correctly.  Failures inform fundamental types
such as PyFileObject and PyFile_Type being missing.

It seems automake AM_PATH_PYTHON will prefer the python in path, which
for this distribution right now is python3.  As some sort of go-around
one can install older python, and symlink it to earlier in PATH lookup.

$ ln -s /usr/bin/python2 $HOME/bin/python
$ export PATH=$HOME/bin:$PATH

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
configure.ac