Changes between Initial Version and Version 1 of Ticket #302
- Timestamp:
- 03/25/18 10:37:52 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #302
-
Property
Status
changed from
new
toclosed
-
Property
Resolution
changed from
to
wontfix
-
Property
Status
changed from
-
Ticket #302 – Description
initial v1 1 For software installed from source, it is essential to be able to specify the installation directory tree (eg /usr/local) in order to avoid conflicts with OS installed software from packages.1 For software installed from source, it is essential to be able to specify the installation directory tree (eg {{{/usr/local}}}) in order to avoid conflicts with OS installed software from packages. 2 2 3 3 And for those of us that manage installed local software with GNU stow, 4 4 5 (see https://www.gnu.org/software/stowif not familiar with the approach)5 (see [https://www.gnu.org/software/stow] if not familiar with the approach) 6 6 7 7 it is even more important that files get installed under the specified directory tree. 8 8 9 Now winswitch does this for most of the install if --prefixis used10 9 Now winswitch does this for most of the install if {{{--prefix}}} is used 10 {{{ 11 11 /usr/bin/python "/usr/src/build/winswitch-0.12.23/setup.py" install --prefix="/usr/local/stow/Network/winswitch-0.12.23/usr/local" 12 12 … … 17 17 byte-compiling /usr/local/stow/Network/winswitch-0.12.23/usr/local/lib/python2.7/site-packages/winswitch/ui/window_fake_tray.py to window_fake_tray.pyc 18 18 ... 19 }}} 19 20 20 but for a number of items the install process ignores the prefix and installs directly under system directories /etc and /usr/lib21 but for a number of items the install process ignores the prefix and installs directly under system directories {{{/etc}}} and {{{/usr/lib}}} 21 22 22 creating /etc/winswitch23 creating {{{/etc/winswitch}}} 23 24 24 25 and 25 26 26 creating /usr/lib/winswitch27 creating {{{/usr/lib/winswitch}}} 27 28 28 For installs under " /usr/local" these should instead be accesible under /usr/local/etc/winswitch and /usr/local/lib/winswitchrespectively when installation is complete.29 For installs under "{{{/usr/local}}}" these should instead be accessible under {{{/usr/local/etc/winswitch}}} and {{{/usr/local/lib/winswitch}}} respectively when installation is complete. 29 30 30 Now after checking the setup.py file, it seems a non-standard (?) method of specifying the destination for installs works, by specifying the environmental variable PREFIX="prefix_dir" get the etc/winswich and lib/winswitch installed under the prefix dir BUT --prefixprefix_dir is still needed to get all the other items to the prefix directory.31 Now after checking the setup.py file, it seems a non-standard (?) method of specifying the destination for installs works, by specifying the environmental variable PREFIX="prefix_dir" get the etc/winswich and lib/winswitch installed under the prefix dir BUT {{{--prefix}}} prefix_dir is still needed to get all the other items to the prefix directory. 31 32 32 Please ensure that the --prefix prefix_dirvariable is applied to all items being installed without the need for adding the environmental variable, or at the very minimum, mention this double requirement in the README file.33 Please ensure that the {{{--prefix prefix_dir}}} variable is applied to all items being installed without the need for adding the environmental variable, or at the very minimum, mention this double requirement in the README file. 33 34 34 35 Thank you for your assistance in resolving this issue.