When I installed gretl 1.9.9 into OS X 10.8 as described below the gretl application icon appears grayed out under and will not execute, giving the error message "…it is not supported on this type of Mac." There was no previous installation of gretl on this drive/OS.

However, the icon appears normal and gretl will execute normally when double-clicked directly from the disk image. Is this a conflict related to OS X 10.8? As shown below there are some instances of files within the gretl.app package not writing to my /Applications directory (of which I am admin and owner).

I followed these steps:

1. Installed XQuartz 2.7.2 (X11)
2. Dragged GTK+.framework folder from disk image into /Library/Frameworks
3. Dragged gretl.app from gretl-1.9.9-intel.dmg into /Applications
4. Following Trouble-shooting instructions in gretl ReadMe, opened an xterm window and cd  /Applications/Gretl.app/Contents/Resources/bin/, then ./gretl.
5. Noted the error output:

dyld: Library not loaded: @executable_path/../lib/libgmp.3.dylib
 Referenced from: /Applications/Gretl.app/Contents/Resources/bin/gretl_x11
 Reason: no suitable image found.  Did find:
       /Applications/Gretl.app/Contents/Resources/bin/../lib/libgmp.3.dylib: file too short
       /Applications/Gretl.app/Contents/Resources/bin/../lib/libgmp.3.dylib: file too short
Trace/BPT trap: 5

I see that a similar error message has appeared under OS X previously (http://lists.wfu.edu/pipermail/gretl-users/2009-April/003220.html). When I checked the  contents of the gretl.app packages, though, I noticed that the contents of the /Applications version differed from the disk image. For example, some of the dynamic libraries, such as those referenced in the error message above, appear as zero bytes file size on the hard drive. Please see output below.

Hard drive
----------------
Gvoz$ cd /Applications/Gretl.app/Contents/Resources/lib 
 Gvoz$ ls -l
total 6848
drwxr-xr-x@  3 Gvoz  admin      102 Jun  1 23:04 X11
drwxr-xr-x@ 42 Gvoz  admin     1428 Jun  1 23:04 gretl-gtk2
-rwxr-xr-x@  1 Gvoz  admin  1109460 Jun  1 23:04 libfftw3.3.dylib
-rwxr-xr-x@  1 Gvoz  admin        0 Jun  1 23:04 libgmp.3.dylib
-rwxr-xr-x@  1 Gvoz  admin  1958552 Jun  1 23:04 libgretl-1.0.4.dylib
lrwxrwxrwx   1 Gvoz  admin       20 Jun  1 23:04 libgretl-1.0.dylib -> libgretl-1.0.4.dylib
lrwxrwxrwx   1 Gvoz  admin       18 Jun  1 23:04 libgretl.dylib -> libgretl-1.0.dylib
-rwxr-xr-x@  1 Gvoz  admin   419140 Jun  1 23:04 libgtksourceview-2.0.0.dylib
lrwxrwxrwx   1 Gvoz  admin       28 Jun  1 23:04 libgtksourceview-2.0.dylib -> libgtksourceview-2.0.0.dylib
-rwxr-xr-x@  1 Gvoz  admin        0 Jun  1 23:04 libmpfr.1.dylib
-rwxr-xr-x@  1 Gvoz  admin        0 Jun  1 23:04 libreadline.5.2.dylib

Disk image
----------------
Gvoz$ cd /Volumes/gretl/Gretl.app/Contents/Resources/lib 
Gvoz$ ls -l
total 9584
drwxr-xr-x@  3 Gvoz  staff      102 Jun  1 23:04 X11
drwxr-xr-x@ 42 Gvoz  staff     1428 Jun  1 23:04 gretl-gtk2
-rwxr-xr-x@  1 Gvoz  staff  1109460 Jun  1 23:04 libfftw3.3.dylib
-rwxr-xr-x@  1 Gvoz  staff   221840 Jun  1 23:04 libgmp.3.dylib
-rwxr-xr-x@  1 Gvoz  staff  1958552 Jun  1 23:04 libgretl-1.0.4.dylib
lrwxrwxrwx   1 Gvoz  staff       20 Jun  1 23:04 libgretl-1.0.dylib -> libgretl-1.0.4.dylib
lrwxrwxrwx   1 Gvoz  staff       18 Jun  1 23:04 libgretl.dylib -> libgretl-1.0.dylib
-rwxr-xr-x@  1 Gvoz  staff   419140 Jun  1 23:04 libgtksourceview-2.0.0.dylib
lrwxrwxrwx@  1 Gvoz  staff       28 Jun  1 23:04 libgtksourceview-2.0.dylib -> libgtksourceview-2.0.0.dylib
-rwxr-xr-x@  1 Gvoz  staff   205448 Jun  1 23:04 libmpfr.1.dylib
-rwxr-xr-x@  1 Gvoz  staff   963636 Jun  1 23:04 libreadline.5.2.dylib



Thanks and regards,

Rob Gvozden