1. EUPHORIA on Ubuntu Linux

I just installed Ubuntu 6.01 on an Averatec 3200 laptop 
as that was the only linux distribution that recognized 
the hardware without any hassle. (Before that I tried 
Fedora C5, SUSE 10.1, Mandriva and they all failed to 
work well on the Averatec)
Now I am trying to get EUPHORIA to work. I put the text
for PATH, EUDIR and EUINC into the .bash_profile file of my /home
directory, the /root dir., the /etc dir and the
/etc/X11/Xsession.d/55gnome-session_gnomerc file (as was suggested by Greg).
When I use the exu command, the Gnome GUI Terminal reports "error opening 
xterm". when I descend to runlevel 2 to 5 I get the message: bash:exu:command
not found.
Has anyone gotten EUPHORIA to work with Ubuntu? Please advice!
Thank you!
Ulrich

new topic     » topic index » view message » categorize

2. Re: EUPHORIA on Ubuntu Linux

Ulrich wrote:
> 
> I just installed Ubuntu 6.01 on an Averatec 3200 laptop 
> as that was the only linux distribution that recognized 
> the hardware without any hassle. (Before that I tried 
> Fedora C5, SUSE 10.1, Mandriva and they all failed to 
> work well on the Averatec)
> Now I am trying to get EUPHORIA to work. I put the text
> for PATH, EUDIR and EUINC into the .bash_profile file of my /home
> directory, the /root dir., the /etc dir and the
> /etc/X11/Xsession.d/55gnome-session_gnomerc file (as was suggested by Greg).
> When I use the exu command, the Gnome GUI Terminal reports "error opening 
> xterm". when I descend to runlevel 2 to 5 I get the message: bash:exu:command
> not found.
> Has anyone gotten EUPHORIA to work with Ubuntu? Please advice!
> Thank you!
> Ulrich

Hello Ulrich,

You'll need to set the environment variable TERM to ansi (export TERM=ansi)
before running exu in a terminal on many linux distros. Reason unknown.

Regards, Alexander Toresson

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

3. Re: EUPHORIA on Ubuntu Linux

> You'll need to set the environment variable TERM to ansi (export TERM=ansi)
> before running exu in a terminal on many linux distros. Reason unknown.

Reason being ncurses, which is what exu relied on up to version 2.5,
only works with ANSI terminals. Download the pre-3.0 release of exu
that doesn't rely on ncurses. Problem solved. :)

~Greg

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

4. Re: EUPHORIA on Ubuntu Linux

Greg Haberek wrote:
> 
> > You'll need to set the environment variable TERM to ansi (export
> TERM=ansi) before running exu in a terminal on many linux distros. Reason
> unknown.</font></i>
> 
> Reason being ncurses, which is what exu relied on up to version 2.5,
> only works with ANSI terminals. 

Not really, ncurses can work with any terminal. I think the problem is that exu
2.5 was built with ncurses statically, and thus it uses the ncurses that was on
the system that Rob built it on, and not the ncurses that is on you own system.

Regards, Alexander Toresson

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

5. Re: EUPHORIA on Ubuntu Linux

Tank you very much to Alexander and Greg. Euphoria works like a charm now on my 
Ubuntu distribution. (The sanity.ex program gave me a clean bill of health,
too!)
I don't think that I understand the explanation, but that will come later, I
hope.

All the best!
Ulrich

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

6. Re: EUPHORIA on Ubuntu Linux

> Not really, ncurses can work with any terminal. I think the problem is that
> exu 2.5 was built with ncurses statically, and thus it uses the ncurses that was
> on the system that Rob built it on, and not the ncurses that is on you own
> system.

I was close. I knew ncurses was the problem. :)

~Greg

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

7. Re: EUPHORIA on Ubuntu Linux

Ulrich wrote:
> 
> Has anyone gotten EUPHORIA to work with Ubuntu? Please advice!

This problem comes up every now and then.

Suggestion for Rob Craig: Put something in the documentation about how to
install Euphoria on Ubuntu.

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

8. Re: EUPHORIA on Ubuntu Linux

Jerry Story wrote:
> 
> This problem comes up every now and then.
> 
> Suggestion for Rob Craig: Put something in the documentation about how to
> install
> Euphoria on Ubuntu.

In all fairness to Rob Craig: He does emphasize on the download page:
 "Other Notes:

    * On some Linux systems, you might need export TERM=ansi in your profile
      or .bashrc file...."
I didn't scroll down far enough on that page to notice it. But - it did
solve my problem.

Ulrich

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

9. Re: EUPHORIA on Ubuntu Linux

Even though it is a bit late, I think I should still mention this.

For those who are using Debian or a Debian-based distro of Linux, there's a 
debian package (.deb) of Euphoria 2.5. I tried it out personally and haven't
had any problems at all.

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

10. Re: EUPHORIA on Ubuntu Linux

Jesse Adkins wrote:
> 
> Even though it is a bit late, I think I should still mention this.
> 
> For those who are using Debian or a Debian-based distro of Linux, there's a
> 
> debian package (.deb) of Euphoria 2.5. I tried it out personally and haven't
> had any problems at all.

Well, Ubuntu does have some strange surprises: When I reported this morning 
on this forum that the sanity.ex test file ran without a glitch, I was logged
in as root. When I log in as a humble user and run the same test, I receive
the following message:

"Euphoria SANITY TEST...
divide by 0 to get trace back...Press Enter
Can't create error message file: err.ex"

In addition, the editor displays all text (and only the text) highlighted
in dark grey against the otherwise light background. The text colors
appear to be correct. I don't know the ansi escape sequence to correct this.

I did try to find the Debian package for Euphoria 2.5 on their web site,
but could not find it and their search engine is down. Do you remember the
precise name for this package? euphoria25.deb, euphor25.deb and 
euphoria2.5.deb on google got me nowhere.

Thanks for your help!
Ulrich

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

11. Re: EUPHORIA on Ubuntu Linux

> I did try to find the Debian package for Euphoria 2.5 on their web site,
> but could not find it and their search engine is down. Do you remember the
> precise name for this package? euphoria25.deb, euphor25.deb and 
> euphoria2.5.deb on google got me nowhere.
> 
> Thanks for your help!
> Ulrich
It was submitted by Alexander Toresson and it has the name of 

'Debian package of the Public Domain version of Euphoria'

If that doesn't work, try searching going to the Euphoria archive and doing a 
search on the keyword '.deb'.

Hope that helps you find it.

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

12. Re: EUPHORIA on Ubuntu Linux

Ulrich wrote:
 
> In all fairness to Rob Craig: He does emphasize on the download page:
>  "Other Notes:
> 
>     * On some Linux systems, you might need export TERM=ansi in your profile
>       or .bashrc file...."

True.
Perhaps that should also be under "Instructions for installing Euphoria" in the
documentation.

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

13. Re: EUPHORIA on Ubuntu Linux

Ulrich wrote:
> 
> on this forum that the sanity.ex test file ran without a glitch, I was logged
> in as root. When I log in as a humble user and run the same test, I receive
> the following message:
> 

Ulrich:

   Maybe you are not EXPORTing TERM=ansi when you log-in as a user.

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

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

14. Re: EUPHORIA on Ubuntu Linux

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

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

15. Re: EUPHORIA on Ubuntu Linux

Thanks to Jesse I found the Debian package for euphoria on the Euphoria archive 
site. I am not so familiar yet with deb packages even though Alexander does 
give the information where and how one would find the unpacked files. For 
the time being i'll stick with the .tar balls.

I have to agree with Jerry that finding the information about exporting the
terminal instructions in the install.htm would have saved me some trouble.

Bernie pointed out that I might not have the PATH and TERM instructions in
both, the user and root accounts. Well, I did and the explanation for the
error message from the SANITY TEST is still a mystery for me. That problem
has not recurred, though.

Thanks to Chris, I learned that there is a linux-terminal besides the ansi-
terminal. Exporting TERM=linux solved my editor problems.
I will look at wxEuphoria after I have "fiddled" with Euphoria a bit more.

Many thanks to all of you.
Best regards,
Ulrich

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

Search



Quick Links

User menu

Not signed in.

Misc Menu