Re: Euphoria and apt

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu