[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [Chicken-bugs] #427: Teach chicken-setup to sudo when
From: |
Chicken Scheme |
Subject: |
[Chicken-hackers] [Chicken-bugs] #427: Teach chicken-setup to sudo when installing |
Date: |
Thu, 21 Feb 2008 09:34:27 -0000 |
#427: Teach chicken-setup to sudo when installing
-----------------------------------------+----------------------------------
Reporter: John Cowan <address@hidden> | Type: defect
Status: new | Priority: minor
Milestone: | Component: chicken-setup
Version: 3.0.0 | Keywords:
-----------------------------------------+----------------------------------
This is halfway between a defect and an enhancement.
Currently, the safe way to install eggs on Unix systems is "chicken-setup
-n eggname; sudo chicken-setup install eggname; rm -rf eggname.egg eggname
.egg-dir". Doing the default thing, "chicken-setup eggname", fails when
trying to install into /usr/local/lib and possibly other places; the
simplest modification, "sudo chicken-setup eggname", involves running
Chicken as root, which the prudent sysadmin will be unwilling to do.
The best thing IMHO is to teach chicken-setup how to sudo before doing its
install phase; depending on the system, this might be "sudo whatever", "su
root -c 'whatever'", or no change at all (on Windows, or if no root access
is needed for the current Chicken repository). I'm cc-ing chicken-
hackers, on the assumption that people might wish to discuss this.
--
Ticket URL: <http://trac.callcc.org/ticket/427>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler
- [Chicken-hackers] [Chicken-bugs] #427: Teach chicken-setup to sudo when installing,
Chicken Scheme <=