[ref_impl_eiffel] adl_workbench for Linux

The code written bij Ocean, compiled for Linux, can be downloaded here
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

Bert Verhees wrote:

The code written bij Ocean, compiled for Linux, can be downloaded here
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

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

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:
  

I indeed forgot the icons directory

peter@ubuntu710-64bit:~/ADL_Workbench$ ./adl_workbench
bash: ./adl_workbench: No such file or directory
  

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

The download file-name has been changed

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

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.

    $ file adl_workbench
    adl_workbench: ELF 32-bit LSB executable, Intel 80386,
    version 1 (SYSV), for GNU/Linux 2.6.4,
    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:

    $ 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:

    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:

    $ getlibs adl_workbench
    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 :wink:

- Peter

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

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

Bert Verhees wrote:

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

No, this option was already there, Bert.

- Peter

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

"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

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

Peter Gummer schreef:

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

_______________________________________________
Ref_impl_eiffel mailing list
Ref_impl_eiffel@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/ref_impl_eiffel

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

thanks
Bert

Peter Gummer schreef:

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.
  

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

Peter Gummer schreef:

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

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

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
- 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:

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

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

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 :wink:

Bert

Peter Gummer schreef:

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
  

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