[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pre-inst-guile

From: Rob Browning
Subject: Re: pre-inst-guile
Date: Sun, 13 Jan 2002 12:17:07 -0600
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu)

Thien-Thi Nguyen <address@hidden> writes:

> currently check-guile wraps the built guile, setting env vars and such,
> so that it can invoke the test-suite/guile-test scheme script.  i would
> like to move the wrapping to pre-inst-guile so that we can use it
> elsewhere (like for doc/ref/autoconf-macros.texi building) in a
> consistent way.  i would examine all to adjust callers.
> any objections?
> any suggestions on a better name than "./pre-inst-guile"?

I haven't looked, but if the "wrapping" just involves environment
settings, then we might just create a script called guile-build-env
and call guile using that:

  ../wherever/guile-build-env libguile/guile ...

As a random aside:

I have a whole slew of -env commands so I can build/test gnucash and
other projects against various versions of guile i.e.:

  gnomeguile-env 1.4 guile arg1 arg2 ...
  guppi-env 1.4 guile ...
  guppi-env 1.5 cmd ...


Some of these scripts are parameterized on more than one arg, so that
I can, for example, try gnucash using guile 1.5, but g-wrap unstable.

And yes, you do get combinatorial explosion in your install tree :<,
but at least it's easy to clean things up piecemeal since I install
everything into it's own dir ~/opt/g-wrap-1.2-w-guile-1.3.4,
~/opt/guile-1.5, etc. and the -env scripts know about that...

ugly, but effective.

Rob Browning
rlb,, and
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD

reply via email to

[Prev in Thread] Current Thread [Next in Thread]