Juan Francisco Cantero Hurtado <[email protected]> writes: > On Sat, Jun 28, 2014 at 10:19:18AM +0300, Timo Myyrä wrote: > >> Hi, >> >> Here's a patch to update chicken to latest stable version. >> Seems pretty basic update but noticed an warning about chicken-install during >> fake/install phase: >> >> Warning: cannot run `chicken-install -update-db' when cross-compiling or >> DESTDIR >> is set >> >> Should make files be patched to run the chicken-install anyway or just leave >> a >> note for the user to run it manually? > > 'chicken-install -update-db' writes to /usr/local/lib/chicken/7/modules.db. > If the user runs manually the command, pkg_add won't delete the dir > the next time that the user updates the package. > > The version 4.8 doesn't have the file modules.db. Is it really necessary > or we can ignore the warning?.
Well, the chicken-install will also install all extensions to /usr/local/lib/chicken/7 so the directory will need special care after update. Probably best option would be to just ignore the warning and assume that users know how to run the command if needed. Timo
