<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dev.eiffel.com/api.php?action=feedcontributions&amp;user=Ubi&amp;feedformat=atom</id>
	<title>EiffelStudio: an EiffelSoftware project - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dev.eiffel.com/api.php?action=feedcontributions&amp;user=Ubi&amp;feedformat=atom"/>
	<link rel="alternate" type="text/html" href="https://dev.eiffel.com/Special:Contributions/Ubi"/>
	<updated>2026-11-12T08:02:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://dev.eiffel.com/index.php?title=EiffelOnMac&amp;diff=14234</id>
		<title>EiffelOnMac</title>
		<link rel="alternate" type="text/html" href="https://dev.eiffel.com/index.php?title=EiffelOnMac&amp;diff=14234"/>
		<updated>2011-09-23T16:11:31Z</updated>

		<summary type="html">&lt;p&gt;Ubi: /* How can I make EiffelStudio on the Mac look nicer? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:EiffelStudio]]&lt;br /&gt;
[[Category:Macintosh]]&lt;br /&gt;
&lt;br /&gt;
This page gives you an overview about how to get EiffelStudio running on your Mac (Leopard, Snow Leopard or Lion).&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
&lt;br /&gt;
*You will need to install &#039;&#039;&#039;XCode&#039;&#039;&#039; from your OSX-Installation disk, or download it from Apple&#039;s developer web site. Make sure that you install the development tools with Xcode. You don&#039;t need to install &#039;&#039;&#039;X11&#039;&#039;&#039; if you are using OSX &amp;gt;=10.5, otherwise just install it from your OSX-Installation disk.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== Using MacPorts ===&lt;br /&gt;
The following should work on Mac OS X 10.4 and later.&lt;br /&gt;
&lt;br /&gt;
MacPorts is a tool that allows you to use many Unix applications on the Mac. We have created a package in the MacPorts repository that allows you to to install Eiffel Studio with all dependencies in a convenient way. First, install [http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts MacPorts].&lt;br /&gt;
&lt;br /&gt;
Now simply type (from a bash terminal):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port install eiffelstudioXX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where &#039;XX&#039; stands for the EiffelStudio version you want to install (for example eiffelstudio68) and after some time (compiling on a 2.4 GHz Intel Mac takes about an hour) you&#039;re ready to go. &lt;br /&gt;
&lt;br /&gt;
Older development packages are available under the name eiffelstudio65, etc. All packages can be installed simultaneously because they are located in different directories.&lt;br /&gt;
&lt;br /&gt;
When a new release of the same version EiffelStudio becomes available, you can upgrade like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port selfupdate&lt;br /&gt;
sudo port upgrade outdated&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: gtk2 version 2_24_5_0+x11 breaks EiffelStudio68 (that depends on it). A fix is to install gtk2 2_24_4_0+x11 (the previous minor version), or to deactivate the former and activate the latter if you already have both installed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port deactivate gtk2 @2_24_5_0+x11&lt;br /&gt;
sudo port activate gtk2 @2_24_4_0+x11&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using binary packages ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|This method does not work at the moment. Please install EiffelStudio using MacPorts.&amp;lt;br/&amp;gt;See [[Talk:EiffelOnMac|Discussion]] for more information.}}&lt;br /&gt;
&lt;br /&gt;
# Install the latest version of [http://xquartz.macosforge.org/trac/wiki/WikiStart XQuartz]: [http://xquartz.macosforge.org/downloads/X11-2.4.0.dmg download]&lt;br /&gt;
# Install the EiffelStudio 6.4 Mac package: [http://dfurrer.com/files/eiffelstudio64.dmg download]&lt;br /&gt;
&lt;br /&gt;
This installer was created using MacPorts as well as using the mpkg command. For more information take a look at the [http://guide.macports.org MacPorts Guide]&lt;br /&gt;
&lt;br /&gt;
== Starting EiffelStudio ==&lt;br /&gt;
&lt;br /&gt;
Simply navigate to /Applications/MacPorts/Eiffel&amp;lt;nn&amp;gt; and double click the EiffelStudio icon.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can also start EiffelStudio from the command line by entering the command &#039;estudio&#039; or use the command-line eiffel compiler &#039;ec&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
====I get a crash with a Permission denied: Operating system error, how do I fix it?====&lt;br /&gt;
&lt;br /&gt;
Delete the .ec directory in your home directory.&lt;br /&gt;
&lt;br /&gt;
====I get an error with precompiles, why is that ?====&lt;br /&gt;
&lt;br /&gt;
Precompiles did not work on the Mac before EiffelStudio 6.4 due to a limitation of the linker. To work around this issue you have to disable the precompiles with those versions or upgrade to a recent version of EiffelStudio.&lt;br /&gt;
&lt;br /&gt;
{{Note|When you create a project, EiffelStudio will ask if you want to perform precompiles – say no. Then disable the precompiles for this project through the Project&amp;gt;Project menu. In the &#039;Groups&amp;gt;Precompile&#039; section, remove all precompiles (eg., base_pre). Select the &#039;base_pre&#039; precompile and click the red cross delete tool at the top of the window.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Note|Precompiling the Eiffel libraries after installing the Port is possible, there are security policies to take into account. The Port installs EiffelStudio under the system&#039;s &#039;&#039;/Application/MacPorts&#039;&#039; directory and &#039;&#039;&#039;not&#039;&#039;&#039; the user &#039;&#039;~/Application/MacPorts&#039;&#039;. Due of this, EiffelStudio must be run as a super user and the precompiles build using the &#039;&#039;&#039;Tools&#039;&#039;&#039; &amp;gt; &#039;&#039;&#039;Precompile Wizard&#039;&#039;&#039; option. Alternatively, alter the base installation path when requesting to install the Port.}}&lt;br /&gt;
&lt;br /&gt;
=== How can I make EiffelStudio on the Mac look nicer? ===&lt;br /&gt;
* From macports, install the gtk2 (if not already installed) and gtk-chtheme packets. Then run gtk-chtheme and you get a nice GUI to choose your theme. Additional GTK themes can be put in  /opt/local/share/themes/ (There a thousands of them on the web, for example here : [http://art.gnome.org/themes/gtk2 http://art.gnome.org/themes/gtk2])&lt;br /&gt;
&lt;br /&gt;
=== Typing ec or estudio on the command line doesn&#039;t work ===&lt;br /&gt;
To run the &#039;&#039;&#039;ec&#039;&#039;&#039; compiler from your shell, set up variables similar to these (e.g. in ~/.profile):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Setting variables for EiffelStudio.&lt;br /&gt;
export ISE_EIFFEL=/Applications/MacPorts/Eiffel66&lt;br /&gt;
export ISE_PLATFORM=macosx-ppc (or macosx-x86)&lt;br /&gt;
export ISE_PROJECTS=$HOME&lt;br /&gt;
export ES_PATH=$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin&lt;br /&gt;
export PATH=$ES_PATH:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Hints==&lt;br /&gt;
* Pick and Drop works with Apple-key + mouse click.&lt;br /&gt;
* To set up the correct (default) browsers use &amp;quot;open&amp;quot; as your command-line browser in Tools&amp;gt;Preferences...&lt;br /&gt;
* The F10 and F11 debugging shortcuts conflict with the standard Exposé keys. Here are some workarounds:&lt;br /&gt;
** Use the toolbar instead.&lt;br /&gt;
** Reassign these shortcuts in EiffelStudio (Tools&amp;gt;Preferences).&lt;br /&gt;
** Reassign the Exposé keys in System Preferences.&lt;br /&gt;
* The version of &#039;&#039;&#039;X11 installed with Mac OS X Leopard 10.5.0 and 10.5.1 does not work&#039;&#039;&#039;. The 10.5.2 and later updates are probably ok, however, but if you&#039;re having problems have a look at http://trac.macosforge.org/projects/xquartz. For more details, see http://www.eiffelroom.com/blog/paulbates/a_little_help_for_mac_users which pre-dates the release of 10.5.2.&lt;/div&gt;</summary>
		<author><name>Ubi</name></author>
	</entry>
</feed>