I'm trying to build python-mapnic from source with a mason build, but it fails with the following message.
$ export MASON_BUILD=true
$ python setup.py install
Updating to latest mason
error: pathspec 'new-pkgs' did not match any file(s) known to git.
Traceback (most recent call last):
File "setup.py", line 114, in <module>
lib_path = os.path.join(check_output([mapnik_config, '--prefix']),'lib')
File "setup.py", line 20, in check_output
output = subprocess.check_output(args)
File "/usr/lib64/python2.7/subprocess.py", line 212, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
scripts/setup_mason.sh contains the reference MASON_VERSION="new-pkgs" - but this seems to not match anything in main mapnik repository.
I'm using Arch Linux. I tried with both python2 and python3, and with and without a virtual environment - but I guess this is more about the two repositories not being compatible at the moment.
I'm trying to build python-mapnic from source with a mason build, but it fails with the following message.
scripts/setup_mason.sh contains the reference
MASON_VERSION="new-pkgs"
- but this seems to not match anything in main mapnik repository.I'm using Arch Linux. I tried with both python2 and python3, and with and without a virtual environment - but I guess this is more about the two repositories not being compatible at the moment.