# \[ref\_impl\_eiffel\] adl\_workbench for Linux

**URL:** https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700
**Category:** Reference Implementation: Eiffel (archive)
**Created:** [19 November 2007 09:47 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700 "2007-11-19T09:47:39Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [19 November 2007 09:47 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/1 "2007-11-19T09:47:39Z")

</div>

The code written bij Ocean, compiled for Linux, can be downloaded here  
[http://www.rosa.nl/\_downloads/adl\_workbench.gz](http://www.rosa.nl/_downloads/adl_workbench.gz)

Take care, many browsers try to open a \*.gz, you should download it, not  
open it in a browser.

Just put it somewhere on your computer, decompress it with gunzip, do  
chmod 755 to make it executable, and ready you are.

Please report back if it works for you, I tested it on a KDE desktop.

kind regards  
Bert Verhees

---

<div class="post-metadata">

### Author: ![Peter\_Gummer1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/p/258eb7/32.png) [@Peter\_Gummer1](https://discourse.openehr.org/u/Peter_Gummer1)
#### Post date: [19 November 2007 14:17 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/2 "2007-11-19T14:17:03Z")

</div>

Bert Verhees wrote:

> The code written bij Ocean, compiled for Linux, can be downloaded here  
> [http://www.rosa.nl/\_downloads/adl\_workbench.gz](http://www.rosa.nl/_downloads/adl_workbench.gz)
> 
> Take care, many browsers try to open a \*.gz, you should download it, not  
> open it in a browser.
> 
> Just put it somewhere on your computer, decompress it with gunzip, do  
> chmod 755 to make it executable, and ready you are.
> 
> Please report back if it works for you, I tested it on a KDE desktop.

Thanks for that, Bert.

Today I have installed Ubuntu 7.10 64-bit in a VMWare virtual machine on my  
shiny new Intel Mac. I downloaded your adl\_workbench.gz and Safari  
automatically decompressed it. I copied adl\_workbench into the Ubuntu VM, in  
its own directory, along with the icons directory and news.txt. Then I  
chmod'ed it. But this is what happens:

peter@ubuntu710-64bit:~/ADL\_Workbench$ ./adl\_workbench  
bash: ./adl\_workbench: No such file or directory

This is a very puzzling error message. The file is definitely there!

I'm running it under GNOME desktop, not KDE, but since EiffelVision is built  
on top of GTK I would have expected GNOME to work.

Any ideas?

- Peter

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [19 November 2007 14:30 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/3 "2007-11-19T14:30:36Z")

</div>

Peter Gummer schreef:

> Bert Verhees wrote:
> 
> > The code written bij Ocean, compiled for Linux, can be downloaded here  
> > [http://www.rosa.nl/\_downloads/adl\_workbench.gz](http://www.rosa.nl/_downloads/adl_workbench.gz)
> > 
> > Take care, many browsers try to open a \*.gz, you should download it, not  
> > open it in a browser.
> > 
> > Just put it somewhere on your computer, decompress it with gunzip, do  
> > chmod 755 to make it executable, and ready you are.
> > 
> > Please report back if it works for you, I tested it on a KDE desktop.  
> > &nbsp;&nbsp;&nbsp;&nbsp;  
> > Thanks for that, Bert.
> 
> Today I have installed Ubuntu 7.10 64-bit in a VMWare virtual machine on my  
> shiny new Intel Mac. I downloaded your adl\_workbench.gz and Safari  
> automatically decompressed it. I copied adl\_workbench into the Ubuntu VM, in  
> its own directory, along with the icons directory and news.txt. Then I  
> chmod'ed it. But this is what happens:  
> &nbsp;&nbsp;

I indeed forgot the icons directory

> peter@ubuntu710-64bit:~/ADL\_Workbench$ ./adl\_workbench  
> bash: ./adl\_workbench: No such file or directory  
> &nbsp;&nbsp;

I have no idea, I tried it on a computer which has never seen Eiffel,  
and, got an error about the icons-directory, sot, that means, it runs.

Maybe try typing the full path

Maybe it has to do with 64 bit, I don't have any experience with that.

But anyway, I repair the set by adding the icons directory, and news.txt

Bert

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [19 November 2007 14:41 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/4 "2007-11-19T14:41:03Z")

</div>

The download file-name has been changed

[http://www.rosa.nl/\_downloads/adl\_workbench.tgz](http://www.rosa.nl/_downloads/adl_workbench.tgz)

install it by unpacking: tar -xvzf adl\_workbench.tgz  
chmod 755

should run after that, it does at my side, more then one computer, as far as I can see, Eiffel-executables do not involve extra dependencies

Bert

---

<div class="post-metadata">

### Author: ![Peter\_Gummer1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/p/258eb7/32.png) [@Peter\_Gummer1](https://discourse.openehr.org/u/Peter_Gummer1)
#### Post date: [26 November 2007 02:14 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/5 "2007-11-26T02:14:13Z")

</div>

Bert Verhees wrote:

> > Today I have installed Ubuntu 7.10 64-bit in a VMWare virtual machine ...
> > 
> > peter@ubuntu710-64bit:~/ADL\_Workbench$ ./adl\_workbench  
> > bash: ./adl\_workbench: No such file or directory
> 
> I have no idea ...  
> Maybe it has to do with 64 bit, I don't have any experience with that.

The problem was indeed to do with running your 32-bit executable in my  
64-bit virtual machine.

&nbsp;&nbsp;&nbsp;&nbsp;$ file adl\_workbench  
&nbsp;&nbsp;&nbsp;&nbsp;adl\_workbench: ELF 32-bit LSB executable, Intel 80386,  
&nbsp;&nbsp;&nbsp;&nbsp;version 1 (SYSV), for GNU/Linux 2.6.4,  
&nbsp;&nbsp;&nbsp;&nbsp;dynamically linked (uses shared libs), not stripped

It uses shared libraries! My friend Google suggested that I should install  
some 32-bit libraries with this command:

&nbsp;&nbsp;&nbsp;&nbsp;$ sudo apt-get install ia32-libs

I was then able to run adl\_workbench, but after a few seconds, instead of  
seeing the user interface, I got a new error message:

&nbsp;&nbsp;&nbsp;&nbsp;error while loading shared libraries: libglitz.so.1: cannot open shared  
object file: No such file or directory

On ubuntuforums.org I found a handy utility called getlibs. I installed and  
ran it:

&nbsp;&nbsp;&nbsp;&nbsp;$ getlibs adl\_workbench  
&nbsp;&nbsp;&nbsp;&nbsp;Matched library libglitz.so.1 ...

I am now able to run your build of adl\_workbench! It looks very much the  
same as it does on the Mac under X11, including a few bugs that don't occur  
on Windows XP:

\* Some of the widgets are not wide enough to display the text.

\* The mouse pointer turns into a white box. I've already ascertained that  
this is a bug in EiffelVision on GTK.

\* The Viewer and Test tabs on the right are displayed horizontally. They are  
supposed to be vertical. I think we should redesign this aspect of the user  
interface; even on Windows it has paint problems under certain  
configurations.

But functionally it appears to be ok. I was careful to omit the trailing  
slash from the repository path 😉

- Peter

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [26 November 2007 11:43 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/6 "2007-11-26T11:43:18Z")

</div>

> But functionally it appears to be ok. I was careful to omit the trailing  
> slash from the repository path 😉  
> &nbsp;&nbsp;

Very good, a few bugs don't matter as long as it does not crash, and it  
does not, so it is very usable to me.  
Also the possibility to hide the line numbers, and automatically expand  
the definition-part (which is new?)

The left upper corner of the white square is the mouse pointer, you get  
used to it.

regards  
Bert Verhees

---

<div class="post-metadata">

### Author: ![Peter\_Gummer1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/p/258eb7/32.png) [@Peter\_Gummer1](https://discourse.openehr.org/u/Peter_Gummer1)
#### Post date: [26 November 2007 11:56 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/7 "2007-11-26T11:56:37Z")

</div>

Bert Verhees wrote:

> ... and automatically expand the definition-part (which is new?)

No, this option was already there, Bert.

- Peter

---

<div class="post-metadata">

### Author: ![Peter\_Gummer1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/p/258eb7/32.png) [@Peter\_Gummer1](https://discourse.openehr.org/u/Peter_Gummer1)
#### Post date: [26 November 2007 22:18 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/8 "2007-11-26T22:18:36Z")

</div>

Bert Verhees wrote:

> The left upper corner of the white square is the mouse pointer, you get  
> used to it.

Actually, Bert, I've just been reading the EiffelStudo 6.1 release notes:

[http://docs.eiffel.com/eiffelstudio/libraries/vision2/content/0-\_revisions/index.html](http://docs.eiffel.com/eiffelstudio/libraries/vision2/content/0-_revisions/index.html)

"EV\_POINTER\_STYLE Fixed issue when converting to a cursor object then  
reverting back would render a white square instead of the requested cursor"

I haven't had an opportunity to install EiffelStudio 6.1 on Mac or Linux  
yet, but I have built ADL Workbench on Windows under EiffelStudio 6.1 and it  
works. You could upgrade to it if you wish.

- Peter

---

<div class="post-metadata">

### Author: ![Peter\_Gummer1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/p/258eb7/32.png) [@Peter\_Gummer1](https://discourse.openehr.org/u/Peter_Gummer1)
#### Post date: [26 November 2007 22:53 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/9 "2007-11-26T22:53:33Z")

</div>

Bert Verhees wrote:

> The left upper corner of the white square is the mouse pointer, you get  
> used to it.

Eiffel Software has just closed the issue report that I raised with them.  
They confirm that EiffelStudo 6.1 fixes this problem.

- Peter

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [27 November 2007 08:11 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/10 "2007-11-27T08:11:03Z")

</div>

Peter Gummer schreef:

> Bert Verhees wrote:
> 
> > The left upper corner of the white square is the mouse pointer, you get  
> > used to it.  
> > &nbsp;&nbsp;&nbsp;&nbsp;  
> > Eiffel Software has just closed the issue report that I raised with them.  
> > They confirm that EiffelStudo 6.1 fixes this problem.
> 
> - Peter
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Ref\_impl\_eiffel mailing list  
> Ref\_impl\_eiffel@openehr.org  
> [http://lists.chime.ucl.ac.uk/mailman/listinfo/ref\_impl\_eiffel](http://lists.chime.ucl.ac.uk/mailman/listinfo/ref_impl_eiffel)

Very good, I shall upgrade, when I find time to.

thanks  
Bert

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [28 November 2007 09:29 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/11 "2007-11-28T09:29:18Z")

</div>

Peter Gummer schreef:

> Bert Verhees wrote:
> 
> > The left upper corner of the white square is the mouse pointer, you get  
> > used to it.  
> > &nbsp;&nbsp;&nbsp;&nbsp;  
> > Eiffel Software has just closed the issue report that I raised with them.  
> > They confirm that EiffelStudo 6.1 fixes this problem.  
> > &nbsp;&nbsp;

New version (mousepointer problem indeed fixed), compiled in 6.1 is  
ready for download at:  
http://\*www.rosa.nl/\_downloads\*/adl\_workbench.tgz

install it by unpacking:  
tar -xvzf adl\_workbench.tgz

give it execute-right:  
chmod 755 adl\_workbench

start it with:  
./adl\_workbench

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [28 November 2007 09:30 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/12 "2007-11-28T09:30:37Z")

</div>

Peter Gummer schreef:

> \> Bert Verhees wrote:  
> \>  
> \>  
> &nbsp;&nbsp;
> 
> > \>\> The left upper corner of the white square is the mouse pointer, you get  
> > \>\> used to it.  
> > \>\>  
> > &nbsp;&nbsp;&nbsp;&nbsp;
> 
> \>  
> \> Eiffel Software has just closed the issue report that I raised with them.  
> \> They confirm that EiffelStudo 6.1 fixes this problem.  
> \>  
> &nbsp;&nbsp;

New version (mousepointer problem indeed fixed), compiled in 6.1 is  
ready for download at:  
[http://www.rosa.nl/\_downloads/adl\_workbench.tgz](http://www.rosa.nl/_downloads/adl_workbench.tgz)

install it by unpacking:  
tar -xvzf adl\_workbench.tgz

give it execute-right:  
chmod 755 adl\_workbench

start it with:  
./adl\_workbench

---

<div class="post-metadata">

### Author: ![thomas.beale](https://discourse.openehr.org/user_avatar/discourse.openehr.org/thomas.beale/32/35_2.png) [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)
#### Post date: [28 November 2007 11:52 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/13 "2007-11-28T11:52:15Z")

</div>

I have been following this progress - great work Bert. Peter - sounds  
like it is time to host the Linux build and also the relevant source  
files (.ecf, any Make stuff) on the ref\_impl\_eiffel SVN repository - I  
have not looked but I presume we are not yet doing this? We should also  
provide pointers from the page  
[http://www.openehr.org/svn/ref\_impl\_eiffel/TRUNK/apps/doc/adl\_workbench\_help.htm](http://www.openehr.org/svn/ref_impl_eiffel/TRUNK/apps/doc/adl_workbench_help.htm)  
- Peter, do you want to look into updating things here? We can announce  
a Linux version of this tool soon if we are sure about its robustness....

once again, nice work guys,

- thomas

Bert Verhees wrote:

---

<div class="post-metadata">

### Author: ![Peter\_Gummer1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/p/258eb7/32.png) [@Peter\_Gummer1](https://discourse.openehr.org/u/Peter_Gummer1)
#### Post date: [28 November 2007 12:30 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/14 "2007-11-28T12:30:17Z")

</div>

Thomas Beale wrote:

> I have been following this progress - great work Bert. Peter - sounds  
> like it is time to host the Linux build and also the relevant source  
> files (.ecf, any Make stuff) on the ref\_impl\_eiffel SVN repository - I  
> have not looked but I presume we are not yet doing this?

What Bert has done is exciting. I tried to install EiffelStudio 6.0 on a  
Ubuntu virtual machine a couple of days ago, but I think I need to install  
GTK, or maybe a different version of GTK: haven't had a chance to  
investigate yet.

Bert simply built it within EiffelStudio from the TRUNK, as far as I'm  
aware. So there's nothing new to put in the ref\_impl\_eiffel repository.

> We should also provide pointers from the page  
> [http://www.openehr.org/svn/ref\_impl\_eiffel/TRUNK/apps/doc/adl\_workbench\_help.htm](http://www.openehr.org/svn/ref_impl_eiffel/TRUNK/apps/doc/adl_workbench_help.htm)  
> - Peter, do you want to look into updating things here? We can announce  
> a Linux version of this tool soon if we are sure about its robustness....

I can put Bert's adl\_workbench.tgz file in the oe\_distrib repository, and  
update the help page, as well as  
[https://wiki.oceaninformatics.com/confluence/display/TTL/ADL+Workbench+Releases](https://wiki.oceaninformatics.com/confluence/display/TTL/ADL+Workbench+Releases)

Just one issue, though. The Windows and Mac builds were done on 9th April,  
before we commenced the specialisation work. Bert's Linux build is from the  
current TRUNK, which includes everything we had done up until revision 352  
on 18th August (plus a couple of little things like the option to hide the  
line numbers). I should do new Windows and Mac releases at the same time.

- Peter

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [28 November 2007 13:28 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/15 "2007-11-28T13:28:57Z")

</div>

I build just as it is, on Eiffel 6.1, right from TRUNK, OpenSuse 10.2,  
KDE, default install, current patchlevel (latest updates).  
On another machine I have openSuse 10.3, also fine.

I had only one small problem, because of the Dutch/German habit to treat  
"," vs "." different in decimals.  
Set environment variable LANG=C solves the problem (thanks to the Yahoo  
Eiffel List)

Thanks for the compliments 😉

Bert

Peter Gummer schreef:

---

<div class="post-metadata">

### Author: ![thomas.beale](https://discourse.openehr.org/user_avatar/discourse.openehr.org/thomas.beale/32/35_2.png) [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)
#### Post date: [28 November 2007 15:49 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-adl-workbench-for-linux/14700/16 "2007-11-28T15:49:50Z")

</div>

Peter Gummer wrote:

> I can put Bert's adl\_workbench.tgz file in the oe\_distrib repository, and  
> update the help page, as well as  
> [https://wiki.oceaninformatics.com/confluence/display/TTL/ADL+Workbench+Releases](https://wiki.oceaninformatics.com/confluence/display/TTL/ADL+Workbench+Releases)  
> &nbsp;&nbsp;

yep - let's do that...

> Just one issue, though. The Windows and Mac builds were done on 9th April,  
> before we commenced the specialisation work. Bert's Linux build is from the  
> current TRUNK, which includes everything we had done up until revision 352  
> on 18th August (plus a couple of little things like the option to hide the  
> line numbers). I should do new Windows and Mac releases at the same time.

yep - which means adding a new bit of text at the top of the main page  
to indicate what changes have happened since the last release. It means  
visually trawling through the SVN log between then and now and just  
finding any major things and writing a sentence or two about them. You  
can fairly easily see the structure of the web page.

thanks,

- thomas
