[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] chicken-install -update-db with DESTDIR?
From: |
Felix Winkelmann |
Subject: |
Re: [Chicken-hackers] chicken-install -update-db with DESTDIR? |
Date: |
Tue, 01 Jul 2014 06:14:07 +0200 (CEST) |
> "Warning: cannot run `chicken-install update-db' when cross-compiling or
> 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.
I'm not 100% sure, but you could try to disable the check and set the
environment-variable CHICKEN_REPOSITORY during the invocation of
"chicken-install -update-db" to the correct directory (probably
$DESTDIR/lib/chicken/7 ?)
felix
- Re: [Chicken-hackers] chicken-install -update-db with DESTDIR?,
Felix Winkelmann <=