[winswitch] setup.py not respecting --home when installing config in etc

dan l akadanitan at yahoo.com
Sun Aug 21 14:45:49 BST 2016


I am trying to do a local install as described in the "Building with disutils" section of this page: http://xpra.org/trac/wiki/Building
$ ./setup.py install --home=./install./setup.py install --home=./installXpra version 0.17.4found pkg-config version: 1build switches:
<...snip...>
updated ./xpra/build_info.py with:* BUILD_BIT            = 64bit* BUILD_CPU            = amd64* BUILD_DATE           = 2016-08-20* BUILD_OS             = BSD* BUILD_TIME           = 19:34* BUILT_BY             = dan* BUILT_ON             = js1* COMPILER_VERSION     = gcc (FreeBSD Ports Collection) 4.8.5* CYTHON_VERSION       = 0.24* LINKER_VERSION       = GNU ld 2.17.50 [FreeBSD] 2007-07-03* PYTHON_VERSION       = 2.7.12* RELEASE_BUILD        = True
<...snip...>
copying icons/ticked-small.png -> ./install/share/xpra/iconscreating install/share/applicationscopying xdg/xpra_launcher.desktop -> ./install/share/applicationscopying xdg/xpra.desktop -> ./install/share/applicationscreating install/share/mimecreating install/share/mime/packagescopying xdg/application-x-xpraconfig.xml -> ./install/share/mime/packagescreating install/share/iconscopying xdg/xpra.png -> ./install/share/iconscreating install/share/appdatacopying xdg/xpra.appdata.xml -> ./install/share/appdatacreating install/lib/tmpfiles.dcopying tmpfiles.d/xpra.conf -> ./install/lib/tmpfiles.dcreating /usr/local/etc/xpraerror: could not create '/usr/local/etc/xpra': Permission denied$ pwd/usr/home/dan/xpra-0.17.4$
I removed most of the lines of output for brevity, but the install seems to put things in the intended place up until the config files, which it tries to put in /usr/local/etc/xpra. Is this intended? The documentation for setup (https://docs.python.org/2/install/#alternate-installation-the-home-scheme) doesn't really make it clear what to expect from "configuration files" when "--home" is used.







More information about the shifter-users mailing list