Hi, I'm working on packaging Gubbins for the Debian Med team. The build currently ends up in
... Making install in python make[2]: Entering directory '/build/gubbins-1.4.3/python' /usr/bin/python3 setup.py build running build running build_py running build_scripts make[3]: Entering directory '/build/gubbins-1.4.3/python' /usr/bin/python3 setup.py install running install Checking .pth file support in /usr/local/lib/python3.4/dist-packages/ error: can't create or remove files in install directory The following error occurred while trying to add or remove files in the installation directory: [Errno 13] Permission denied: '/usr/local/lib/python3.4/dist-packages/test-easy-install-14282.pth' The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /usr/local/lib/python3.4/dist-packages/ Perhaps your account does not have write access to this directory? If the installation directory is a system-owned directory, you may need to sign in as the administrator or "root" account. If you do not have administrative access to this machine, you may wish to choose a different installation directory, preferably one that is listed in your PYTHONPATH environment variable. For information on other options, you may wish to consult the documentation at: https://pythonhosted.org/setuptools/easy_install.html Please make the appropriate changes for your system and try again. Makefile:462: recipe for target 'install-exec-local' failed ... After contacting the author he suspects that's due to the usage of brew: For homebrew I don’t let it make install the python dependancies (line 67), and instead invoke it later in the standard python manner. I don’t know if this is the best way to do it, but it makes it work in this instance. https://github.com/Homebrew/homebrew-science/blob/master/gubbins.rb Any advise on how to improve things would be welcome Since I also never stumbled upon brew I wonder what might be the best way to get a clean install target for the Debian packaging and may be as a hint for upstream who is very responsive. Kind regards Andreas. [1] git://anonscm.debian.org/debian-med/gubbins.git -- http://fam-tille.de