1. Experimental Debian Package
- Posted by mattlewis (admin) Apr 18, 2010
- 3919 views
In preparation for final release, a Debian package (built on Kubuntu 9.10) has been released for users to try out. The package is based on svn:3168, the current head of the trunk.
Download from sourceforge.
This package will install the euphoria binaries, standard library and demos. You also get the euphoria manual in html and pdf, accessible through the Debian help system (such as dhelp), or directly from /usr/share/doc/euphoria.
Matt
2. Re: Experimental Debian Package
- Posted by irv Apr 19, 2010
- 3779 views
Works fine and installs quickly on Mint. What does rexported mean?
Euphoria Interpreter 4.0.0 development (rexported) for Linux \\ Using System Memory
3. Re: Experimental Debian Package
- Posted by mattlewis (admin) Apr 19, 2010
- 3815 views
Works fine and installs quickly on Mint. What does rexported mean?
Euphoria Interpreter 4.0.0 development (rexported) for Linux Using System Memory
Oops. It means I didn't set up the version correctly. It was built outside of an svn check out, where you'd expect it to say r3168 (or whatever).
Matt
4. Re: Experimental Debian Package
- Posted by irv Apr 20, 2010
- 3703 views
A sort-of related question:
Is there a way to obtain the -version from inside a program? As in printf(1,"This program running on Euphoria version: %d",??) Where ?? is some function?
5. Re: Experimental Debian Package
- Posted by jimcbrown (admin) Apr 20, 2010
- 3737 views
A sort-of related question:
Is there a way to obtain the -version from inside a program? As in printf(1,"This program running on Euphoria version: %d",??) Where ?? is some function?
This is available in euphoria/info.e (note: not std/info.e or std/euphoria/info.e) - you probably want version_string() or version_string_short().
There is the M_EU_INFO machine_func() if you want do get the information without using info.e (M_EU_INFO = 75).
6. Re: Experimental Debian Package
- Posted by _tom (admin) Apr 20, 2010
- 3740 views
Ubuntu
- Installing to Ubuntu 10.04 LTS on a Amd 64bit I get:
Error: Wrong architecure 'i386' - The intro message mentions DOS, and should be revised
Slax ...
The Slax deb to lzm conversion utility works. Euphoria runs, and the documentation is all there.
Nice work.
7. Re: Experimental Debian Package
- Posted by mattlewis (admin) Apr 20, 2010
- 3671 views
Ubuntu
- Installing to Ubuntu 10.04 LTS on a Amd 64bit I get:
Error: Wrong architecure 'i386' - The intro message mentions DOS, and should be revised
Yes, it was built on a 32-bit machine. Obviously, it's possible to install 32-bit binaries onto a 64-bit machine. But what would be the difference in the packaging?
Tom, can you build a working package on your 64-bit machine? It should be pretty easy. All you need are:
- Checked out svn tree
- build and install the eudoc and creolehtml binaries (in the tools dir of the euphoria svn repository)
- install htmldoc (should be in your package manager)
- install the debhelper packages (some stuff that helps automate the packaging process)
In the checked out source tree, go into the packaging/debian folder and type make.
Slax ...
The Slax deb to lzm conversion utility works. Euphoria runs, and the documentation is all there.
Nice work.
That's good. Can someone maybe try converting it into an rpm?
Matt
8. Re: Experimental Debian Package
- Posted by _tom (admin) Apr 21, 2010
- 3612 views
Some usability issues exist:
- permissions to demos were "root" so one can't learn by editing them
- I tried to run the Euphoria editor and got:
$ eui ed foo.ex ed:1 <0103>:: illegal character (ASCII 0) at line:col 1:8 ELF^ Press Enter
It could be a permissions issue. Ed ran after copying the ed.ex file to a usb stick
The "F1" button in the tracing window conflicts with Linux window managers.
Compiling works on a default Ubuntu install, euc works.
I will need help in trying to create a 64bit Ubuntu install package! (I managed to totaly break Ubuntu while trying to make a 64bit install package. A complete re-install will be needed. )
9. Re: Experimental Debian Package
- Posted by petelomax Apr 21, 2010
- 3578 views
- I tried to run the Euphoria editor and got:
$ eui ed foo.ex ed:1 <0103>:: illegal character (ASCII 0) at line:col 1:8 ELF^ Press Enter
It could be a permissions issue. Ed ran after copying the ed.ex file to a usb stick
Looks like it is trying to interpret an ELF executable rather than the source.
Try eui ed.ex foo.ex or ./ed foo.ex
10. Re: Experimental Debian Package
- Posted by _tom (admin) Apr 21, 2010
- 3593 views
thanks Pete
Ubuntu sees "ed" as the "GNU Ed" and not the "Euphoria ed." But eui ed.ex does not help either--this only works from the directory where ed.ex is located--and not from a randomly opened terminal.
Anyone new to Euphoria would find ed.ex somewhat unusable.
Testing now on Ubuntu 9.04 (It seems that 10.04 may have a bug with Xorg)
11. Re: Experimental Debian Package
- Posted by mattlewis (admin) Apr 21, 2010
- 3583 views
Some usability issues exist:
- permissions to demos were "root" so one can't learn by editing them
- I tried to run the Euphoria editor and got:
$ eui ed foo.ex ed:1 <0103>:: illegal character (ASCII 0) at line:col 1:8 ELF^ Press Enter
It could be a permissions issue. Ed ran after copying the ed.ex file to a usb stick
Yeah, we may need to rethink how we deal with the demos and the rest of the euphoria code that normally ships in the bin directory. They'd be better if the user simply put the demos into their home directory. Maybe those shouldn't be part of the package at all. Unless we can figure out a better way to get that stuff to work.
Matt
12. Re: Experimental Debian Package
- Posted by petelomax Apr 22, 2010
- 3650 views
Ubuntu sees "ed" as the "GNU Ed" and not the "Euphoria ed." But eui ed.ex does not help either--this only works from the directory where ed.ex is located--and not from a randomly opened terminal.
Is this relevant?
euphoria/bin doesn't have to be first on your PATH, but if it isn't you'll have to rename the "ed" shell script in euphoria/bin, and perhaps a few others.
Forked into: help contribute: updating Euphoria installation documentation
13. Re: Experimental Debian Package
- Posted by carolyn May 19, 2010
- 2656 views
Only just discovered this post and was delighted to see a Deb package. Seems to be fine on Ubuntu 10.04 for me. Many thanks for that.
14. Re: Experimental Debian Package
- Posted by DerekParnell (admin) May 19, 2010
- 2588 views
Seems to be fine on Ubuntu 10.04 for me.
I haven't tried the package on my Ubuntu 10.04 install because I'm not happy with Ubuntu anymore. Since upgrading to 10.04, my sound output is not working. I get some music when Ubuntu starts and when I shutdown, but while running, no application will produce any sound at all. Worked fine for earlier Ubuntu installs.
15. Re: Experimental Debian Package
- Posted by mattlewis (admin) May 20, 2010
- 2624 views
I haven't tried the package on my Ubuntu 10.04 install because I'm not happy with Ubuntu anymore. Since upgrading to 10.04, my sound output is not working. I get some music when Ubuntu starts and when I shutdown, but while running, no application will produce any sound at all. Worked fine for earlier Ubuntu installs.
My sound works, except for plugging in speakers into the headphone jacks (it's a laptop).
Matt
16. Re: Experimental Debian Package
- Posted by mattlewis (admin) May 21, 2010
- 2491 views
I haven't tried the package on my Ubuntu 10.04 install because I'm not happy with Ubuntu anymore. Since upgrading to 10.04, my sound output is not working. I get some music when Ubuntu starts and when I shutdown, but while running, no application will produce any sound at all. Worked fine for earlier Ubuntu installs.
My sound works, except for plugging in speakers into the headphone jacks (it's a laptop).
Continuing the off topic conversation...
I found a partial solution (I have 2 headphone jacks, and one of them works now). Derek, this might help you. Run:
$ cat /proc/asound/card0/codec#* | grep Codec
Then check that against what's in /usr/share/doc/alsa-base. Mine wasn't exactly, so I guessed and went with "dell-m6 Dell desktops/laptops with both type of mics". And then added a line at the end of /etc/modprobe.d/alsa-base.conf:
options snd-hda-intel model=dell-m6Requires a reboot.
Matt