Am Montag, den 04.04.2011, 15:06 +0200 schrieb Sylvain Le Gall: > Hello, > > On Mon, Apr 04, 2011 at 02:24:47PM +0200, Gerd Stolpmann wrote: > > Am Montag, den 04.04.2011, 12:40 +0200 schrieb Sylvain Le Gall: > > > Hello, > > > > > > I am trying to update a package (ounit) but my environment contains some > > > variables that interfer with the install process. Namely, these two > > > variables seems to not been reseted when running: OCAMLFIND_DESTDIR and > > > OCAMLFIND_LDCONF (not really tested, in fact). > > > > > > If I set AUTOGENERATE_PLIST=yes, everything is fine. It probably reset > > > these two variables, but my PLIST get ignored. > > > > > > What I am missing here ? > > > > I'm not sure whether I understand. Can you elaborate a bit more? Which > > commands do you run? > > > > Generally, if you run high-level commands like "godi_console perform", a > > number of variables are reset (including OCAMLFIND_DESTDIR, but it is > > not said that this list is complete), but for low-level commands like > > "godi_make" this is not done (would be too surprising). > > > > I was precisely running "godi_make install" in trunk/godi/godi-ounit. I > unset these two variables to continue working. > > I think this is just a "feature" missing in godi_make. It seems that > this program is mostly a tool for GODI dev (IMHO). This is not a real > bug, but as a newcomer I was surprised.
There are some situations where you need to invoke sub-make's, and you want to be able to pass any kind of environment variables. For that reason it would be impractical to clean up the environment. The normal user only uses godi_console, and here it is done. Gerd -- ------------------------------------------------------------ Gerd Stolpmann, Bad Nauheimer Str.3, 64289 Darmstadt,Germany [email protected] http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------ _______________________________________________ Godi-list mailing list [email protected] https://godirepo.camlcity.org/mailman/listinfo/godi-list
