Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62910 - Ebuild for EiffelStudio
Summary: Ebuild for EiffelStudio
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://www.eiffel.com/downloads/index...
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-09-05 03:55 UTC by dean lamper
Modified: 2018-06-07 18:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dean lamper 2004-09-05 03:55:10 UTC
EiffelStudio is an IDE for Eiffel from ISE.
There is a free personal eddition available from http://www.eiffel.com/downloads/index.html.

Unfortunately they only offer RedHat 9 eddition and pre glibc 2.3.2 edditon.
I tried to manually install it but to no avail :(

An ebuild for this IDE would be fantastic!

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Frans Kuipers 2004-09-05 04:29:57 UTC
Hi Deans,

You stated:
> Unfortunately they only offer RedHat 9 eddition and pre glibc 2.3.2 edditon.

Thats not true. there is a line: 
Linux (excluding RedHat 9 or glibc version prior to 2.3.2) 
                                   on the download page.

Did you try this version?

Frans
Comment 2 dean lamper 2004-09-08 10:48:07 UTC
Frans wrote:
>> Thats not true. there is a line: 
>> Linux (excluding RedHat 9 or glibc version prior to 2.3.2) on the download page.
>> Did you try this version?

You are correct. But I was unable to install eather of them.

However, on 7th September 2004, version 5.5 was released. It comes in only one flawor, requiring at least GTK+ 2.4.0.

Installation instructions are here http://docs.eiffel.com/docs_no_content.html

It can be downloaded from many locations including:

ftp://ftp.cs.rit.edu/pub/mirrors/ise/download/linux/55/Eiffel55.tgz
ftp://ftp.gmu.edu/eiffel/ftp.eiffel.com/pub/download/linux/55/Eiffel55.tgz
ftp://ftp.inf.ethz.ch/pub/mirror/eiffel/linux/55/Eiffel55.tgz
ftp://ftp.um.es/mirror/ftp.eiffel.com/linux/55/Eiffel55.tgz
ftp://apollon.cs.abo.fi/eiffel/ftp.eiffel.com/pub/download/linux/55/Eiffel55.tgz
ftp://ftp.di.fct.unl.pt/pub/languages/eiffel/linux/55/Eiffel55.tgz
ftp://ftp.gd.tuwien.ac.at/languages/eiffel/download/linux/55/Eiffel55.tgz
ftp://ftp.pucpr.br/eiffel/linux/55/Eiffel55.tgz
ftp://ftp.eiffel.com/pub/download/linux/55/Eiffel55.tgz
http://www.cs.abo.fi/eiffel/ftp.eiffel.com/pub/download/linux/55/Eiffel55.tgz
http://ftp.di.fct.unl.pt/pub/languages/eiffel/linux/55/Eiffel55.tgz
http://gd.tuwien.ac.at/languages/eiffel/download/linux/55/Eiffel55.tgz
http://www.um.es/ftp/mirror/ftp.eiffel.com/linux/55/Eiffel55.tgz

I installed it following those instructions, but make_install dies on me with:

bash-2.05b# $ISE_EIFFEL/make_install
Welcome to the ISE Eiffel 5 installer
Do you want to precompile EiffelBase (required to compile examples) ? [y/n]
y
Do you want to precompile EiffelVision2 (might take a while) ? [y/n]
y
Precompile EiffelBase
/usr/local/Eiffel55/studio/spec/linux-glibc2.1/bin/ec: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Precompile EiffelVision2
/usr/local/Eiffel55/studio/spec/linux-glibc2.1/bin/ec: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

I found libgtk-x11-2.0.so.0 in /usr/lib. 
If memory serves me good, this is the same error I got with 5.4 version. 
Any idea what to do?

Dean
Comment 3 dean lamper 2004-09-08 11:05:28 UTC
Additional requirement is Gtk+ 1.2.8. 
I have 1.2.10 so this should not be a problem, I guess.

Dean
Comment 4 dean lamper 2004-09-08 12:57:47 UTC
I am running KDE and have x32 emul installed. I found out I need this:

emerge emul-linux-x86-gtklibs

and those library problem went away.

The next problem is: it wont precompile EiffelBase nor EiffelVision.
If I choose not to preocompile them, then make_install succedes. 
After setting:

bash-2.05b$ export ISE_PLATFORM=linux-glibc2.1
bash-2.05b$ export ISE_EIFFEL=/usr/local/Eiffel55
bash-2.05b$ export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin

for my user and running estudio from command line I get

bash-2.05b$ estudio
(process:21733): Gdk-WARNING **: locale not supported by Xlib
(process:21733): Gdk-WARNING **: can not set locale modifiers
(ec:21733): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
(ec:21733): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

and then the GUI appears. I created a new sample system and tried to compile it. I gave me

Preparing C compilation ...
Extracting ./Makefile (with variable substitutions)
/usr/local/Eiffel55/studio/spec/linux-glibc2.1/bin/x2c E1/estructure.x E1/estructure.h
cd C3 ; if [ ! -f finished ] ; then  /bin/sh Makefile.SH ; make ; fi
Extracting ./Makefile (with variable substitutions)
make[1]: Entering directory `/home/juzer/sample/EIFGEN/F_code/C3'
/usr/local/Eiffel55/studio/spec/linux-glibc2.1/bin/x2c big_file_C3_x.x big_file_C3_x.c
gcc -O2 -m486 -pipe  -I/usr/local/Eiffel55/studio/spec/linux-glibc2.1/include -I.  -c big_file_C3_x.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
cc1: error: CPU you selected does not support x86-64 instruction set
make[1]: *** [big_file_C3_x.o] Error 1
make[1]: Leaving directory `/home/juzer/sample/EIFGEN/F_code/C3'
make: *** [C3/Cobj3.o] Error 2

Hmmmm, 486. A quick search for m486 in $ISE_EIFFEL/, gave me this:

precomp/spec/linux-glibc2.1/base/EIFGEN/W_code/config.sh
precomp/spec/linux-glibc2.1/vision2/EIFGEN/W_code/config.sh
studio/spec/linux-glibc2.1/include/config.sh

I removed that parameter (left only -O2), ran make_install and choose to precompile EiffelBase and EiffelVission2 again. It throws multiple

warning: cast from pointer to integer of different size 

and it finaly dies with:

/usr/local/Eiffel55/precomp/spec/linux-glibc2.1/vision2/EIFGEN/W_code/C26/ev840.c:63695: warning: cast from pointer to integer of different size
make[1]: *** [big_file_C26_c.o] Error 1
make[1]: Leaving directory `/usr/local/Eiffel55/precomp/spec/linux-glibc2.1/vision2/EIFGEN/W_code/C26'
make: *** [C26/Cobj26.o] Error 2

In EiffelStudio I went into Tools/Preferences and changed Internet browser command to konqueror $url so at least online help works :)

Dean
Comment 5 dean lamper 2004-09-08 14:06:51 UTC
Oh, I haven't explicitly mentioned yet that I'm running amd64 gentoo:)

Dean
Comment 6 robertc96 2004-10-06 10:45:07 UTC
I was able to install EiffelStudio 5.5 using the instructions provided on the website and had no compile issues on my x86 box. I extracted the tarball, set all necessary environment variables and did the $ISE_EIFFEL/make_install and was able to compile and execute an example program suggested by the eiffelstudio guided tour documentation afterwards.  So it looks as if what you are experiencing may be an AMD64 specific issue most likely.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 13:12:03 UTC
Re-assign.
Comment 8 Luis Felipe 2006-04-05 20:14:23 UTC
A GPL version of Eiffel Studio was just released (saw it on slashdot).
The link is : http://eiffelsoftware.origo.ethz.ch/index.php/Main_Page

would be great to have it on portage.
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-13 20:51:44 UTC
(this is an automated message based on filtering criteria that matched this bug)

Hello, The Gentoo Team would like to firstly thank you for your ebuild
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay.
So, the sunrise team is suggesting that you look into this and submit your
ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 10 José Romildo Malaquias 2010-07-21 01:33:52 UTC
I am looking forward for an ebuild for eiffelstudio in portage.