1. Ubuntu Environment Variables

I thought I'd let everyone know about this if they don't already know.
If you're trying to setup Euphoria on an Ubuntu system, there is a
non-standard way to set environment variables.

Typically, you can add your environment variables to your
~/.bash_profile (for local user) or /etc/profile (for all users), but
these files are either not executed, or overridden by Ubuntu's gdm
setup. My research led me to the /etc/environment file, but this is
not interpreted, so you can't set things like PATH=$PATH where a
variable needs to be expanded. So much for setting
PATH=$EUDIR/bin:$PATH.

I finally came across /etc/X11/Xsession.d/55gnome-session_gnomerc in a
thread post. I set my variables in the top of the file like this, and
it worked:

EUDIR=/usr/local/euphoria
EUINC=$EUDIR/include
PATH=$EUDIR/bin:$PATH

export EUDIR EUINC PATH

HTH,
~Greg

new topic     » topic index » view message » categorize

2. Re: Ubuntu Environment Variables

Greg:

Could you test my xmotor.zip on your Ubuntu system
to see if it will work on yor system. 
It was written using RedHat 9.0

http://www.rapideuphoria.com/xmotor.zip

Thanks !

Bernie

My files in archive:
motor.eu w32engin.ew mixedlib.e eu_engin.e win32eru.exw

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » goto parent     » topic index » view message » categorize

3. Re: Ubuntu Environment Variables

> Could you test my xmotor.zip on your Ubuntu system
> to see if it will work on yor system.
> It was written using RedHat 9.0

It doesn't work - see my other post.

~Greg

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu