Re: EUPHORIA on Ubuntu Linux
- Posted by Chris Burch <chriscrylex at aol.com> Aug 27, 2006
- 729 views
Hi My general experience with installing euphoria on Linux. 1. Install as a user, onto /home/[user]/euphoria (replace [user] with your user directory. 2. adjust either .profile or .bashrc in the [users] home directory to point to the euphoria binaries, and include directories. PATH=/home/[user]/euphoria/bin:$PATH:. EUDIR=/home/[user]/euphoria export PATH EUDIR 3. do not install as root - its easier and safer with the above method, and if you want other users to use your programs, bind them. 4. to run console programs, in some cases, although not all, you have to do one of the following export TERM=linux or export TERM=ansi reason - some programs use ncurses commands, and some don't, but as soon as your program uses ncurses, it switches to a different 'try to control the screen mode'. Using one of the above two exports _usually_ fixes the problem. Also, modern linux distros are using utf-16, which in some cases gets confusing sigs from utf-8 - as far as I can tell. If you want to the program frequently, call it from a script, which includes one of the above exports. with wxeuphoria. get wxeu.so from matts site AS ROOT install into /usr/lib run ldconfig (just type ldconfig) - this puts the library into a database of libraries, so linux knows where to find it - /usr/lib still has to be in the path though. Do not worry about symbolic links - put the library into /usr/lib (it didn't used to be that way, but Matt re compiled to make it so). AS THE USER try running the wxeuphoria examples. Note - you don't need to worry about exports if you are using a gui. Note, it takes me about 10 minutes using the above to install euphoria, and wxeuphoria, onto puppy linux using the above methods. Hope this helps Chris http://members.aol.com/chriscrylex/euphoria.htm http://uboard.proboards32.com/ http://members.aol.com/chriscrylex/EUSQLite/eusql.html