Installing EiffelStudio from the PorterPackage

13 messages Options
Embed this post
Permalink
panfriedwoggle

Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
Hi all,

I was delighted to discover reading various web pages yesterday that the precompiles problem with Mac OS X is now solved. I would like to install the fixed version of EiffelStudio on my Mac ASAP. I teach students who use a mixture of Macs and PCs, and at present must distribute ecf files specifying no precompiles to all. Likewise, when I am marking student submissions, I have problems if they have used Windows with precompiles switched on.

I have downloaded the latest PorterPackage from sourceforge, but have been unable to find any sort of "how-to" explaining how to install from it. Does such a page exist? I would be very glad of a pointer.

Also, it would be great if the version of EiffelStudio on MacPorts could be upgraded from 6.3 ASAP so that it is easy for Mac users (particularly students) to install a version with precompiles that works.

Thanks,

John

Ian Joyner-2

Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
Where is Eiffel being taught? I assume in Australia.

Ian

On 06/07/2009, at 11:09 AM, panfriedwoggle wrote:

>
>
> Hi all,
>
> I was delighted to discover reading various web pages yesterday that  
> the precompiles problem with Mac OS X is now solved. I would like to  
> install the fixed version of EiffelStudio on my Mac ASAP. I teach  
> students who use a mixture of Macs and PCs, and at present must  
> distribute ecf files specifying no precompiles to all. Likewise,  
> when I am marking student submissions, I have problems if they have  
> used Windows with precompiles switched on.
>
> I have downloaded the latest PorterPackage from sourceforge, but  
> have been unable to find any sort of "how-to" explaining how to  
> install from it. Does such a page exist? I would be very glad of a  
> pointer.
>
> Also, it would be great if the version of EiffelStudio on MacPorts  
> could be upgraded from 6.3 ASAP so that it is easy for Mac users  
> (particularly students) to install a version with precompiles that  
> works.
>
> Thanks,
>
> John
>
>
>



[Non-text portions of this message have been removed]

panfriedwoggle

Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
--- In [hidden email], Ian Joyner <i.joyner@...> wrote:
>
> Where is Eiffel being taught? I assume in Australia.
>

Monash.

Regards,

John

Emmanuel Stapf

RE: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
In reply to this post by panfriedwoggle
> I have downloaded the latest PorterPackage from sourceforge, but have
> been unable to find any sort of "how-to" explaining how to install from
> it. Does such a page exist? I would be very glad of a pointer.

The documentation is included for building the PorterPackage, but not copied in
the PorterPackage itself. You can read part two of this README for the
instructions:

http://s.eiffel.com/kktgm

> Also, it would be great if the version of EiffelStudio on MacPorts could
> be upgraded from 6.3 ASAP so that it is easy for Mac users (particularly
> students) to install a version with precompiles that works.

I'll contact the maintainer of the MacPorts for the update.

Thanks,
Manu

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

Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
There is already a MacPort entry for 6.4 (and has been for a while).
The 6.5 development version will be available in a couple of hours, too.
When installing from MacPorts, the precompiles are not automatically built
at the moment and there is a permission-issue. I will try to fix that ASAP.

Best regards,
Daniel

On Mon, Jul 6, 2009 at 5:47 AM, Emmanuel Stapf [ES] <[hidden email]>wrote:

>
>
> > I have downloaded the latest PorterPackage from sourceforge, but have
> > been unable to find any sort of "how-to" explaining how to install from
> > it. Does such a page exist? I would be very glad of a pointer.
>
> The documentation is included for building the PorterPackage, but not
> copied in
> the PorterPackage itself. You can read part two of this README for the
> instructions:
>
> http://s.eiffel.com/kktgm
>
> > Also, it would be great if the version of EiffelStudio on MacPorts could
> > be upgraded from 6.3 ASAP so that it is easy for Mac users (particularly
> > students) to install a version with precompiles that works.
>
> I'll contact the maintainer of the MacPorts for the update.
>
> Thanks,
> Manu
>
>  
>


[Non-text portions of this message have been removed]

panfriedwoggle

Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
--- In [hidden email], Daniel Furrer <daniel.furrer@...> wrote:
>
> There is already a MacPort entry for 6.4 (and has been for a while).

I reinstalled macports (Darwin ports) from scratch yesterday, and then did "sudo port install eiffelstudio". I got version 6.3. I take it that this means that 6.3 is still the default. I would expect the default to be the most recent version. Am I missing something?

Daniel Furrer

Re: Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
You are right, we will update that.
In the meantime please "sudo port install eiffelstudio64".

Daniel

On Mon, Jul 6, 2009 at 11:35 AM, panfriedwoggle <[hidden email]
> wrote:

>
>
> --- In [hidden email] <eiffel_software%40yahoogroups.com>,
> Daniel Furrer <daniel.furrer@...> wrote:
> >
> > There is already a MacPort entry for 6.4 (and has been for a while).
>
> I reinstalled macports (Darwin ports) from scratch yesterday, and then did
> "sudo port install eiffelstudio". I got version 6.3. I take it that this
> means that 6.3 is still the default. I would expect the default to be the
> most recent version. Am I missing something?
>
>  
>


[Non-text portions of this message have been removed]

Peter Gummer-2

Re: Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
On 06/07/2009, at 19:45, Daniel Furrer wrote:

> You are right, we will update that.
> In the meantime please "sudo port install eiffelstudio64".



Hi Daniel,

$ sudo port install eiffelstudio64
Password:
Error: Port eiffelstudio64 not found

- Peter Gummer
Peter Gummer-2

Re: Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink

On 06/07/2009, at 22:42, I wrote:

>> In the meantime please "sudo port install eiffelstudio64".
>
> ...
> Error: Port eiffelstudio64 not found


Never mind, I just remembered that the correct sequence of commands is:

sudo port selfupdate
sudo port install eiffelstudio64

It's about 12 months since I've done this so I forgot the first step.  
It's described at http://dev.eiffel.com/EiffelOnMac .

- Peter Gummer

Daniel Furrer

Re: Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
Following up on the issue with the issue with the precompiles:

Jann (who maintains the MacPort) tells me that it is not a good idea to
generate the precompiles automatically and I can see that point.
So what could be done otherwise is to change the permissions of the /precomp
folders to allow read-/write access for every user.
This would allow a regular user who starts estudio to use&generate
precompiles. However, this is a security risk as effectively the code is
shared between users.

May I ask how is this handled on other unix systems at the moment?

As another note: It is trivial (in principle) to create binary .pkg or .dmg
distributions from MacPorts. This functionality is broken in the current
release, but such packages will be available as soon as the next MacPort
version is out.

Best regards,
Daniel

__,_._,__
>


[Non-text portions of this message have been removed]

panfriedwoggle

Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
--- In [hidden email], Daniel Furrer <daniel.furrer@...> wrote:

>
> Following up on the issue with the issue with the precompiles:
>
> Jann (who maintains the MacPort) tells me that it is not a good idea to
> generate the precompiles automatically and I can see that point.
> So what could be done otherwise is to change the permissions of the /precomp
> folders to allow read-/write access for every user.
> This would allow a regular user who starts estudio to use&generate
> precompiles. However, this is a security risk as effectively the code is
> shared between users.
>

I don't see a great problem here. The standard way to install things using MacPorts is to do it as root, i.e. "sudo port install eiffelstudio". Why not have an option in the port file so that the user could choose to generate the precompiles during the installation, e.g. "sudo port install eiffelstudio +precompiles"?

An alternative would be to have the precompiles for each user live in that user's home directory. This would result in multiple copies of the precompiles across a multiuser system, but not using precompiles results in multiple copies too.

Also, I suspect that many (most?) Mac/'NIX users these days are effectively the sole users of their machines, so there would be little waste in practice. For a genuinely multiuser machine, the sysadmin could choose to generate shared precompiles during installation, as described above.

Regards,

John

Colin LeMahieu

Re: Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
On the Eiffel 6.5 futures is Smart Compiling and automatically generated
precompiles.  Perhaps with those this issue would disappear.

On Wed, Jul 8, 2009 at 10:17 PM, panfriedwoggle <[hidden email]
> wrote:

>
>
> --- In [hidden email] <eiffel_software%40yahoogroups.com>,
> Daniel Furrer <daniel.furrer@...> wrote:
> >
> > Following up on the issue with the issue with the precompiles:
> >
> > Jann (who maintains the MacPort) tells me that it is not a good idea to
> > generate the precompiles automatically and I can see that point.
> > So what could be done otherwise is to change the permissions of the
> /precomp
> > folders to allow read-/write access for every user.
> > This would allow a regular user who starts estudio to use&generate
> > precompiles. However, this is a security risk as effectively the code is
> > shared between users.
> >
>
> I don't see a great problem here. The standard way to install things using
> MacPorts is to do it as root, i.e. "sudo port install eiffelstudio". Why not
> have an option in the port file so that the user could choose to generate
> the precompiles during the installation, e.g. "sudo port install
> eiffelstudio +precompiles"?
>
> An alternative would be to have the precompiles for each user live in that
> user's home directory. This would result in multiple copies of the
> precompiles across a multiuser system, but not using precompiles results in
> multiple copies too.
>
> Also, I suspect that many (most?) Mac/'NIX users these days are effectively
> the sole users of their machines, so there would be little waste in
> practice. For a genuinely multiuser machine, the sysadmin could choose to
> generate shared precompiles during installation, as described above.
>
> Regards,
>
> John
>
>  
>


[Non-text portions of this message have been removed]

Bernd Schoeller-3

Re: Re: Installing EiffelStudio from the PorterPackage

Reply Threaded More More options
Print post
Permalink
In reply to this post by Daniel Furrer
Hi Daniel, hi Jann,

you might consider patching the templates not to require precompiled  
binaries.

Bernd

On Jul 9, 2009, at 12:20 AM, Daniel Furrer wrote:

>
>
> Following up on the issue with the issue with the precompiles:
>
> Jann (who maintains the MacPort) tells me that it is not a good idea  
> to
> generate the precompiles automatically and I can see that point.
> So what could be done otherwise is to change the permissions of the /
> precomp
> folders to allow read-/write access for every user.
> This would allow a regular user who starts estudio to use&generate
> precompiles. However, this is a security risk as effectively the  
> code is
> shared between users.
>
> May I ask how is this handled on other unix systems at the moment?
>
> As another note: It is trivial (in principle) to create binary .pkg  
> or .dmg
> distributions from MacPorts. This functionality is broken in the  
> current
> release, but such packages will be available as soon as the next  
> MacPort
> version is out.
>
> Best regards,
> Daniel
>
> __,_._,__
> >
>
> [Non-text portions of this message have been removed]
>
>
>

--
Bernd Schoeller, PhD, CTO, Partner
Comerge AG, Bubenbergstrasse 11, CH-8045 Zurich, www.comerge.net






------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[hidden email]
    mailto:[hidden email]

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/