Allin:

I edited the profile as you told me, but it did not work. This is the message I received when I run Gretl from an X11 terminal window:

Macintosh:~ fdiaz$ cd Gretl.app/Contents/Resources/bin
Macintosh:bin fdiaz$ ./gretl
dyld: Library not loaded: /usr/X11R6/lib/libXrandr.2.dylib
  Referenced from: /Users/fdiaz/Gretl.app/Contents/Resources/bin/gretl_x11
  Reason: image not found
Trace/BPT trap
Macintosh:bin fdiaz$

Fernando Díaz H, Ph.D.
Profesor de Economía y Finanzas
Facultad de Ciencias Económicas y Empresariales
Universidad de los Andes
(56 2) 412-9650
ferdiaz@uandes.cl
fdiaz@stima.cl
Avda. San Carlos de Apoquindo 2200, Las Condes,
Santiago
Chile


On Wed, Sep 24, 2008 at 10:21 AM, Allin Cottrell <cottrell@wfu.edu> wrote:
On Wed, 24 Sep 2008, FERNANDO DIAZ wrote:

> I have a problem with Gretl for Mac. I installed Gretl from the
> file gretl-1.7.8.dmg last week. When I tried the first time, it
> worked perfectly. However, when I tried to run it today, I
> received the following message:
>
> The application gretl_x11 quit unexpectedly.

That's a euphemism for "crashed".  I'm not sure why that should
be, but here are some thoughts.

* It's possible that after your first run of gretl, some "bad
information" got written to your gretl config file.  You could try
(in a terminal window):

rm ~/.gretl2rc

then try starting gretl again.

* You may be able to get some more information about what's
happening if you run gretl from an X11 xterminal window.  That is,
open an xterm, change directory to the folder containing gretl.
for example:

cd Gretl.app/Contents/Resources/bin

then

./gretl

An error message may be printed to the terminal.

* There's a new OS X snapshot of gretl at

http://ricardo.ecn.wfu.edu/pub/gretl/gretl.dmg

You might try that, though I'm not aware of having fixed any bugs
that would cause gretl to crash on OS X.  (I tested the new
snapshot to check the behavior with filenames containing accented
characters, and saw no problems in the tests I ran.)

Allin Cottrell