Jim White mailto:email@example.com
The current version of this page and related files are located here: http://www.pagesmiths.com/eclipse/
Here is what I use to run Eclipse 2.0 on Mac OS X with X11/Motif:
sudo apt-get install libiconv
The pre-built binaries all prefer the default locations for those dynamic
You can use alternative locations by setting
appropriately, or by rebuilding the binaries.
Having installed the shared libraries and unpacked the Eclipse binary, in the
eclipse" directory, unpack the Mac OS X/Motif additions:
tar zxf macosx-motif.tar.gz
That will place the
binaries in that directory. Also included are archives with source for the launcher
and SWT native library build scripts (no other source changes are needed).
Launch XDarwin, and from one of the xterm windows (which will have the
environment variable set for you), change to your "
directory and launch Eclipse with:
A screen shot (using the OrobusOSX preview, a nice face for XDarwin: http://wrench.et.ic.ac.uk/adrian/software/oroborosx/) is here: http://www.pagesmiths.com/eclipse/screen.png
With XFree86 4.2.0 and OpenMotif 2.2, there are repainting problems for trees and tabbed panes. There are bound to be other problems as well. If there is interest and I get time, I will try Lesstiff and possibly development tree versions of the libraries to track down the culpit.
A shell script is included for your convenience (
If you do not do that, you will get nasty sounding errors whenever you try
to use Motif:
Error: attempt to add non-widget child "dsm"
to parent "Eclipse" which supports only widgets
Error: Shell widget eclipse has zero width and/or height
Even though the Eclipse launcher could work without this environment variable workaround, it is necessary in order to use X11/Motif with Java. Also it is appropriate since it is already, or will be, unnecessary in corrected versions.
There is a malloc error message that appears on exit from Eclipse:
*** malloc: error for object 0x2529130: Object
already freed being freed
I haven't found where that is coming from, but it seems benign.
Building also requires the Darwin extras for OpenMotif. That is the "Download
Open Motif 2.2 Development Packages Now" link on the download page (following
the download form where you selected "Mac OSX"). You will need to
MOTIF_HOME to match where you put those files in the SWT library
maclaunchersrc.tar.gz file contains the
make_macosx.mak files for the
directory for building the
macosx-motif-swtsrc.tar.gz file contains the
make_macosc.mak files that go in the
directory. Properly speaking there should be a
directory, but I'm leaving that until the other Mac OS X CVS work gets done.
To build the binaries, follow the directions on the Eclipse web site: http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/SWT-Howto.html
Note that in step #7, the directory will be
And in step #9, the library will be
Please do let know what success or questions/issues you encounter.
JPW June 10, 2002 0:27 AM