Re: Hard coded paths in csc and relocatable chicken

2021-05-22 Thread Tomas Hlavaty
or use proot or some other kind of chroot or container or mount proot might be simplest, depending on your deployment options

Re: Hard coded paths in csc and relocatable chicken

2021-05-21 Thread Matt Welland
HI Mario, Yes, static csc, csi etc would work but the calls in csc to other chicken tools would need to use $PATH or I would be up against the same issue. I'll try some of the other suggestions. I did look at csc.scm but I have not been able to figure out where the hard-coded paths are created. M

Re: Hard coded paths in csc and relocatable chicken

2021-05-21 Thread Mario Domenech Goulart
Hi Matt, On Thu, 20 May 2021 15:04:16 -0700 Matt Welland wrote: > As mentioned in the coding jam I put together a chicken bundle including the > iup egg ready to go outside the box. It turns out that my assertion that > it worked was wrong. I tested by running csi and was able to load iup and

Re: Hard coded paths in csc and relocatable chicken

2021-05-21 Thread Mario Domenech Goulart
On Fri, 21 May 2021 11:00:35 -0400 Marc Feeley wrote: >> On May 21, 2021, at 8:58 AM, Théo Cavignac wrote: >> >> I have been interested in this problem for other reasons, mainly >> because I was interested in the possibility of installing eggs in >> userspace while Chicken was installed through

Re: Hard coded paths in csc and relocatable chicken

2021-05-21 Thread siiky
On 5/20/21 23:04, Matt Welland wrote: As mentioned in the coding jam I put together a chicken bundle including the iup egg ready to go outside the box. It turns out that my assertion that it worked was wrong. I tested by running csi and was able to load iup and create a button and I assumed tha

Re: Hard coded paths in csc and relocatable chicken

2021-05-21 Thread Tomas Hlavaty
On Fri 21 May 2021 at 14:58, Théo Cavignac wrote: > The dust project (https://sr.ht/~evhan/dust/) solved this by putting a > placeholder 256 * "X" instead of the path in binaries, then editing the > binaries in place when installing in your location. if you build the binary using nix, the paths

Re: Hard coded paths in csc and relocatable chicken

2021-05-21 Thread Marc Feeley
> On May 21, 2021, at 8:58 AM, Théo Cavignac wrote: > > Hi Matt, > > I have been interested in this problem for other reasons, mainly because I > was interested in the possibility of installing eggs in userspace while > Chicken was installed through distro package manager (thus in root). >

Re: Hard coded paths in csc and relocatable chicken

2021-05-21 Thread Théo Cavignac
Hi Matt, I have been interested in this problem for other reasons, mainly because I was interested in the possibility of installing eggs in userspace while Chicken was installed through distro package manager (thus in root). Anyway, in the current states of the compiler it appears that the wh

Hard coded paths in csc and relocatable chicken

2021-05-20 Thread Matt Welland
As mentioned in the coding jam I put together a chicken bundle including the iup egg ready to go outside the box. It turns out that my assertion that it worked was wrong. I tested by running csi and was able to load iup and create a button and I assumed that if this worked then so would compilation