1. Experimental Debian Package

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

new topic     » topic index » view message » categorize

2. Re: Experimental Debian Package

Works fine and installs quickly on Mint. What does rexported mean?

Euphoria Interpreter 4.0.0 development (rexported) for Linux \\ Using System Memory

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

3. Re: Experimental Debian Package

irv said...

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

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

4. Re: Experimental Debian Package

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?

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

5. Re: Experimental Debian Package

irv said...

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).

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

6. Re: Experimental Debian Package

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.

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

7. Re: Experimental Debian Package

_tom said...

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.

_tom said...


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

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

8. Re: Experimental Debian Package

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. )

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

9. Re: Experimental Debian Package

_tom said...
  • 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

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

10. Re: Experimental Debian Package

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)

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

11. Re: Experimental Debian Package

_tom said...

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

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

12. Re: Experimental Debian Package

_tom said...

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?

installu.doc said...

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

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

13. Re: Experimental Debian Package

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.

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

14. Re: Experimental Debian Package

carolyn said...

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.

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

15. Re: Experimental Debian Package

DerekParnell said...

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

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

16. Re: Experimental Debian Package

mattlewis said...
DerekParnell said...

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-m6 
Requires a reboot.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu