|
From: | Timo Myyrä |
Subject: | Re: [Chicken-hackers] chicken-install -update-db with DESTDIR? |
Date: | Wed, 2 Jul 2014 19:30:10 +0300 |
> "Warning: cannot run `chicken-install update-db' when cross-compiling orI'm not 100% sure, but you could try to disable the check and set the
> DESTDIR is set"
>
> So that step is skipped as ports infrastructure uses the DESTDIR argument.
> I've digged a bit further and update-db seems to generate modules.db file
> in /usr/local/lib/chicken/7 directory.
>
> How is this file used?
> My main problem is to determine if the warning can be skipped and users be
> instructed to run 'chicken-install -update-db' manually themselves.
> Or the port could easily be patched to simply disregard the check and run
> the chicken-install -update-db even with DESTDIR.
environment-variable CHICKEN_REPOSITORY during the invocation of
"chicken-install -update-db" to the correct directory (probably
$DESTDIR/lib/chicken/7 ?)
felix
[Prev in Thread] | Current Thread | [Next in Thread] |