EiffelStudio 6.4 available as a deb package

6 messages Options
Embed this post
Permalink
Emmanuel Stapf

EiffelStudio 6.4 available as a deb package

Reply Threaded More More options
Print post
Permalink
If you are a Linux user running a Debian based Linux, you might try out installing
the GPL version of EiffelStudio directly using your favorite package manager by
following the instructions from:

http://beta.getdeb.net/updates/Eiffel%20Studio

Let them and us know if everything works fine.

Regards,
Manu

------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  



------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  
the blind squirrel

Re: EiffelStudio 6.4 available as a deb package

Reply Threaded More More options
Print post
Permalink
Hello Manu,

This is a great idea and should make installing EiffelStudio just that
much easier, especially for novice Linux users. (I'm not a Linux expert
by any means, but after using it regularly now for a year I think I'm
past the novice stage.)

Over the weekend Ubuntu pushed a major upgrade, version 9.10, to my
machine. I think I'm about as up-to-date as it gets.

I remember struggling with my first EiffelStudio installation, late last
year, when I was also learning Ubuntu. Getting the gtk+ version correct
was the most difficult step of the install. I also added $ISE_EIFFEL to
my .profile so that it would resolve correctly. Will "getdeb" installs
simplify these steps?

It would be especially convenient if I could install EiffelStudio with
Synaptic Package Manager. Is that possible? (Currently on my system
EiffelStudio is not listed in Synaptic.)

I installed "getdeb" successfully. Since I have a working installation
of EiffelStudio 6.4, I didn't go all the way to installing it again
using "getdeb". Would it be safe for me to install EiffelStudio again
using "getdeb", on top of the installation I already have? I could then
tell you what happens.

Item 2 of the instructions at
http://beta.getdeb.net/updates/Eiffel%20Studio for manual installation
reads "Go to System-Administration-Software Sources, Third-Party
Software tab". There is no "Third-Party Software tab" in my "Software
Sources" utility, but there is an "Other Software" tab. Opening that
tab, and clicking on "Add", opened a dialog, in which I can enter the
APT line from your instructions. I clicked on "Add source", then "Close"
on the main notebook. I got an information box saying "The information
about available software is out-of-date". I clicked "Reload"; a progress
bar appeared, then disappeared, as did the main "Software Sources"
notebook. I then opened a terminal window and entered the command to add
the repository GPG key. Some text appeared, the last line of which was
"'-' saved [1682/1682]", but the command window never returned to a
prompt. I'm not sure if this is correct or not.

--- In [hidden email], "Emmanuel Stapf [ES]"
<manus@...> wrote:
>
> If you are a Linux user running a Debian based Linux, you might try
out installing
> the GPL version of EiffelStudio directly using your favorite package
manager by

> following the instructions from:
>
> http://beta.getdeb.net/updates/Eiffel%20Studio
>
> Let them and us know if everything works fine.
>
> Regards,
> Manu
>
>
------------------------------------------------------------------------
> Eiffel Software
> 805-685-1006
> http://www.eiffel.com
> Customer support: http://support.eiffel.com
> User group: http://groups.eiffel.com/join
>
------------------------------------------------------------------------
>


Emmanuel Stapf

RE: Re: EiffelStudio 6.4 available as a deb package

Reply Threaded More More options
Print post
Permalink
> I remember struggling with my first EiffelStudio installation, late last
> year, when I was also learning Ubuntu. Getting the gtk+ version correct
> was the most difficult step of the install. I also added $ISE_EIFFEL to
> my .profile so that it would resolve correctly. Will "getdeb" installs
> simplify these steps?

This distribution is a linux layout distribution (See
http://dev.eiffel.com/LinuxUnixLayout for more details) that is to say that it
does not require any environment variable to be setup. If you define them then the
getdeb package will not function properly.
 
> It would be especially convenient if I could install EiffelStudio with
> Synaptic Package Manager. Is that possible? (Currently on my system
> EiffelStudio is not listed in Synaptic.)

That's possible. The required steps are to add a new source for packages and
synaptic will get EiffelStudio automatically as well as any update to EiffelStudio
when available.
 
> I installed "getdeb" successfully. Since I have a working installation
> of EiffelStudio 6.4, I didn't go all the way to installing it again
> using "getdeb". Would it be safe for me to install EiffelStudio again
> using "getdeb", on top of the installation I already have? I could then
> tell you what happens.

I've done that (i.e. manually installed the development version of EiffelStudio of
6.5 and the EiffelStudio 6.4 from getdeb). The only limitation is that you need to
make sure to not have the ISE_XXX environment variable defined.
 

> Item 2 of the instructions at
> http://beta.getdeb.net/updates/Eiffel%20Studio for manual installation
> reads "Go to System-Administration-Software Sources, Third-Party
> Software tab". There is no "Third-Party Software tab" in my "Software
> Sources" utility, but there is an "Other Software" tab. Opening that
> tab, and clicking on "Add", opened a dialog, in which I can enter the
> APT line from your instructions. I clicked on "Add source", then "Close"
> on the main notebook. I got an information box saying "The information
> about available software is out-of-date". I clicked "Reload"; a progress
> bar appeared, then disappeared, as did the main "Software Sources"
> notebook. I then opened a terminal window and entered the command to add
> the repository GPG key. Some text appeared, the last line of which was
> "'-' saved [1682/1682]", but the command window never returned to a
> prompt. I'm not sure if this is correct or not.

Usually it will ask for your password and the line could be messed up. I suggest
that in the same terminal, you do first `sudo ls', enter your password and then
the line:

wget -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

Once you have done that go back to the Software Sources and refresh the content.

Regards,
Manu

------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  
the blind squirrel

Re: EiffelStudio 6.4 available as a deb package

Reply Threaded More More options
Print post
Permalink
Hello Manu,

Thank you for the reply. EiffelStudio is now listed in Synaptic. Very
cool! Synaptic will make installing and upgrading EiffelStudio so much
easier. Thank you!

I commented out the definitions of ISE_EIFFEL, ISE_PLATFORM, and the
extension of PATH to include $ISE_EIFFEL, in my .profile. I also checked
/usr/bin, /usr/lib, etc, to make sure none of the EiffelStudio files
were located in the layout directories. I then installed EiffelStudio
using Synaptic. Everything installed and runs perfectly. It even added
an icon for EiffelStudio under Applications | Programming. Very very
slick. It couldn't be easier.

My only problem now is EiffelBuild will not work. It launches but throws
a segmentation fault when I open a project. This must be because the
environment variables aren't set any more. (I previously installed it in
its own directory, /usr/local/Eiffel64/esbuilder.) What's the correct
way (path location, etc.) to install EiffelBuild?

--- In [hidden email], "Emmanuel Stapf [ES]"
<manus@...> wrote:
>
> > I remember struggling with my first EiffelStudio installation, late
last
> > year, when I was also learning Ubuntu. Getting the gtk+ version
correct
> > was the most difficult step of the install. I also added $ISE_EIFFEL
to
> > my .profile so that it would resolve correctly. Will "getdeb"
installs
> > simplify these steps?
>
> This distribution is a linux layout distribution (See
> http://dev.eiffel.com/LinuxUnixLayout for more details) that is to say
that it
> does not require any environment variable to be setup. If you define
them then the
> getdeb package will not function properly.
>
> > It would be especially convenient if I could install EiffelStudio
with
> > Synaptic Package Manager. Is that possible? (Currently on my system
> > EiffelStudio is not listed in Synaptic.)
>
> That's possible. The required steps are to add a new source for
packages and
> synaptic will get EiffelStudio automatically as well as any update to
EiffelStudio
> when available.
>
> > I installed "getdeb" successfully. Since I have a working
installation
> > of EiffelStudio 6.4, I didn't go all the way to installing it again
> > using "getdeb". Would it be safe for me to install EiffelStudio
again
> > using "getdeb", on top of the installation I already have? I could
then
> > tell you what happens.
>
> I've done that (i.e. manually installed the development version of
EiffelStudio of
> 6.5 and the EiffelStudio 6.4 from getdeb). The only limitation is that
you need to
> make sure to not have the ISE_XXX environment variable defined.
>
> > Item 2 of the instructions at
> > http://beta.getdeb.net/updates/Eiffel%20Studio for manual
installation
> > reads "Go to System-Administration-Software Sources, Third-Party
> > Software tab". There is no "Third-Party Software tab" in my
"Software
> > Sources" utility, but there is an "Other Software" tab. Opening that
> > tab, and clicking on "Add", opened a dialog, in which I can enter
the
> > APT line from your instructions. I clicked on "Add source", then
"Close"
> > on the main notebook. I got an information box saying "The
information
> > about available software is out-of-date". I clicked "Reload"; a
progress
> > bar appeared, then disappeared, as did the main "Software Sources"
> > notebook. I then opened a terminal window and entered the command to
add
> > the repository GPG key. Some text appeared, the last line of which
was
> > "'-' saved [1682/1682]", but the command window never returned to a
> > prompt. I'm not sure if this is correct or not.
>
> Usually it will ask for your password and the line could be messed up.
I suggest
> that in the same terminal, you do first `sudo ls', enter your password
and then
> the line:
>
> wget -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key
add -
>
> Once you have done that go back to the Software Sources and refresh
the content.
>
> Regards,
> Manu
>


Emmanuel Stapf

RE: Re: EiffelStudio 6.4 available as a deb package

Reply Threaded More More options
Print post
Permalink
> My only problem now is EiffelBuild will not work. It launches but throws
> a segmentation fault when I open a project. This must be because the
> environment variables aren't set any more. (I previously installed it in
> its own directory, /usr/local/Eiffel64/esbuilder.) What's the correct
> way (path location, etc.) to install EiffelBuild?

It seems that the author of the package is not using the unix layout as I
initially thought. Instead it is defining the environment variable ISE_EIFFEL and
ISE_PLATFORM and then launches EiffelStudio. In your case defining ISE_EIFFEL to
/usr/lib/eiffelstudio and ISE_PLATFORM to either linux-x86 or linux-x86-64 should
solve that particular problem.

Regards,
Manu

------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  
the blind squirrel

Re: EiffelStudio 6.4 available as a deb package

Reply Threaded More More options
Print post
Permalink
Manu, Please see below.
--- In [hidden email], "Emmanuel Stapf [ES]"
<manus@...> wrote:
>
> > My only problem now is EiffelBuild will not work. It launches but
throws
> > a segmentation fault when I open a project. This must be because the
> > environment variables aren't set any more. (I previously installed
it in
> > its own directory, /usr/local/Eiffel64/esbuilder.) What's the
correct
> > way (path location, etc.) to install EiffelBuild?
>
> It seems that the author of the package is not using the unix layout
as I
> initially thought. Instead it is defining the environment variable
ISE_EIFFEL and
> ISE_PLATFORM and then launches EiffelStudio.

FYI, ISE_EIFFEL and ISE_PLATFORM are not defined on my system, but my
PATH does include /usr/bin (I guess that's standard), where the
eifelstudio executable that I installed yesterday with Synaptic is
located.

> In your case defining ISE_EIFFEL to
> /usr/lib/eiffelstudio and ISE_PLATFORM to either linux-x86 or
linux-x86-64 should
> solve that particular problem.
>
Yes, that works.

I found a somewhat more serious problem after compiling a project with
vision2 classes. The C compilation failed because
/usr/lib/eiffelstudio/library/vision2/spec/linux-x86/lib/gtk_eiffel.o
and /usr/lib/eiffelstudio/studio/spec/linux-x86/lib/libwkbench.a were
not found. Both files are found in the expected locations in the
directory where I installed EiffelStudio from the downloaded tar.bz2
archive, and the same project compiles without error using the
downloaded (not Synaptic-installed) version. Could these 2 files have
been omitted from the getdeb distribution?