Re: Euphoria and apt
- Posted by Matt Lewis <matthewwalkerlewis at g?a?l.com> Sep 21, 2007
- 535 views
Alexander Toresson wrote: > > In any case, yes, environment variables (EUDIR and EUINC) will have to be > provided. > And this might be a problem. I solved this in my packages version of 2.5 so > that exu was a bash script that first set the env vars correctly and then > called > the real exu binary. > You're just not thinking hard enough. :) Since we can alter the source, my suggestion would be that we add EUDIR/EUINC macros, or something, so that when we build with them, the values given are assumed by the interpreter/etc. So: EUDIR=/usr/share/euphoria/ EUINC=/usr/include/euphoria/ ...or wherever they end up. We can still check the EUINC variable, of course, so that we can still personalize the way we organize our includes. And we can still build a 'vanilla' version that uses the traditional, "stick everything in home" assumptions. Matt